Agno is a Python framework for building, running, and managing agentic software — from a single agent to multi-agent teams. It is lightweight, model-agnostic, and built around four core concepts.
| Concept | What It Is |
|---|---|
| Agent | The core unit. An Agent has a model, a set of tools, optional memory, and instructions. You instantiate it in Python and call agent.print_response() to run it. |
| Tool | A Python function the agent can call. The @tool decorator turns any function into something the agent can use — web search, database query, API call. |
| Memory | Agents can store and retrieve information across sessions. SQLite for local development, PostgreSQL for production. |
| AgentOS | The runtime that manages agents, tools, and sessions. Makes agents composable — you can build multi-agent pipelines where agents call each other. |
This is the complete code for a working agent with web search capability. Every line is annotated.
# Install first: pip install agno anthropic
from agno.agent import Agent
from agno.models.anthropic import Claude
from agno.tools.duckduckgo import DuckDuckGoTools
agent = Agent(
model=Claude(id='claude-sonnet-4-6'),
tools=[DuckDuckGoTools()],
instructions=['Search the web and answer accurately'],
show_tool_calls=True,
)
agent.print_response('What is Agno?', stream=True)Share your reflection, ask a question, or leave a comment. Your mentor will respond.
You need to be logged in to submit your reflection.
Lesson 1.1 and beyond are available to enrolled members. Join the program for free to access all 21+ lessons, mentor sessions, and your completion certificate.
🎓 Join the Program — It's FreeAlready a member? Log in