PapersSelected

Agent Memory Debate: Raw Log Search vs Compression Layers

Why we picked it

The non-obvious takeaway is that memory architecture choice should track the workload: raw-log agentic search wins for agent-to-agent logs, while compression still pays off for structured knowledge. Engineering teams building agent stacks should benchmark memory systems on their own data instead of trusting public leaderboard results. The latency point is especially relevant for consumer-facing product teams deciding between engineered memory stores and plain SQL search.

Elvis Saravia (omarsar0) commented on a widely shared essay by Arjun (@arjunkmrm) arguing for a 'bitter lesson' for agent memory: an agent that runs SQL queries directly over its own raw event logs achieves state-of-the-art results on all major memory benchmarks, and performance scales with model intelligence rather than with hand-built memory infrastructure. The essay reports that 'dreaming' (offline summarisation or compression) adds no meaningful gains over raw logs as models get more capable, because current memory systems lose task-relevant information during compression while agentic search defers compression until query time.

Body

Saravia agrees the result matters but cautions against overgeneralising it into a single 'bitter lesson'. In his own setup, he uses SQL-backed search over message logs of related agent sessions for agent-to-agent communication and finds it extremely useful. For other workloads such as research, wikis, graphs and structured data, compressed memory layers still work better, and the essay itself proposes a hybrid: a cache and an index layered over the raw log.

He also argues that public memory benchmarks are a weak signal — teams should run evals on their own data — and notes that latency is where specialised memory systems shine in consumer-facing applications. He suggests benchmark designs like FrontierMemory that test memory quality and transfer to new tasks, and predicts domain-specific memory harnesses will proliferate rather than one system winning everywhere.

Original · elvis

Recommended read. But I'm not sure I would go so far as to call this a "bitter lesson for agent memory". There is no denying that improvements in model capabilities have unlocked incredible performance in agentic search, which is why direct search over uncompressed logs works in the scoped experiment. I think this is useful in some scenarios and not applicable across industrial retrieval problems. For instance, I use this type of search and memory system for agent-to-agent communication. I have found it extremely useful to let my agent search the message logs of other related agent sessions (all backed by SQL). For other use cases—research, wikis, graphs, and structured data—compressed layers work better. When it comes to memory, the effectiveness of the system you use depends on the application and domain. There really hasn't been a generalized system that just works for all use cases. I think different types of memory systems, like domain-specific harnesses, will need to exist. Also, today's memory benchmark results aren't something I would use to determine whether one memory system is better than another. Results on FrontierMemory (instead of just testing recall, test memory quality and how it transfers to new tasks) might be interesting to see (not sure if they exist already). Public benchmarks are a useful signal, but to test the real feasibility of a memory system, you need to run your own evals with your own data. I also think latency is where many of these specialized memory systems shine, and you want that in many consumer-facing applications. As with everything in retrieval (I've been doing this since my PhD way over a decade ago), I have learned that hybrid systems are typically the best. The essay actually proposes something along these lines (a cache and an index layered over the raw log). june @arjunkmrm I wrote about the bitter lesson for agent memory. We show that an agent running SQL queries on its own event logs achieves SOTA on all major memory benchmarks, and scales with model intelligence. We also found that dreaming doesn't add meaningful gains over raw logs as models get more capable. Current memory systems lose valuable task-relevant information during compression. In contrast, agentic search over an event log defers compression until query time. As model capability increases, they get better at finding relevant information directly from the uncompressed logs. An engineered memory store eventually becomes a bottleneck. Inspired by information theory (and epistemic foraging), this essay proposes that the goal of memory systems is to increase the epistemic value of search over an event log. It also suggests a design for a memory system that's built as a hierarchy of derived views over an immutable event log. Read more here: hatchery.build/blog/the-bitte… 🔗 View Quoted Tweet📊 29 ⚡

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows and US-China foundation model benchmarks and commercialization comparison. Key entities and technical topics under continuous tracking include agent memory, Agent, agentic search, SQL.

Source attribution: curated from elvis (@omarsar0).

Spotted an error in the summary or translation? Tell us