📖Lessons
Introduction to AI Memory
Understand why memory matters for AI applications and the different types of memory systems
Memory Architectures & Patterns
Build memory systems from scratch — buffer, summary, vector retrieval, and graph-based approaches
Mem0: The Memory Layer for AI
Deep dive into Mem0 — the most popular open-source memory framework with 48K+ GitHub stars
Letta, Zep & Other Memory Frameworks
Compare Letta (MemGPT), Zep, Cognee, and LangMem for building stateful AI agents
Production Memory Systems
Build production-ready memory with conflict resolution, privacy controls, and scaling strategies
Conversation Memory Patterns
Implement buffer, summary, and sliding window memory for multi-turn conversations
Entity Memory & Knowledge Extraction
Extract, store, and retrieve structured entities from conversations for persistent user understanding
Workshop: Build a Memory System
Hands-on workshop building a complete memory system with conversation history, entity extraction, and personalization
🎯Missions
M-053Build a Conversation Memory Store
Nebula Corp's chatbot has amnesia — it forgets everything after each message. Build a simple conversation memory that stores messages, retrieves recent history, and can summarize the conversation. The memory should support adding messages, getting the last N messages, and searching for messages containing a keyword.
M-056Build a Memory Conflict Resolver
Nebula Corp's AI assistant has a memory problem: when a user says 'I use React' in January and 'I switched to Vue' in March, both facts are stored and the assistant gets confused. Build a conflict resolver that detects when new memories contradict existing ones, archives the old memory, and keeps only the current fact active. The resolver should compare new facts against existing ones in the same category and handle the conflict appropriately.
M-054Build a Sliding Window Memory Buffer
Nebula Corp's chatbot forgets everything after each message. Users are frustrated because they have to repeat context constantly. Implement a sliding window memory buffer that stores the last N messages and includes them in every LLM call. The buffer should handle adding messages, retrieving context, and automatically trimming when it exceeds the maximum size.
M-055Wire Up Mem0 Memory for a Personal Assistant
Nebula Corp is building a personal assistant that should remember user preferences across sessions. The assistant skeleton exists but it's stateless — every conversation starts fresh. Wire up Mem0 to add, search, and use memories so the assistant can recall past interactions. The memory search should be called before each response, and new memories should be stored after each exchange.