Developer Guide¶
Learn how to integrate memory into your AI applications. This guide covers integration patterns, memory types, extraction strategies, and memory lifecycle management.
Core Concepts¶
-
🔄 Memory Integration Patterns
Three patterns for using memory: LLM-driven, code-driven, and background extraction
-
📝 Working Memory
Session-scoped storage for active conversation state
-
🧠 Long-term Memory
Persistent, cross-session storage for knowledge that should be retained
-
🎯 Memory Extraction Strategies
Configure how memories are extracted: discrete, summary, preferences, or custom
Additional Topics¶
| Topic | Description |
|---|---|
| Summary Views | Pre-computed memory summaries for efficient context |
| Memory Lifecycle | How memories are created, updated, and managed over time |
| LangChain Integration | Use memory with LangChain agents and chains |
| Custom Memory Vector Databases | Configure Redis or custom memory vector databases |
Where to Start¶
Building a chatbot? Start with Memory Integration Patterns to understand your options.
Need to understand the data model? Read Working Memory and Long-term Memory.
Configuring extraction behavior? See Memory Extraction Strategies.
Looking for server configuration? See the Operations Guide for authentication, LLM providers, and deployment.