Configuration for an Agent.
agentIdstring
Optional. Unique identifier of the agent. This id is used to refer to this agent, e.g., in AgentEvent.author, or in the subAgents field. It must be unique within the agents map.
agentTypestring
Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent", "ToolUseAgent"). Useful for the autorater to understand the expected behavior of the agent.
descriptionstring
Optional. A high-level description of the agent's role and responsibilities. Critical for evaluating if the agent is routing tasks correctly.
subAgents[]string
Optional. The list of valid agent IDs (names) that this agent can delegate to. This defines the directed edges in the agent system graph topology.
Optional. Contains instructions from the developer for the agent. Can be static or a dynamic prompt template used with the AgentEvent.state_delta field.
tools_dataUnion type
tools_data can be only one of the following:toolsTextstring
A JSON string containing a list of tools available to an agent with info such as name, description, parameters and required parameters.
List of tools.
| JSON representation |
|---|
{ "agentId": string, "agentType": string, "description": string, "subAgents": [ string ], "developerInstruction": { object ( |