Skip to main content
Runs a few short conversations through the ops assistant so that every Learning page in AgentOS has data: user profiles, user memories, session context, entity memories, and decision logs. It also seeds a learned knowledge insight that one user teaches and another benefits from.
seed.py
The example imports this helper module from the same directory:
agents.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 blocks above as seed.py and agents.py in the same directory, then run:
Full source: cookbook/08_learning/10_demo/seed.py