Deploy agents as A2A servers for agent-to-agent communication.
CLI
Python
serve() creates a FastAPI app and starts uvicorn for you. For custom FastAPI apps, use a2a.get_router() instead.
Expected Output:
Verify:
Response:
agents.yaml
A2A server is Python-only. No agents.yaml support.
A2A Endpoints
A2A Parameters
Authentication
Clients must send Authorization: Bearer sk-my-secret-key. Discovery (/.well-known/agent.json) stays public per A2A spec.
Send A2A Message
Response:
Python Client
Troubleshooting