Agent Memory: Characterization and System Implications of Stateful Long-Horizon Workloads

Yasmine Omri, Ziyu Gan, Zachary Broveak, Robin Geens, Zexue He, Alex Pentland, Marian Verhelst, Tsachy Weissman, Thierry TambearXiv 2026

TL;DR

This paper presents the first comprehensive systems characterization of LLM agent memory systems, revealing that memory construction (the write path) completely dominates the system lifecycle cost and energy consumption. By profiling ten representative memory systems, the authors uncover massive trade-offs between construction cost, query-time latency, and accuracy, providing ten actionable recommendations for designing scalable agent infrastructure.

What Problem Does This Paper Address?

As LLM agents transition from single-turn chatbots to long-horizon autonomous assistants (like coding agents or personal diaries), they accumulate massive interaction histories. While modern LLMs boast context windows of over a million tokens, relying solely on native long-context windows faces three hard limits: continuous interactions eventually exceed any fixed budget, prefill costs scale quadratically, and model reasoning degrades over long sequences (the "U-shaped" performance curve).

To bypass this, a rich ecosystem of external agent memory systems has emerged (ranging from simple flat RAG to complex graph-based and agentic control loops). However, existing benchmarks evaluate these systems purely on downstream accuracy. This paper addresses the critical gap in understanding their system-level behavior—such as latency, GPU utilization, energy consumption, and storage footprint—which dictates whether these systems are actually deployable at scale.

Methods

The authors tackle this problem through a two-pronged approach:

  1. A System-Oriented Taxonomy: They classify agent memory systems into four distinct paradigms based on how they construct, store, and retrieve memory:
  2. Paradigm I: Long-context memory (passing raw history directly to the prompt).
  3. Paradigm II: Flat RAG memory (deterministic indexing like BM25 or dense vector embeddings).
  4. Paradigm III: Structure-augmented RAG memory (using an LLM as a fixed extractor for facts, summaries, or graphs).
  5. Paradigm IV: Agentic control flow (giving the LLM tool-based control over its own reads and writes, like MemGPT/Letta).
  6. A Phase-Aware Profiling Harness: They built a custom profiling tool that tracks API telemetry (tokens, model calls, latency) and hardware telemetry (GPU utilization, VRAM footprint, power consumption) across three distinct execution phases: memory construction, retrieval, and generation.
Figure 1: Agent memory gives rise to short-term working memory and long-term memory: the agent retrieves relevant long-term state into its active context, updates memory after interaction, and maintains stored knowledge over time.

Datasets

The systems were evaluated across two benchmark suites:

  • MemoryAgentBench (MAB): Used as the primary benchmark, specifically focusing on LongMemEval_S_* (a long-term conversational memory setting) to separate heavy memory construction from repeated query-time retrieval.
  • MemoryArena: A benchmark featuring multi-session, interdependent tasks used specifically to analyze the freshness-latency tradeoffs under continuous session arrivals.

Key Insights and Ideas

  • Construction Dominates the Lifecycle: For LLM-mediated memory systems, the energy spent on the "write path" (extracting facts, updating graphs) dwarfs the energy spent at query time. This cost is completely invisible to traditional accuracy benchmarks.
  • A "Long-Read, Short-Write" Workload: Memory construction is heavily prefill- and embedding-dominated. Systems repeatedly read long interaction chunks but emit highly compact structured records (the median decode share of total construction tokens is a mere 4.6%).
  • Structural Conflict with QA Serving: Because construction is prefill-heavy and throughput-oriented, routing both construction and latency-sensitive user queries through the same LLM endpoint causes severe head-of-line blocking and stalls the batch scheduler.
  • Hard Capability Floors: While some systems degrade gracefully when paired with smaller, cheaper construction LLMs, systems with strict output contracts (like MIRIX, which relies on complex JSON schemas and tool calls) fail entirely below a certain model capability threshold.
Figure 3: Phase cost breakdown. Paradigm III and IV agent memory systems shift the majority of end-to-end energy into construction, which is invisible to the user at query time.

Key Results

  • Massive Latency and Energy Spreads: On identical hardware, per-query serving latency spanned two orders of magnitude. End-to-end energy consumption varied by over 26.7×, ranging from 582 kJ (BM25) to 15,429 kJ (Letta).
  • Energy per Correct Answer: When normalizing total energy by task accuracy, the spread across systems exceeded 47×, establishing a clear cost premium for advanced agentic capabilities.
  • Super-linear Token Growth: For Paradigm IV (agentic) systems, token costs scale super-linearly because the agent must query and assess its growing memory store before every new write, causing costs to explode beyond 256K tokens.
  • Storage Footprint Divergence: At 1M tokens, per-user memory footprints varied by up to 9×. Multi-view graph representations inflated storage significantly (HippoRAG v2 reached ~62 MB), whereas consolidating systems (like Mem0) successfully compressed storage (~12 MB).
Figure 2: Long-context prompting vs. external agent memory. Per-query serving latency (retrieval + generation, excluding construction) on LongMemEval_S_*. Remote con- struction via OpenAI API, Local construction via vLLM.

Limitations and Future Work

The authors note that their current characterization is bounded by single-node execution. They point out several open frontiers for future systems research:

  • Multi-node and Multi-agent Deployments: These introduce complex consistency, synchronization, and coordination challenges across distributed memory stores.
  • Multimodal Memory: Storing and retrieving images, audio, and video alongside text will drastically amplify construction costs, storage footprints, and retrieval complexity.
  • Active Forgetting Policies: Because current systems accumulate state monotonically by default, developing independent, automated pruning and compaction policies is essential to bound fleet-scale deployment costs.

Summary updated

BibTeX
@misc{omri2026agent,
  author = {Yasmine Omri and Ziyu Gan and Zachary Broveak and Robin Geens and Zexue He and Alex Pentland and Marian Verhelst and Tsachy Weissman and Thierry Tambe},
  title = {{Agent Memory: Characterization and System Implications of Stateful Long-Horizon Workloads}},
  year = {2026},
  eprint = {2606.06448},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.06448},
}
Figure