Skip to main content
This server is the first-party A2A peer used by RemoteAgent. AgentOS retains its normal health and config routes while exposing the Agent under /a2a.
a2a_server.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your OpenAI API key

4

Run the example

Save the code above as a2a_server.py, then run:
Full source: cookbook/05_agent_os/20_remote/servers/a2a_server.py