Skip to main content
Run a local AgentOS with one agent and persistent session history. Save the following code as agno_assist.py:
agno_assist.py
This creates a FastAPI application with one agent and SQLite-backed session storage.
Requires uv.

Start the Server

1

Create a virtual environment

2

Install dependencies

3

Set your Anthropic API key

4

Start AgentOS

AgentOS is now running at http://localhost:7777.

Run the Agent

AgentOS creates a session, runs the agent, and stores the session in agno.db.

Next Steps