
Memory Systems
If you're building agents that need to remember things across sessions, this walks you through the production landscape: Mem0 for multi-tenant speed, Zep/Graphiti for temporal knowledge graphs, Letta for self-editing memory, Cognee for evolving semantic graphs with custom pipelines. The framework comparison table is genuinely useful. The core design rule is sensible: start with the simplest layer that works, add graph structure only when retrieval degrades or you need multi-hop reasoning. Benchmark data from DMR, LoCoMo, and HotPotQA is included but treated correctly as dated evidence rather than gospel. It clarifies scope boundaries well, routing file-backed scratchpads to filesystem-context and compression tactics elsewhere.
- skills.sh installs
- 183
- GitHub stars
- 848
- last updated
- Jun 3, 2026
Install
$ npx -y skills add guanyang/antigravity-skills --skill memory-systems --agent claude-codeInstalls into .claude/skills of the current project.
Files
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 Activate
Activate this skill when:
- 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 memory (Cognee)
Sponsors
Details
- Repository
- github.com/guanyang/antigravity-skills
- First seen
- Jun 3, 2026