Skip to main content
Requires the pgvector container: ./cookbook/scripts/run_pgvector.sh
agents.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 repository and run the remaining commands from its root:
6

Use the helper

This helper defines ops_assistant for the demo. Run python cookbook/08_learning/10_demo/seed.py, then python cookbook/08_learning/10_demo/run.py from the Agno repository root.
Full source: cookbook/08_learning/10_demo/agents.py