handoffs list.
Configuration
Options
Tool name for the remote agent. This is how the local agent refers to it in tool calls.
The A2A server endpoint URL.
Example agent
agent.yaml
Connecting to multiple remote agents
You can add multiple A2A toolsets to connect to several remote agents:agent.yaml
The remote agent must be running as an A2A server. See A2A Protocol for how to start an agent as an A2A server using
docker agent serve a2a.A2A vs. handoff
a2a toolset | handoffs list | |
|---|---|---|
| Agent location | Remote (separate process or machine) | Local (same config file) |
| Configuration | toolsets entry | handoffs list on the agent |
| Control flow | Returns result to caller | Transfers conversational ownership |
Related
Handoff
Transfer conversation control between local agents.
A2A protocol
Serve and consume A2A-compatible agents.
Transfer task
Delegate tasks to local sub-agents.
Multi-agent
Multi-agent architecture patterns.