Skip to main content
This template includes AgentOS and PostgreSQL with pgvector. Run locally for development, or deploy to any cloud that supports Docker.

Prerequisites

Step-by-step Guide

1

Install tools

2

Create and activate a virtual environment

3

Install Agno

4

Create your codebase

Or clone directly: git clone https://github.com/agno-agi/agentos-docker-template.git
5

Export your API key

Agno works with any model provider. Just update the agents in your codebase.
6

Start your AgentOS

7

Verify it works

Open http://localhost:8000/docs to see your AgentOS API:
AgentOS FastAPI endpoints
8

Connect your AgentOS to the control plane

  1. Open os.agno.com
  2. Click “Connect OS” and select “Local”
  3. Enter http://localhost:8000
AgentOS connection dialog
Your AgentOS is deployed in a docker container and is accessible at http://localhost:8000.

Tips

You can also deploy this template to any cloud that supports Docker.
Changes to agents, teams, and workflows are reflected automatically.
Restart containers when updating environment variables.

Troubleshooting

Modify compose.yml: yaml ports: - "8080:8000" # Change 8000 to 8080
Ensure PostgreSQL is running: bash docker compose ps If the database isn’t ready, wait a few seconds and try again.