Urgent.News

What's breaking now, across hundreds of outlets.

Tech

The bitter lesson for agent memory

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.

Richard 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.

Memory 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.

Memory 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.

Claude, 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.

Rewritten by urgent.news; may contain errors — check the original.

Source: hatchery.build

Read the original at hatchery.build →

Get the news by email. Yesterday's most-covered stories, every morning.

See today's edition · More options

More in Tech

3-Decimal MENA E-Invoicing (Jordan JoFotara, Bahrain, Oman), dbt/DuckDB, Arabic RAG & W3C did:web Provenance

Engineering software across the Middle East and North Africa exposes subtle failure modes that standard Western finance and AI stacks routinely miss: 3-decimal currencies ( JOD , BHD , OMR , KWD…

  • Jordan, Bahrain, Oman, Kuwait, and Qatar adopted 3-decimal currencies (JOD, BHD, OMR, KWD)
  • NBrain released six open-source MIT repositories addressing regional software challenges
  • Deterministic Arabic RAG and GEO-SFE engine improves LLM citation accuracy by +17.3%

More from Sunday, 6 December 2026 →