Skip to main content
Configures a memory manager that stores and retrieves memories across agent conversations.

agno/memory/manager

Config

Outputs

Dependencies

Depends on:
  • agno/db/postgres (required) — database for memory storage
  • agno/models/anthropic or agno/models/openai (optional) — model for memory classification
Depended on by:
  • agno/agent — in the memory field
  • agno/team — in the memory field

Example

Notes

  • The memory manager stores memories in the PostgreSQL database configured via db.
  • When a model is provided, it is used to classify and process memories. Without a model, memories are stored as-is.
  • To use memory with an agent, you also need to enable enable_agentic_memory: true on the agent config.