Overview
Memory Management enables agents to maintain persistent context and learn from previous interactions across conversations. By integrating with Memory Stores, agents can store, retrieve, and manage information that persists beyond individual sessions.Key Features
- Persistent Memory: Store information that persists across conversations and sessions
- Entity-Based Isolation: Use entity IDs to separate memories by user, organization, or session
- Dynamic Memory Discovery: Discover available memory stores using retrieve_memory_stores
- Memory Operations: Query, write, and delete memory documents programmatically
- Contextual Recall: Automatically retrieve relevant memories based on conversation context
Examples
Agents must use the 
retrieve_memory_stores tool first to discover available memory stores before they can query or write to them. Include instructions in your system prompt like: Use retrieve_memory_stores to see what memory stores are available, then use query_memory_store to search for relevant information before responding.To learn more about Memory Stores and their usage, see Memory Stores.