Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

The bitter lesson for agent memory: SQL search over an event log matches specialised memory systems

Hatchery argues that letting an agent run SQL queries and search over its own event log beats or matches specialised memory systems such as Mem0, Supermemory and Mastra on the major memory benchmarks, and that it scales with model intelligence. The post…

Published Read the original

Ranked #6 of 18 on Sunday, December 6

The bitter lesson for agent memory: SQL search over an event log matches specialised memory systems

Why it matters

If you are building agent memory, keeping the raw log and giving the agent search tools may beat extracting facts up front.

What happened

1 min read

Hatchery argues that letting an agent run SQL queries and search over its own event log beats or matches specialised memory systems such as Mem0, Supermemory and Mastra on the major memory benchmarks, and that it scales with model intelligence. The post surveys memory systems across encoding, consolidation and retrieval, and proposes a design built on an immutable event log with a hierarchy of derived views.

inscraper analysis

Our analysis

The core idea, deferring compression until query time, is persuasive and lines up with how Claude and Codex already use general shell and file tools for memory. The survey and the open-loop versus closed-loop framing are worth reading on their own. But the benchmark results are the authors' own, and the excerpt doesn't show the per-turn cost and latency of agentic search. It comes from a company building in this space, so part of it argues for their own approach.

More in Research