MemoryTax: The Bitter Lesson of Agent Memory
Zedong Peng
Key points
From the paper's conclusion- We ask whether designed memory still helps once the model is strong enough to search for itself.
Abstract
Agent memory systems such as Mem0 and Zep decide what to keep before any question arrives; coding agents keep the raw history and let the model search it with its own tools. We ask whether designed memory still helps once the model is strong enough to search for itself. On one LoCoMo conversation (419 turns, 152 questions), we run four memory methods (full context, BM25, Mem0, Zep) and three coding agents (Pi, Codex, Claude Code), each with GPT-4o-mini, GPT-6 Luna and Claude Opus 5.5, and record what every rollout costs. This is a short empirical study, with one conversation and one run per cell. Agent memory is a costly patch for a weak model: Mem0 beats full context only with GPT-4o-mini, and its build alone costs more than a whole full-context rollout. Agent memory also has a ceiling, set by the model that writes it: a stronger reader does not recover what a weaker writer left out. With Claude Opus 5.5, Pi tops the cost-accuracy frontier, scoring 99% for less than half the cost of full context; its one miss is a wrong answer key. Part of that lead comes from photo captions that only the agents could read: on the 88 questions whose evidence has no photo, Pi and full context differ by one answer.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Discovering Effective Agent Memory Designs through Program EvolutionarXiv · 2026
- Persistent Context Graphs for Efficient Memory Compaction in LLM AgentsarXiv · 2026
- What Is This Memory Useful For? Measuring Task-Conditioned Utility in Long-Term Agent MemoryarXiv · 2026
- Forget Freely, Grep Later: Lossless, Index-Free Memory for Long-Horizon LLM AgentsarXiv · 2026
- Persistent Memory in Multi-Agent LLM Inference: What It Costs, What It Buys, and When You Can TellarXiv · 2026
- MemCode: Discrete Semantic Representations for Long-Term Agent MemoryarXiv · 2026