Skip to main content
The URLs in this v2.7.4 source docstring omit the default /a2a prefix. Use /a2a/agents/{id}/v1/message:send, /a2a/agents/{id}/v1/message:stream, and /a2a/agents/{id}/.well-known/agent-card.json.
weather_agent.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your API keys

4

Run the example

Save the code above as weather_agent.py, then run:
Full source: cookbook/05_agent_os/interfaces/a2a/multi_agent_a2a/weather_agent.py