Skip to main content
The User Memory Store captures unstructured observations about users: preferences, behaviors, and context that don’t fit into structured profile fields.

Basic Usage

The agent knows to include code examples and may relate to ML context.

Always Mode

Memories are extracted automatically after each response.
Tradeoff: extra LLM call per interaction.

Agentic Mode

The agent receives tools to manage memories explicitly.
Available tool: update_user_memory (supports add, update, delete, and clear operations) Tradeoff: agent may miss implicit observations.

What Gets Captured

Memory Data Model

Accessing Memories

Context Injection

Relevant memories are injected into the system prompt:

Curation

Over time, memories accumulate. Use the Curator to maintain them:

Combining with User Profile

Use both stores for comprehensive user understanding: