Skip to content
trendoviz

AI Tools & Products · Industry

Agent Event-Log Queries Reach Memory Benchmark SOTA

Querying its own event logs lets AI agents achieve state‑of‑the‑art performance on memory benchmarks, scaling with model intelligence.

Published

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)

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

Found an error? Report it.