Skip to main content
Demonstrates loading an agent from the database by ID and running it.
get_agent.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

Save the agent

Persist the agno-agent record before loading it:
7

Run the example

Run the example from the repository root:
Full source: cookbook/93_components/get_agent.py