{"version":1,"type":"story","url":"https://digestai.news/story/sql-search-over-raw-event-logs-beats-specialized-agent-memory-systems","json":"https://digestai.news/story/sql-search-over-raw-event-logs-beats-specialized-agent-memory-systems.json","markdown":"https://digestai.news/story/sql-search-over-raw-event-logs-beats-specialized-agent-memory-systems.md","slug":"sql-search-over-raw-event-logs-beats-specialized-agent-memory-systems","headline":"SQL search over raw event logs beats specialized agent memory systems, study finds","summary":"In an evaluation of AI agent architectures, researcher Arjun Kumar found that allowing agents to run SQL queries and full-text search directly over raw event logs matches or outperforms specialized memory systems across multiple benchmarks. Kumar argues that traditional memory stores lose critical task information by compressing past sessions prematurely, whereas direct log search defers compression until query time.\n\nOn DolphinBench using the GPT-5.6 Luna model, the raw-log retrieval approach reached 85.7% accuracy at $4.73, outperforming Graphon's 84.0% at $11.84 and Mem0's 70.7% at $96.21. Performance also scaled with model reasoning capability across tests up to 10 million tokens: moving from GPT-6 Luna to GPT-6.1 Sol increased DolphinBench accuracy from 87.2% to 93.8% while reducing costs compared to bare in-context learning.\n\nOn Continual Learning Bench, raw logs doubled the baseline reward for Anthropic's Opus 5.5 and OpenAI's GPT-6.1 Terra. Offline wiki consolidation and reflection cycles helped smaller models like Haiku 5.5 and Sonnet 5.5, but provided no performance gain on the most capable frontier models. Kumar proposes organizing agent memory as a hierarchy of cached views and indexes built on top of an immutable event log.","keyPoints":["Querying raw event logs via SQL scored 85.7% on DolphinBench at $4.73, beating Mem0's 70.7% score at $96.21.","Log search accuracy scaled with reasoning capability, with GPT-6.1 Sol reaching 93.8% and outperforming bare in-context learning at lower cost.","Offline reflection and wiki consolidation aided smaller models, but yielded no accuracy gains over raw logs on frontier models like Opus 5.5."],"whyItMatters":"Complex agent memory architectures frequently discard vital information during pre-query summarization and graph creation. Demonstrating that direct search over immutable event logs outperforms handcrafted memory systems suggests developers can simplify agent scaffolding and rely on model reasoning as frontier models improve.","category":{"slug":"agents","name":"Agents & Tools","url":"https://digestai.news/category/agents"},"entities":{"companies":["OpenAI","Anthropic","Letta","Mem0","Mastra","Supermemory"],"models":["GPT-6.1 Sol","GPT-6.1 Terra","GPT-6 Luna","Opus 5.5","Sonnet 5.5","Haiku 5.5"],"people":["Arjun Kumar","Richard Sutton","Christopher Nolan"]},"firstPublishedAt":"2026-12-02T00:00:00Z","updatedAt":"2026-12-02T00:00:00Z","sourceCount":1,"hasPrimarySource":false,"sources":[{"outlet":"hatchery.build","title":"The bitter lesson for agent memory","url":"https://hatchery.build/blog/the-bitter-lesson-for-agent-memory","publishedAt":"2026-12-02T00:00:00Z","type":"press","primary":false,"lead":true}],"sourceNotes":null,"discussions":[{"site":"Hacker News","url":"https://news.ycombinator.com/item?id=50779419","points":41}],"thread":null,"cite":{"text":"Digest AI, \"SQL search over raw event logs beats specialized agent memory systems, study finds\", 2 December 2026, https://digestai.news/story/sql-search-over-raw-event-logs-beats-specialized-agent-memory-systems","publisher":"Digest AI","title":"SQL search over raw event logs beats specialized agent memory systems, study finds","datePublished":"2026-12-02T00:00:00Z","url":"https://digestai.news/story/sql-search-over-raw-event-logs-beats-specialized-agent-memory-systems"},"generatedBy":"Written by Digest AI's editorial model from the linked sources; the sources are the record.","license":"Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse"}