Skip to main content
Use a standalone agent to create and manage schedule records in PostgreSQL. This page covers record operations only.
This standalone example creates schedule records but does not run an AgentOS scheduler. Its scheduler-demo endpoint is absent from the linked AgentOS example, which serves scheduler-agent. Use Scheduler Tools Agent as a separate end-to-end setup instead of mixing the two examples.
scheduler_tools.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your OpenAI API key

4

Run PgVector

5

Run the example

Save the code above as scheduler_tools.py, then run:
Full source: cookbook/91_tools/scheduler_tools.py