Request body
The request body defines the agent’s name, profile, model configuration, orchestration, instructions, tools, and tool resources.
Field |
Type |
Description |
name
|
string |
(Required) Name of the agent. |
comment
|
string |
Optional comment about the agent. |
profile |
object |
Agent profile information (display name, avatar, color, etc.). |
models |
object |
Model configuration for the agent. Includes the orchestration model (e.g., llama3.3-70B ). If not provided, a model is automatically selected. |
orchestration |
object |
Orchestration configuration, including budget constraints (e.g., seconds , tokens ). |
instructions |
object |
Instructions for the agent’s behavior, including response, orchestration, system, and sample questions. |
tools |
array |
List of tools available to the agent. Each tool includes a tool_spec with type, name, description, and input schema. |
tool_resources |
object |
Configuration for each tool referenced in the tools array. Keys must match the tool name . |
profile
The profile
field configures tool selection behavior.
Field |
Type |
Description |
display_name
|
string |
Display name for the agent. |
avatar
|
string |
Avatar image for the agent. |
color
|
string |
Color theme for the agent. |
models
The models
field configures models for the agent.
Field |
Type |
Description |
orchestration
|
string |
Model to use for orchestration. If not provided, a model is automatically selected. |
orchestration
The orchestration
field configures orchestration settings for the agent.
Field |
Type |
Description |
budget |
object |
Budget constraints for the agent. |
budget
The budget
object specifies resource limits for the agent.
Field |
Type |
Description |
seconds
|
integer |
Time budget in seconds. |
tokens
|
integer |
Token budget. |
instructions
The instructions
field defines instructions for the agent’s behavior, including response generation, orchestration, system instructions, and sample questions.
Field |
Type |
Description |
response
|
string |
Instructions for response generation. |
orchestration
|
string |
Instructions for orchestrating different tools. |
system
|
string |
System instructions for the agent. |
sample_questions |
array |
Sample questions and optional answers for the agent. |
sample_questions
Each element in the sample_questions
array is an object with the following fields:
Field |
Type |
Description |
question
|
string |
Sample question. |
answer
|
string |
Optional sample answer. |