Raw event log as agent memory
What it is
Most agent memory systems compress the past as it happens: they extract facts, embed them, or summarise sessions into notes. This pattern skips all of that. Keep every session as an append-only event log in SQLite, and give the agent two tools: full-text search (FTS5) and read-only SQL. When it needs something from the past, it searches the raw record and reads the exact turns.
The argument is that any summary is a guess about what a future task will need. Searching the raw log defers that decision until the question is known.
Why it is getting attention now
Hatchery published “The bitter lesson for agent memory” on 2 December 2026 and it reached 320 points on Hacker News on 5 December. They report that the raw-log setup beat or matched specialised memory systems on five benchmarks, for example 85.7% on DolphinBench at $4.73 against 70.7% at $96.21 for Mem0, and that results improve as the model gets stronger because stronger models write better queries.
The most useful finding for practitioners: adding an after-task “dreaming” pass that writes a wiki helped smaller models (+0.227 mean reward on Sonnet 5.5, +0.134 on Haiku 5.5) but made no difference on the strongest ones (-0.011 on Opus 5.5). The post reads that as notes being a scaffold for weaker models.
It builds on Anthropic’s 6 November 2026 engineering post on the components of agent memory, and notes that Codex already keeps summaries linked to raw transcripts.
How to try it in about ten minutes
This is a home-made approximation, not Hatchery’s tooling.
- Claude Code keeps session transcripts as JSONL files under
~/.claude/projects/. Ask the agent to write a small script that loads them into a SQLite database with one row per event (session id, sequence number, timestamp, role, text) and an FTS5 table over the text. - Add a few lines to
CLAUDE.mdorAGENTS.md: before starting work that might have history, search the database withsqlite3 memory.db "SELECT ... WHERE events_fts MATCH '...'", then read the surrounding turns by sequence number. - Open the database read-only for the agent.
- Try it on a real question, such as why a past decision was made, and compare with what your current memory notes say.
The tool surface in the article is small enough to copy: list sessions, search, read a window of turns, and run read-only SQL.
Where it falls short
- The source is a vendor blog; Hatchery sells the Tardigrade library used in the experiments, and the benchmark runs are their own. The benchmark code is published, so it can be checked.
- They tuned prompts on 20 questions from one benchmark, and on LongMemEval V2 they came second (79.8% against 81.2%) to another system that also searches raw transcripts.
- Cost climbs with the model: the same benchmark went from $2.47 to $36.38 moving up the model range.
- Smaller models still did better with a consolidated wiki, so this is not a reason to delete notes files if you run cheaper models.
- Raw transcripts contain whatever passed through the session, including secrets and private data. A searchable copy needs the same care as the originals.
Sources
- The bitter lesson for agent memory, Hatchery, 2 December 2026
- clavia-labs/agent-memory-benchmarks, the experiment code linked from the post
- Hacker News discussion
Changelog
- 2026-12-06: Page created. Mentioned in the 6 December 2026 daily post.