- 2 min read
- 1 source
Summary
Researchers report that allowing an agent to run SQL queries over its own event log attains state‑of‑the‑art results on major memory benchmarks and scales with model intelligence. The approach contrasts with traditional memory systems that compress data at ingest. It is incorporated in designs such as Mem0, Supermemory and hybrid agents like Claude, Codex and Letta.
Key facts
- Approach: Agent runs SQL queries over an immutable event log.
- Performance: Achieves state‑of‑the‑art results on all major memory benchmarks, scaling with model intelligence.
- Open‑loop examples: Mem0, Supermemory, Mastra.
- Closed‑loop update: Agent updates memory via tool calls, incurring variable cost and latency.
- Hybrid agents: Claude, Codex and Letta combine small closed‑loop updates with idle‑time consolidation.
- Terminology: Letta calls idle‑time consolidation “sleep time compute”.
Details
The proposed design stores every interaction as an immutable event log that agents can query with SQL or search operations. By deferring compression until query time, the system preserves task‑relevant details that might be lost in lossy summarisation. Open‑loop memory systems such as Mem0, Supermemory and Mastra encode facts at ingest; Mem0 extracts atomic facts and embeds them in a vector store, while Supermemory batches turns asynchronously and builds temporal graphs. Closed‑loop systems let the agent modify the memory store through tool calls, which adds inference compute and latency but enables dynamic updates. Hybrid agents like Claude, Codex and Letta use brief closed‑loop updates during latency‑sensitive interactions and perform deeper consolidation during idle periods, a process Letta labels “sleep time compute”.
Why it matters
For developers building autonomous agents, the event‑log querying approach offers a path to higher memory fidelity without extensive hand‑crafted pipelines, potentially improving task continuity across sessions. Teams that adopt hybrid open‑ and closed‑loop strategies can balance latency constraints with richer, up‑to‑date knowledge, which may reduce engineering effort around memory compression and improve overall agent performance. However, the variable cost and latency of closed‑loop updates require careful resource planning.
Sources
Original source: Hacker News — AI stories (50+ points)
Related stories
Industry ·
Mistral launches Vibe coding agent for large codebases
Vibe, formerly Le Chat, is Mistral’s AI tool for long‑horizon coding tasks, now downloadable for macOS and Windows with Linux, iOS and Android slated for later release.
1 source
Industry ·
Alibaba's Qwen4-35B-A3B Debuts as a Smaller
A new 35-billion parameter model claims performance on par with much larger dense models while offering faster inference and lower costs.
1 source
Industry ·
AWS Launches Ergo Open Weight AI Models
AWS introduces a new family of open weight AI models to offer American alternatives to Chinese competitors and drive adoption of its own Trainium hardware.
1 source
Industry ·
Odyssey CEO argues robots need world models, not narrow AI
Oliver Cameron, CEO of AI startup Odyssey, says the industry has built robots the wrong way, favoring narrow systems over general world models trained on vast amounts of video.
1 source
Found an error? Report it.