Skip to main content
The agents below are never saved to the database — they live in memory via the Registry, which AgentOS auto-populates on startup.
registry_agents_in_workflow.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 registry_agents_in_workflow.py, then run:
Full source: cookbook/93_components/workflows/registry_agents_in_workflow.py