Context, Memory, and Retrieval
Agentic Memory
A plain LLM forgets everything between calls. Memory is the system you build around the model so it remembers, and the gap between an agent that has memory and one that does not is often larger than the gap between models.
5 chapters40 slides31 minUpdated
Your route through the subject
0/40 slides completed · 0/5 chapters · 0 slides read
Start with: Why Memory Matters, and the Write-Manage-Read Loop
The chapter map
Follow the route or choose a chapter.- 010/6 completeWhy Memory Matters, and the Write-Manage-Read Loop~4 minRead
- 020/8 completeThe Four Types of Memory~5 minReadField check
- 030/8 completeHow Memory Is Built and Retrieved~9 minReadPlate
- 040/10 completeHow Memory Fails~6 minRead
- 050/8 completeGoverning Evolving Memory (the SSGM Framework)~6 minRead
Chapters
Chapter 1: Why Memory Matters, and the Write-Manage-Read Loop
A stateless model forgets everything between calls. Memory is the external system that gives an agent persistence, and managing it is the hardest phase.
4 min6 slides: Why Memory Matters, and the Write-Manage-Read Loop0/6 complete
Chapter 2: The Four Types of Memory
Agent memory splits into four types: working for the task at hand, episodic for past events, semantic for facts, and procedural for learned skills.
5 min8 slides: The Four Types of Memory0/8 complete
Chapter 3: How Memory Is Built and Retrieved
Agent memory is written by extracting structured summaries rather than raw logs, kept coherent through consolidation, and retrieved by more than similarity.
9 min8 slides: How Memory Is Built and Retrieved0/8 complete
Chapter 4: How Memory Fails
Memory failures compound instead of fading away. Drift, retrieval mismatches, stale or hallucinated facts, self-reinforcing errors, and poisoning follow.
6 min10 slides: How Memory Fails0/10 complete
Chapter 5: Governing Evolving Memory (the SSGM Framework)
The SSGM framework governs memory that can rewrite itself: validate facts before writing, filter by freshness before reading, reconcile against a raw record.
6 min8 slides: Governing Evolving Memory (the SSGM Framework)0/8 complete