Skip to content
نبض AIنبضAI

The Bitter Lesson for Agent Memory

ResearchPublished: Source: Hacker News (100+ points)

TL;DR:Hatchery argues that agents can retrieve useful memories more reliably by searching immutable event logs at query time than by relying on specialised systems that extract and compress facts in advance.

The Bitter Lesson for Agent Memory

Hatchery argues that agents can retrieve useful memories more reliably by searching immutable event logs at query time than by relying on specialised systems that extract and compress facts in advance. Its experiments found that SQL queries and FTS5 search over an agent's own logs matched or beat specialised memory systems across the tested benchmarks, while scaling with model intelligence. The article presents this as an argument for deferring lossy compression until a query makes the needed information clear.

Key points

  • The tested system stores interactions verbatim in an append-only event log, with no encoding or consolidation step.
  • Agents use SQL and FTS5 tools to search and retrieve relevant past events when answering a query.
  • The authors say this approach matched or outperformed specialised memory systems on all major memory benchmarks they tested.
  • The article argues that pre-emptive fact extraction can discard task-relevant details, whereas event-log search delays that loss.

Why it matters

Teams building agents can test a simpler memory architecture that preserves full interaction logs and lets the model retrieve details on demand. This may reduce information loss from summaries, though the article's benchmark results do not establish that the approach is best for every workload.

Companies and models mentioned

  • Hatchery
  • Tardigrade
  • Mem0
  • Supermemory
  • Mastra
  • Letta
  • Claude
  • Codex
  • Richard Sutton

More for AI Pulse members

A personalized pulse delivered daily on Telegram and the web by role and industry, plus the full story timeline, archive, search and bilingual view.

Start free

Related stories