Memory systems are mostly garbage
My hot take is that agent memory systems are mostly garbage.
This started as a reply on X to the question "What's your favorite agent memory platform or strategy?"
What you actually need
All you need is:
- A way to capture preferences
- A way to capture workflows
- A way to see what was done in the past
All three map to things we already have:
- Preferences: an
agents.mdfor repositories, or, if you use bots, amemory.mdfor each bot. - Workflows: your agent can create skills to codify them.
- The past: your agent has session search tools, so it can grep through past session transcripts.
Why RAG memory is wasteful
RAG-based memory systems (yes, including graph-based ones) mean you duplicate data that already exists and maintain a separate store for it.
You also have to preprocess all of that data ahead of time (aka "dreaming"). You spend time and tokens getting memories into some usable state up front, before you know whether you'll ever need them. Most of it never gets accessed. It's hugely wasteful.
"Oh, but you can use semantic search to find memories!"
Agents have shown they do just fine grepping or keyword-searching text directly, without the massive up-front cost of chunking and embedding everything.
You really don't need anything more than the basics.
What I've tried
I've tried building pretty much every flavor of memory: RAG systems, full pipelines from various sources into a database for retrieval, "sleep" automations that extract memories from transcripts, and external systems like Obsidian.
I've also tried Letta, which is supposed to be the memory-focused harness. Hermes is pretty good, and a lot of my opinions come from it. It's quite pragmatic.
Nothing has really stuck other than a handful of skills, a memory.md for my bot and various agents.md files. Oh, and transcript/session search.
Common pushback
"What about shared knowledge for a team?" For shared information, just use Confluence, Notion, Obsidian or wherever your docs already live. If it's code related, use the code as the primary source. You can reach the same results with MCPs pointed at the primary sources.
"Without memory, the context fills up with noise." I don't really worry about what's in context anymore. I run long-running threads with cache warming, and modern compaction is good enough.
"Memory has lots of hard sub-problems: stale memories, relevance, priority." Most of the memory stuff people build is just what the agent did in the past, stuffed into a RAG system. Any kind of preprocessing is usually a waste of resources. "Memory" is also a highly overloaded word.
Where this goes
I keep wondering when people will just move to a thin API layer over S3 for all agent context. That has to be the final form, right? Dump everything into the bucket and let the agents grep it.
Portable agent memory, aka markdown as a service.