Skip to main content
The Agent Infra Docker template provides a simple Docker Compose file for running AgentOS. It contains:
  • An AgentOS instance, serving Agents, Teams, Workflows and utilities using FastAPI.
  • A PostgreSQL database for storing sessions, memories and knowledge.

Setup

1

Create and activate a virtual environment

2

Install Agno

3

Install uv and docker

  • Install uv for managing your python environment.
4

Export your OpenAI key

Agno is compatible with any model provider; simply update the agents in your project.

Create your Agent Infra Docker codebase

Create your codebase using the agent-infra-docker template, give it any name you like.
This will create a folder agent-infra-docker with the following structure:
After creating your codebase, the next step is to get it up and running locally using docker