{
  "id": 23734712,
  "title": "The bitter lesson for agent memory",
  "url": "https://urgent.news/2026/12/06/the-bitter-lesson-for-agent-memory",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-06T00:06:28.000Z",
  "source": {
    "name": "Hacker News",
    "slug": "hacker-news",
    "url": "https://hatchery.build/blog/the-bitter-lesson-for-agent-memory"
  },
  "original_language": null,
  "account": "In Christopher Nolan's film Memento, the protagonist Leonard Shelby struggles with short-term memory loss due to a head injury. To cope with this condition, he employs various memory aids such as photographs, notes, and tattoos. This scenario parallels the challenge of maintaining context for artificial intelligence agents. Modern models possess anterograde amnesia, unable to form long-term memories, and their world state is frozen at a pre-defined training cutoff. To bridge this gap, engineers design memory systems that encode, consolidate, and retrieve past information. However, determining the optimal complexity of such systems remains an open question.\n\nRichard Sutton, a renowned figure in the field, once declared in \"The Bitter Lesson\" that general methods like search and learning surpass systems built upon human domain knowledge. This principle has been validated in the context of agent memory. By enabling agents to execute SQL queries and search their own event logs, we have observed that these general methods outperform domain-specific memory solutions across various benchmarks and scale with the intelligence of the underlying model.\n\nMemory systems often suffer from information loss during compression. In contrast, agentic search over an event log defers this compression until query time, preserving valuable task-relevant data. To enhance the epistemic value of past events, we propose a hierarchical approach that utilizes derived views of an immutable event log. Anthropic has defined memory as the knowledge an agent acquires from experiences and retains between sessions. From an information-theoretic perspective, memory encompasses past information that reduces uncertainty about the future. Consequently, a memory system's role is to encode, consolidate, and retrieve this information.\n\nMemory encoding involves transforming experiences into representations that minimize uncertainty during future tasks. Various memory stores exist, including vector embeddings, graphs, ontologies, and summaries. Open-loop memory systems employ handcrafted domain models to decide when to write to the memory store, while closed-loop systems allow the agent to update the memory using tool calls. Although closed-loop systems introduce variable costs and latency due to additional inference compute, they offer greater flexibility. Hybrid approaches combine elements of both paradigms, leveraging general tools for latency-sensitive tasks and deeper consolidation processes during idle periods. Consolidation aims to refine existing memory representations to optimize retrieval for future queries. This process mirrors sleep time computation observed in the brain, with researchers from Letta introducing the term to describe this phenomenon.\n\nClaude, Codex, and Letta each employ unique consolidation strategies. Claude's managed agents reflect on past interactions during idle periods, akin to dreams, to update their memory store. Codex asynchronously summarizes idle sessions into markdown files, while Letta allows agents to modify their system prompt using markdown files within a designated directory. Retrieval, the final step in the memory process, seeks to extract task-relevant information from the past to reduce uncertainty regarding queries. Open-loop systems retrieve information without feedback, while closed-loop systems enable agents to query their memory and utilize the results to improve the memory store. Our research focuses on understanding the extent of engineering necessary for memory systems. If the principle of the \"bitter lesson\" holds true, simpler systems leveraging more of the model's capabilities should suffice, potentially negating the need for complex, handcrafted memory architectures.",
  "summary": null,
  "summary_source": "publisher",
  "key_points": [
    "Leonard Shelby's character in Memento uses memory aids to cope with short-term memory loss.",
    "Modern AI models exhibit anterograde amnesia, lacking long-term memory formation."
  ],
  "editors_take": "Relying on general search methods instead of handcrafted memory architectures could allow artificial intelligence agents to scale more effectively as their underlying models become more intelligent.",
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "outlets_capped": false,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}