← ClaudeAtlas

memory-systemslisted

Guides implementation of agent memory systems, compares production frameworks (Mem0, Zep/Graphiti, Letta, LangMem, Cognee), and designs persistence architectures for cross-session knowledge retention. Use when the user asks to "implement agent memory", "persist state across sessions", "build knowledge graph for agents", "track entities over time", "add long-term memory", "choose a memory framework", or mentions temporal knowledge graphs, vector stores, entity memory, adaptive memory, dynamic memory, or memory benchmarks (LoCoMo, LongMemEval). NOT for multi-agent coordination or agent handoffs (use multi-agent-patterns), NOT for tool design or tool interfaces (use tool-design), NOT for hosted agent infrastructure or sandboxed VMs (use hosted-agents).
viktorbezdek/skillstack · ★ 9 · AI & Automation · score 76
Install: claude install-skill viktorbezdek/skillstack
# Memory System Design Memory provides the persistence layer that allows agents to maintain continuity across sessions and reason over accumulated knowledge. Simple agents rely entirely on context for memory, losing all state when sessions end. Sophisticated agents implement layered memory architectures that balance immediate context needs with long-term knowledge retention. The evolution from vector stores to knowledge graphs to temporal knowledge graphs represents increasing investment in structured memory for improved retrieval and reasoning. ## When to Use - Building agents that must persist knowledge across sessions - Choosing between memory frameworks (Mem0, Zep/Graphiti, Letta, LangMem, Cognee) - Needing to maintain entity consistency across conversations - Implementing reasoning over accumulated knowledge - Designing memory architectures that scale in production - Evaluating memory systems against benchmarks (LoCoMo, LongMemEval, DMR) - Building dynamic memory with automatic entity/relationship extraction and self-improving (Cognee) ## When NOT to Use - Coordinating multiple agents or agent handoffs (use multi-agent-patterns) - Designing individual tools or tool interfaces (use tool-design) - Setting up hosted agent infrastructure or sandboxed VMs (use hosted-agents) - General database design or data modeling (not specific to agent memory) - Caching strategies for API responses (that's application-level caching, not agent memory) ## Decision Tree ``` What memor