Skip to main content
rest_api.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your API keys

4

Clone Agno

Clone the pinned Agno source and run the remaining commands from its root:
5

Start PostgreSQL and AgentOS

Open another terminal in the parent directory where .venv and the cloned agno directory are siblings. Start PostgreSQL, then keep AgentOS running on port 7777:
6

Run the REST client

Run the example from the repository root:
Full source: cookbook/05_agent_os/12_scheduler/02_rest_api.py