Configuration for an Agent.
agentId
string
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.
agentType
string
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.
description
string
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.
developerInstruction
object ( InstanceData
)
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_data
Union type
tools_data
can be only one of the following:toolsText
string
A JSON string containing a list of tools available to an agent with info such as name, description, parameters and required parameters.
tools
object ( Tools
)
List of tools.
| JSON representation |
|---|
{ "agentId" : string , "agentType" : string , "description" : string , "subAgents" : [ string ] , "developerInstruction" : { object ( |

