update_memory_on_run=True to run MemoryManager on every team run. The manager can create or update user memories based on the latest input. Pass a custom MemoryManager with delete_memories=True to let it delete memories too.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Store and recall user-specific memories across team runs.
update_memory_on_run=True to run MemoryManager on every team run. The manager can create or update user memories based on the latest input. Pass a custom MemoryManager with delete_memories=True to let it delete memories too.
from agno.agent import Agent
from agno.db.sqlite import SqliteDb
from agno.models.openai import OpenAIResponses
from agno.team import Team
db = SqliteDb(db_file="agno.db")
user_id = "john_doe@example.com"
member = Agent(model=OpenAIResponses(id="gpt-5.2"))
team_with_memory = Team(
name="Team with Memory",
model=OpenAIResponses(id="gpt-5.2"),
members=[member],
db=db,
update_memory_on_run=True,
)
team_with_memory.print_response("Hi! My name is John Doe.", user_id=user_id)
team_with_memory.print_response("What is my name?", user_id=user_id)
Was this page helpful?