back to home

agno-agi / agno

The programming language for agentic software. Build, run, and manage multi-agent systems at scale.

38,074 stars
5,038 forks
596 issues
PythonShellBatchfile

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing agno-agi/agno in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind-ai.vercel.app/repo/agno-agi/agno)
Preview:Analyzed by RepoMind

Repository Summary (README)

Preview
<div align="center" id="top"> <a href="https://agno.com"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://agno-public.s3.us-east-1.amazonaws.com/assets/logo-dark.svg"> <source media="(prefers-color-scheme: light)" srcset="https://agno-public.s3.us-east-1.amazonaws.com/assets/logo-light.svg"> <img src="https://agno-public.s3.us-east-1.amazonaws.com/assets/logo-light.svg" alt="Agno"> </picture> </a> </div> <p align="center"> The programming language for agentic software.<br/> Build, run, and manage multi-agent systems at scale. </p> <div align="center"> <a href="https://docs.agno.com">Docs</a> <span>&nbsp;•&nbsp;</span> <a href="https://github.com/agno-agi/agno/tree/main/cookbook">Cookbook</a> <span>&nbsp;•&nbsp;</span> <a href="https://docs.agno.com/first-agent">Quickstart</a> <span>&nbsp;•&nbsp;</span> <a href="https://www.agno.com/discord">Discord</a> </div>

What is Agno?

Software is shifting from deterministic request–response to reasoning systems that plan, call tools, remember context, and make decisions. Agno is the language for building that software correctly. It provides:

LayerResponsibility
SDKAgents, teams, workflows, memory, knowledge, tools, guardrails, approval flows
EngineModel calls, tool orchestration, structured outputs, runtime enforcement
AgentOSStreaming APIs, isolation, auth, approval enforcement, tracing, control plane

Quick Start

Build a stateful, tool-using agent and serve it as a production API in ~20 lines.

from agno.agent import Agent
from agno.db.sqlite import SqliteDb
from agno.models.anthropic import Claude
from agno.os import AgentOS
from agno.tools.mcp import MCPTools

agno_assist = Agent(
    name="Agno Assist",
    model=Claude(id="claude-sonnet-4-6"),
    db=SqliteDb(db_file="agno.db"),
    tools=[MCPTools(url="https://docs.agno.com/mcp")],
    add_history_to_context=True,
    num_history_runs=3,
    markdown=True,
)

agent_os = AgentOS(agents=[agno_assist], tracing=True)
app = agent_os.get_app()

Run it:

export ANTHROPIC_API_KEY="***"

uvx --python 3.12 \
  --with "agno[os]" \
  --with anthropic \
  --with mcp \
  fastapi dev agno_assist.py

In ~20 lines, you get:

  • A stateful agent with streaming responses
  • Per-user, per-session isolation
  • A production API at http://localhost:8000
  • Native tracing

Connect to the AgentOS UI to monitor, manage, and test your agents.

  1. Open os.agno.com and sign in.
  2. Click "Add new OS" in the top navigation.
  3. Select "Local" to connect to a local AgentOS.
  4. Enter your endpoint URL (default: http://localhost:8000).
  5. Name it "Local AgentOS".
  6. Click "Connect".

https://github.com/user-attachments/assets/75258047-2471-4920-8874-30d68c492683

Open Chat, select your agent, and ask:

What is Agno?

The agent retrieves context from the Agno MCP server and responds with grounded answers.

https://github.com/user-attachments/assets/24c28d28-1d17-492c-815d-810e992ea8d2

You can use this exact same architecture for running multi-agent systems in production.

Why Agno?

Agentic software introduces three fundamental shifts.

A new interaction model

Traditional software receives a request and returns a response. Agents stream reasoning, tool calls, and results in real time. They can pause mid-execution, wait for approval, and resume later.

Agno treats streaming and long-running execution as first-class behavior.

A new governance model

Traditional systems execute predefined decision logic written in advance. Agents choose actions dynamically. Some actions are low risk. Some require user approval. Some require administrative authority.

Agno lets you define who decides what as part of the agent definition, with:

  • Approval workflows
  • Human-in-the-loop
  • Audit logs
  • Enforcement at runtime

A new trust model

Traditional systems are designed to be predictable. Every execution path is defined in advance. Agents introduce probabilistic reasoning into the execution path.

Agno builds trust into the engine itself:

  • Guardrails run as part of execution
  • Evaluations integrate into the agent loop
  • Traces and audit logs are first-class

Built for Production

Agno runs in your infrastructure, not ours.

  • Stateless, horizontally scalable runtime.
  • 50+ APIs and background execution.
  • Per-user and per-session isolation.
  • Runtime approval enforcement.
  • Native tracing and full auditability.
  • Sessions, memory, knowledge, and traces stored in your database.

You own the system. You own the data. You define the rules.

What You Can Build

Agno powers real agentic systems built from the same primitives above.

  • Pal → A personal agent that learns your preferences.
  • Dash → A self-learning data agent grounded in six layers of context.
  • Scout → A self-learning context agent that manages enterprise context knowledge.
  • Gcode → A post-IDE coding agent that improves over time.
  • Investment Team → A multi-agent investment committee that debates and allocates capital.

Single agents. Coordinated teams. Structured workflows. All built on one architecture.

Get Started

  1. Read the docs
  2. Build your first agent
  3. Explore the cookbook

IDE Integration

Add Agno docs as a source in your coding tools:

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.

<p align="right"><a href="#top">↑ Back to top</a></p>