0

Agno Examples

The numbered cookbooks teach primitives. This folder showcases small, complete agents.

Example · مثال

Content

Agno Examples

The numbered cookbooks teach primitives. This folder showcases small, complete agents.

The examples

  • [second_brain](./second_brain) - memory you own, behind your own MCP server
  • [metrics_desk](./metrics_desk) - your production database, answerable from any MCP client
  • [team_brain](./team_brain) - one decision log the whole team writes into

Running an example

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.

Source and license

Source
Agno
Original
agno-agi/agno/cookbook/examples
License
Apache-2.0