The conventional approach to agent memory involves substantial engineering: extract facts at ingest time, embed them into vector stores, consolidate them into graphs or summaries, then retrieve the top-k matches at query time. Hatchery's research team tested whether all that preprocessing actually helps — and found it often doesn't. Their key finding: an agent with direct SQL and FTS5 search access to its own raw event log matches or beats specialized memory systems across major benchmarks, with performance that improves as the underlying model gets stronger.
The insight draws on Richard Sutton's "Bitter Lesson" from reinforcement learning research — the observation that general-purpose methods leveraging compute (search, learning) consistently outperform systems built around hand-crafted domain knowledge. The argument applied to memory: every time you compress experience into facts, summaries, or graph nodes at ingest time, you discard information you didn't know you'd need. Deferring that compression until query time, when you actually know what the task is, preserves epistemic value.
The Hatchery setup is deliberately minimal. No encoding step, no consolidation pipeline. Each session is stored as an immutable SQLite log. The agent gets four tools: list past sessions, run full-text search across them, read verbatim turn windows, and execute arbitrary read-only SQL. That's it. For single-session benchmarks, the toolset shrinks to three: describe the schema, search, and query. The agent decides what to look for and how deep to dig — a closed-loop retrieval pattern rather than the open-loop "inject top-k and hope" approach used by systems like Mem0 or Mastra.

The article provides a useful taxonomy for thinking about any memory system across three dimensions — encoding, consolidation, and retrieval — and whether each is open-loop (fixed pipeline, no feedback) or closed-loop (agent-driven, adaptive). Systems like Codex and Claude use hybrid approaches: closed-loop writes during active sessions, open-loop background consolidation during idle time. Pure open-loop systems such as Mem0 extract atomic facts per turn and retrieve by vector similarity; they're fast and predictable but lossy by design.
For builders, the practical implication is to be skeptical of memory complexity added early in a project. Before building extraction pipelines or graph consolidation, test whether structured search over a verbatim log is sufficient for your use case. Append-only SQLite with FTS5 is cheap to implement, trivially auditable, and — based on this research — surprisingly competitive. Complexity should earn its place by demonstrating a measurable gap in benchmark performance, not by intuition about what "good memory" should look like.
The full code for the experimental setup is published alongside the article, which makes this directly reproducible. If your agent needs cross-session memory, the Tardigrade library pattern described here — one SQLite file per session, a global index, four search/query tools — is a concrete starting point worth evaluating against whatever you're currently running.
