Skip to main content
Expose a weather Agent on the dedicated topology port. The trip planner calls this Agent through the official A2A client at the entity-scoped URL.
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/15_a2a/multi_agent/weather_agent.py