Skip to main content

Enable Learning

The simplest way: set learning=True.
This enables user profile and user memory extraction in Always mode. The agent automatically captures information and recalls it in future sessions.

Test It

Session 2 is a new conversation, but the agent remembers Sarah.

Choose What Gets Learned

For more control, configure stores individually:
See Learning Stores for details on each store.

Choose How Learning Happens

Each store can use a different learning mode:
In Agno v2.7.4, Always-mode extraction starts before the model call. It sees the current input and any history included in that call. The generated response becomes available to extraction when it appears in a later run’s history.
See Learning Modes for details.

Production Database

For production, use PostgreSQL:

Next Steps

Learning Stores

Configure each store type

Learning Modes

Control how and when agents learn