Skip to main content
Serve an AgentOS scheduler agent, then use a separate demo process to create and verify a recurring schedule.
scheduler_tools_agent.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your OpenAI API key

4

Run PgVector

5

Clone Agno

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

Start the scheduler server

Open another terminal in the parent directory where .venv and the cloned agno directory are siblings, then start AgentOS on port 7777:
7

Run the demo

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