cookbook/examples/README.md
The numbered cookbooks teach primitives. This folder showcases small, complete agents.
Set up and activate the virtual environment:
./scripts/demo_setup.sh
source .venvs/demo/bin/activate
Export your API key.
export OPENAI_API_KEY=...
Then run an example from its own folder:
cd cookbook/examples/second_brain
# Drive the agent from the command line
python test.py
# Or serve it: AgentOS on http://localhost:7777, MCP on http://localhost:7777/mcp
python second_brain.py
Every folder is <example>.py, which builds the agent and serves it, and test.py, which runs that same agent from the command line.