1. Create the Agent
Save the following code asworkbench.py:
workbench.py
Workspace(".") scopes the agent to the current directory. read, list, and search run without approval. write, edit, delete, and shell require human approval.
2. Run Your AgentOS
1
Set up your virtual environment
2
Install dependencies
3
Export your OpenAI API key
Don’t have one? Get a key from platform.openai.com.
4
Run your AgentOS
http://localhost:8000API documentation is automatically available at:http://localhost:8000/docs- A stateful agent served as a production API.
- Tracing and session monitoring enabled out of the box.
- Per-session storage and isolation, with JWT-based RBAC available for multi-user isolation.
3. Chat with your Agent
The AgentOS UI connects your browser to your runtime. Use it to test, monitor, and manage your agents in real time.- Open os.agno.com and sign in.
- Click “Connect OS”
- Select “Local”, enter your endpoint URL (default:
http://localhost:8000), name it “Local AgentOS”, and click “Connect”.
write_file is a confirm-required tool by default.
Click Sessions or Traces in the sidebar to inspect stored conversations.
Next
Build an agent platform
The full template: clone, ship agents with Claude Code, deploy to Railway.
Start from a production template
Scout, Dash, Coda. Pick the closest to what you’re building.
Understand the runtime
Why AgentOS exists and the work it handles for you.
Use Agno with your coding agent
Wire up agno documentation with your favorite coding agent.