Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.agno.com/llms.txt

Use this file to discover all available pages before exploring further.

A research team that does not learn re-derives the same conclusions and repeats the same mistakes. The value compounds when an insight from one review is available to every agent on the next. Agno’s LearningMachine with a shared store and a global namespace makes the team’s learning institutional, not per-agent.
from agno.agent import Agent
from agno.learn import LearnedKnowledgeConfig, LearningMachine, LearningMode
from agno.models.openai import OpenAIResponses

# Shared learnings store, imported once, used by every agent and team
from agents.settings import team_learnings

analyst = Agent(
    name="Financial Analyst",
    model=OpenAIResponses(id="gpt-5.5"),
    learning=LearningMachine(
        knowledge=team_learnings,
        learned_knowledge=LearnedKnowledgeConfig(
            mode=LearningMode.AGENTIC,
            namespace="global",
        ),
    ),
)

# Another agent built on the same team_learnings store captures an insight:
risk_officer.print_response("Estimates lag this sector by about a quarter.")

# Later, a different agent reads it back from the shared store:
analyst.learning_machine.learned_knowledge_store.print(query="estimate lag")
Every analyst and every team writes to and reads from the same team_learnings store, so the capture above is already in the next agent’s context.

Per-agent vs institutional

Per-agent memoryInstitutional learning
ScopeOne agentEvery agent and team that shares the store
NamespaceThe user or agent"global"
EffectThis analyst remembersThe committee remembers
For deep research, institutional is the point. The team’s judgment should outlive any single review.

What to capture

Worth a learningNot worth a learning
”Analyst estimates lag this sector by a quarter”A one-off number from a single query
”This data source double-counts renewals”A restatement of the mandate
A correction to a conclusion that was wrongA summary of what was already in the library
Capture corrections and transferable insights. Leave durable facts to the research library and rules to the static context.

Modes

ModeBehaviorUse for
ALWAYSCapture runs after every responseSteady accumulation of observations
AGENTICThe agent decides what is worth keepingResearch, where signal-to-noise matters
PROPOSEA human approves before it persistsAnything that changes how the team decides
This is the same machine the data agent uses to self-correct, pointed at a shared store instead of a per-warehouse one.

Next steps

TaskGuide
Feed it grounded context tooGrounding research
Audit what changed the team’s mindStructured deliverable

Developer Resources