Skip to main content
Example showing how to use an AgentOS instance as a gateway to remote agents, teams and workflows.
05_agent_os_gateway.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your API keys

4

Run PgVector

5

Clone Agno

Clone the repository and run the remaining commands from its root:
6

Start the remote AgentOS

In a separate terminal, start the remote AgentOS server on port 7778:
7

Start the Agno A2A server

In a separate terminal, start the Agno A2A server on port 7779:
8

Start the Google ADK A2A server

In a separate terminal, start the Google ADK A2A server on port 7780. This server uses GOOGLE_API_KEY.
9

Run the example

Run the example from the repository root:
Full source: cookbook/05_agent_os/remote/05_agent_os_gateway.py