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:
ModeHow it works
AlwaysExtraction runs automatically after each response
AgenticAgent receives tools and decides what to save
ProposeAgent proposes learnings, you approve before saving
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