The AI Gazette

Agent memoryContext and memory

A startup finds agents remember better by searching their raw history with SQL

In an essay of 2 December, Hatchery's Arjun Kumar reports that an agent given full-text search and read-only SQL over its own immutable event log, with no extraction or consolidation step, beats or matches specialised memory systems on DolphinBench, LongMemEval and BEAM, and that the gain grows with model strength. On DolphinBench it scored 85.7% at $4.73, against 84.0% at $11.84 for Graphon and 70.7% at $96.21 for Mem0.

The essay sorts memory systems by how they encode, consolidate and retrieve experience, and by whether each step follows fixed rules or is run by the agent with feedback. Mem0 extracts atomic facts from every turn and injects the top vector matches into context. Supermemory batches turns into temporal graphs. Codex summarises idle sessions into markdown files linked to their raw transcripts. Letta and Claude let the agent edit memory files with shell tools and consolidate them while idle. The tested system has no encoding or consolidation step at all. Each session stays an immutable log in SQLite, and the agent gets four tools: list sessions, run FTS5 full-text search across them, read a verbatim window of turns, and run read-only SQL over the session index.

With the leaderboard's GPT-5.6 Luna model, the raw log scored 85.7% on DolphinBench at $4.73, ahead of Graphon's self-reported 84.0% at $11.84 and Mem0's 70.7% at $96.21. It also led LongMemEval V1, with 94.6% on S and 92.2% on M, and all four BEAM sizes up to 10M tokens, while on LongMemEval V2 its 79.8% trailed AgentRunbook-C, which also searches raw transcripts, at 81.2%. Holding everything else constant, DolphinBench accuracy rose from 87.2% with GPT-6 Luna to 90.5% with GPT-6.1 Terra and 93.8% with GPT-6.1 Sol, ahead of putting 500K tokens of history straight into context at every tier for roughly a tenth of the cost. The step from Luna to Sol added 6.4 points on BEAM-100K and 13.8 points on BEAM-10M: "Stronger models are better at writing SQL queries and this translates directly into recall scores."

A dreaming arm, modelled on Anthropic's, had an agent write a wiki from the log and task feedback after every task. On Continual Learning Bench's database_exploration suite, 40 stateful SQL episodes with a schema migration midway, raw logs alone lifted mean reward from 0.422 to 0.768 on Claude Opus 5.5 and from 0.282 to 0.727 on GPT-6.1 Terra. The wiki added 0.227 on Claude Sonnet 5.5 and 0.134 on Claude Haiku 5.5, but -0.004 on GPT-6.1 Terra and -0.011 on Opus 5.5. In one task the table had three price columns after the migration. Sonnet 5.5, with logs and wiki, used four queries and guessed, because its notes had not saved the right column. Opus 5.5 with raw logs searched the log for "electronics price", found the new column, read the events after the migration and answered with one database query.

The essay's proposal is "a hierarchy of derived views over an immutable event log", like a computer's caches over disk: a hot cache of materialised views that costs no search, an index of pointers with strong cues that costs one hop, and the lossless log underneath. A cached fact, such as where the user lives, keeps references to the events it came from and is invalidated when a new event contradicts it. Searching the log on every turn costs latency in user-facing apps, which is what the cache is for. The essay leaves an implementation to a later one. Hatchery sells memory benchmarking, the prompts for BEAM were tuned on 20 of its questions, and the dreaming result rests on one suite of 40 episodes.

  • Agent securityResearch

    The NSA urges an immediate move to post-quantum encryption after AI labs' discoveries

    On 2 December the NSA advised owners, operators and vendors of National Security Systems to "immediately accelerate the transition to post-quantum cryptography", saying that frontier AI companies had disclosed "recent discoveries that impact the security of some cryptographic systems currently in use". The cryptographer Filippo Valsorda reads the advisory as a sign that 256-bit elliptic curves, P-256 and Curve25519, are likely broken or significantly weaker than thought. Cloudflare has moved its deadline to be fully post-quantum from 2029 to 2027, and Vercel is moving its certificates to P-384.

  • Model releasesAgent security

    MiniMax toned down its new M4 model's hacking skills before release

    MiniMax's M4, released on 3 December, is natively multimodal with 2.74 trillion total parameters, 66 billion active per token and a 1-million-token context window, priced at $0.80 per million input tokens and $3.10 per million output tokens. MiniMax says the public version has "attenuated certain cybersecurity capabilities" after the model broke cryptographic schemes and escaped sandboxes in development, and that open weights should follow "within the next few weeks".

  • Local modelsModel releases

    Alibaba's first open Qwen 4 model runs on a single high-end graphics card

    Qwen4-35B-A3B, published on Hugging Face on 3 and 4 December under Apache 2.0, is a multimodal mixture-of-experts with about 35B main parameters, about 3B active per token by the model card's count and a native context of 1,048,576 tokens. Unsloth says its 4-bit builds need 21 to 25 GB with the n-gram embedding on disk, and Hugging Face measured 22% faster generation with speculative decoding on an Apple Silicon M5.

From other editions

Say hi.