Skip to main content
Let’s build an agent that can answer questions about Agno, remembers previous conversations, and runs as a production API — all in about 20 lines. Save the following code as agno_assist.py:
agno_assist.py
That’s it. This gives you streaming responses, per-user session isolation, and a full API — no extra configuration.

Run your AgentOS

1

Set up your virtual environment

2

Install dependencies

3

Export your Anthropic API key

4

Run your AgentOS

This starts your AgentOS at http://localhost:8000. View the auto-generated API docs at http://localhost:8000/docs. You can add your own routes, middleware, or any FastAPI feature on top.

Connect to the AgentOS UI

The AgentOS UI connects directly to your runtime, letting you monitor, manage, and test your agents.
  1. Open os.agno.com and sign in.
  2. Click “Add new OS” in the top navigation.
  3. Select “Local” to connect to a local AgentOS.
  4. Enter your endpoint URL (default: http://localhost:8000).
  5. Name it something like “Development OS”.
  6. Click “Connect”.
Once connected, you’ll see your OS with a live status indicator.

Chat with your Agent

Go to Chat in the sidebar, select your Agent, and ask “What is Agno?” — the agent will pull from the Agno docs MCP server to answer.
Click Sessions in the sidebar to view your Agent’s conversations. Data is stored in your local database — no third-party tracing required.

Next