From Context to Memory: Your Agents Need a Real Memory Layer — Anders Swanson, Oracle
Source
youtube.com
Author
AI Engineer
Date
Context
Useful Agent memoryInformation an agent can persist and retrieve beyond the immediate context.Full definition → needs a way to update what was saved. This talk treats memory as a continuing process of forming records, retrieving relevant ones and revising them through feedback. Its proposed storage includes timestamps and audit history, while retrieval combines several search methods.
The reason to manage that lifecycle is that remembered information can become stale, conflict with other records or belong to the wrong Context and context windowContext is the information available for a generation; the context window is the capacity available to hold it.Full definition →. Saving more information alone leaves those problems unresolved. The architecture therefore makes maintenance and evaluation part of memory, alongside storage and recall.
Key takeaways · AI-distilled
Swanson argues context windows are not memory and bigger windows don't fix that; markdown scratch pads and grep don't scale, and teams that keep pushing them end up building their own database.
He splits agent memory into four types (episodic, semantic, procedural and working state) stored in a SchemaA written description of a data format: which fields exist, what kind of value each holds and which are required.Full definition → with vectors, text indexes, graph links, time and audit history.
Memory formation should apply redaction before anything is written, and recall should use hybrid searchCombining keyword and semantic search in one ranked result, so exact terms and paraphrases both find what they should.Full definition → that blends several retrieval methods.
He names stale, mis-scoped, poisoned and conflicting memories as the main failure modes, and says feedback is what closes the loop so memories can evolve.
Terms in this piece · Glossary
Agent memory — Information an agent can persist and retrieve beyond the immediate context.
Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
Schema — A written description of a data format: which fields exist, what kind of value each holds and which are required.
hybrid search — Combining keyword and semantic search in one ranked result, so exact terms and paraphrases both find what they should.