Skip to content

jose-caban/agno

 
 

Repository files navigation

Build agents that learn.

Docs  •  Cookbook  •  Community  •  Discord

What is Agno?

A Python SDK for building agents that learn and improve with every interaction.

Most agents are stateless. They reason, respond, forget. Session history helps, but they're exactly as capable on day 1000 as they were on day 1.

Agno agents are different. They remember users across sessions, accumulate knowledge across conversations, and learn from decisions. Insights from one user benefit everyone.

Everything runs in your cloud. Your data never leaves your environment.

Quick Example

from agno.agent import Agent
from agno.db.sqlite import SqliteDb
from agno.models.openai import OpenAIResponses

agent = Agent(
    model=OpenAIResponses(id="gpt-5.2"),
    db=SqliteDb(db_file="tmp/agents.db"),
    learning=True,
)

One line. Your agent now remembers users, accumulates knowledge, and improves over time.

Production Stack

Layer What it does
SDK Build agents with learning, tools, knowledge, and guardrails
Runtime Run in production using AgentOS
Control Plane Monitor and manage via the AgentOS UI

Features

Learning

  • User profiles that persist across sessions
  • User memories that accumulate over time
  • Learned knowledge that transfers across users
  • Always or agentic learning modes

Core

  • Model-agnostic: OpenAI, Anthropic, Google, local models
  • Type-safe I/O with input_schema and output_schema
  • Async-first, built for long-running tasks
  • Natively multimodal (text, images, audio, video, files)

Knowledge

  • Agentic RAG with 20+ vector stores, hybrid search, reranking
  • Persistent storage for session history and state

Orchestration

  • Human-in-the-loop (confirmations, approvals, overrides)
  • Guardrails for validation and security
  • First-class MCP and A2A support
  • 100+ built-in toolkits

Production

  • Ready-to-use FastAPI runtime
  • Integrated control plane UI
  • Evals for accuracy, performance, latency

Getting Started

  1. Follow the quickstart
  2. Browse the cookbook
  3. Read the docs

IDE Integration

Add our docs to your AI-enabled editor:

Cursor: Settings → Indexing & Docs → Add https://docs.agno.com/llms-full.txt

Also works with VSCode, Windsurf, and similar tools.

Contributing

See the contributing guide.

Telemetry

Agno logs which model providers are used to prioritize updates. Disable with AGNO_TELEMETRY=false.

↑ Back to top

About

Build agents that learn and improve.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Other 0.3%