System Requirements
- Python: 3.7 or higher (3.12 recommended)
- Operating System: Linux, macOS, or Windows
- RAM: 2GB minimum, 8GB recommended for local LLMs
Quick Install
The simplest way to install Agno:Install with Optional Dependencies
Agno uses optional dependencies to keep the base install lightweight. Install what you need:For Production APIs (AgentOS)
For Specific LLM Providers
For Databases
For Vector Databases
For Tools and Integrations
For Document Processing
Combined Installation
Install multiple optional dependencies at once:Install Everything
For development or testing with all integrations:Environment Setup
Set API Keys
Create a.env file in your project directory:
.env
.env files using python-dotenv.
Verify Installation
Create a simple test file to verify your installation:test_install.py
Database Setup
PostgreSQL with PgVector (Recommended for Production)
Agno provides a script to start PostgreSQL with PgVector using Docker:- Host: localhost
- Port: 5532
- Database: ai
- User: ai
- Password: ai
Manual PostgreSQL setup
Manual PostgreSQL setup
If you have an existing PostgreSQL installation:
-
Install the PgVector extension:
-
Create a database:
-
Configure your connection:
SQLite (Development Only)
For quick prototyping and development:Using Virtual Environments
Using venv
Using uv (Fast Alternative)
Using uvx (No Virtual Environment)
IDE Integration
Add Agno docs as a context source in your IDE:Cursor
Settings → Indexing & Docs → Add:VSCode / Windsurf
Same URL works in most AI-powered IDEs that support context indexing.Upgrade Agno
To upgrade to the latest version:Uninstall
Common Installation Issues
Dependency conflicts
Dependency conflicts
If you encounter dependency conflicts:
- Create a fresh virtual environment
- Install only what you need
- Avoid installing
agno[tests]oragno[demo]in production
psycopg installation fails
psycopg installation fails
If PostgreSQL adapter installation fails, make sure you have build tools:Ubuntu/Debian:macOS:Windows:
Install PostgreSQL from postgresql.org
Permission denied on Linux/macOS
Permission denied on Linux/macOS
Use Or use a virtual environment (recommended).
--user flag to install in user directory:ImportError after installation
ImportError after installation
Make sure you’re in the correct virtual environment:
Next Steps
Quickstart
Build your first agent in 5 minutes
Core Concepts
Learn the fundamental building blocks
Cookbook
Explore working examples and patterns
API Reference
Browse the complete API documentation
Telemetry
Agno logs which model providers are used to prioritize updates. No sensitive data is collected. To disable telemetry:.env file:
.env