Overview
The Agent Triage Protocol defines seven response types that comprehensively address common interaction patterns in human-AI collaboration scenarios. Each response type specifies the expected structure of user input and any associated constraints.1. Simple Action
Response Type ID:simple
Simple actions require no additional input from the user beyond selection. These actions represent binary decisions where the action itself fully encodes the user’s intent.
response_data
field must be null
for simple actions.
- Approving a suggested action
- Acknowledging receipt of information
- Triggering a predefined workflow
2. Binary Choice
Response Type ID:binary
Binary choice actions present a true/false or yes/no decision. The action definition must include labels for both options.
response_data
field must contain a boolean value.
- Yes/No questions
- Opt-in or opt-out decisions
- Toggle settings on/off
3. Single Choice
Response Type ID:choice
Single choice actions require selection of exactly one option from a predefined list.
response_data
field must contain the selected option’s value as a string.
- Selecting priority levels
- Choosing from predefined categories
- Routing decisions to different workflows
4. Multiple Choice
Response Type ID:multi_choice
Multiple choice actions permit selection of one or more options from a list.
response_data
field must contain an array of selected option values.
- Selecting multiple recipients
- Choosing features to enable
- Selecting items to process in batch
Multiple Choice Constraints
Theconstraints
object can include:
Field | Type | Default | Description |
---|---|---|---|
min_selections | integer | 0 | Minimum required selections |
max_selections | integer | unlimited | Maximum allowed selections |
5. Text Input
Response Type ID:text
Text input actions capture free-form textual responses.
response_data
field must contain the user-provided text as a string.
- Collecting feedback or comments
- Asking for clarification
- Gathering detailed explanations
Text Input Constraints
Theconstraints
object can include:
Field | Type | Default | Description |
---|---|---|---|
min_length | integer | 0 | Minimum character count |
max_length | integer | unlimited | Maximum character count |
placeholder | string | none | UI hint text |
6. Numeric Input
Response Type ID:number
Numeric input actions capture numerical values with optional constraints.
response_data
field must contain a numeric value.
- Setting thresholds or limits
- Specifying quantities
- Providing ratings or scores
- Setting configuration values
Numeric Input Constraints
Theconstraints
object can include:
Field | Type | Default | Description |
---|---|---|---|
min | number | unlimited | Minimum acceptable value |
max | number | unlimited | Maximum acceptable value |
step | number | any | Increment granularity |
unit | string | none | Unit of measurement for display |
placeholder | string | none | UI hint text |
7. Scale/Range
Response Type ID:scale
Scale actions capture values along a defined continuum, typically for ratings or confidence levels.
response_data
field must contain an integer within the defined range.
- Confidence ratings
- Satisfaction scales
- Numeric scales with semantic meaning
- Likert scale questions
Scale Constraints
Theconstraints
object must include:
Field | Type | Default | Description |
---|---|---|---|
min | integer | required | Scale minimum value |
max | integer | required | Scale maximum value |
step | integer | 1 | Increment size |
min_label | string | none | Label for minimum value |
max_label | string | none | Label for maximum value |
Client Rendering Considerations
Client applications should render appropriate UI components based on the response type:- Simple Actions: Buttons with no additional input fields
- Binary Choices: Toggle switches, radio buttons, or yes/no buttons
- Single Choices: Dropdown menus or radio button groups
- Multiple Choices: Checkbox groups with validation for min/max constraints
- Text Inputs: Text areas or input fields with character count validation
- Numeric Inputs: Number input fields with increment/decrement controls
- Scales: Slider controls or numeric rating components