LongMemEval-V2: Benchmarking Agent Memory for Experienced Colleagues

Di Wu, Zixiang Ji, Asmi Kawatkar, Bryan Kwan, Jia-Chen Gu, Nanyun Peng, Kai-Wei Chang

TL;DR

LongMemEval-V2 is a massive new benchmark (up to 115M tokens) designed to test if AI agents can learn from past interactions to become "experienced colleagues" in complex web environments. The researchers also introduced AgentRunbook-C, a system that treats memory management as a file-search task for a coding agent, significantly outperforming standard retrieval methods.

What Problem Does This Paper Address?

While Large Language Models (LLMs) have massive "parametric" knowledge (stuff they learned during training), they often struggle with "experiential" knowledge—the specific quirks, workflows, and "gotchas" of a particular workplace or software environment.

Existing memory benchmarks usually focus on retrieving facts from long documents or chat logs. However, an autonomous agent operating in a complex web environment (like ServiceNow or a custom e-commerce admin panel) needs a different kind of memory. It needs to remember how the UI changes after a specific click, which buttons are mandatory for a certain workflow, and why a search might return unexpected results. This paper addresses the lack of a rigorous way to evaluate whether an agent can accumulate this holistic, environment-specific experience over thousands of steps.

Methods

The authors propose a "context-gathering" formulation for memory: given a question, the memory system must return a compact set of evidence (text and images) that a "reader" LLM can use to answer. They introduce two versions of AgentRunbook:

  1. AgentRunbook-R (Retrieval-based): An efficient RAG pipeline that organizes memory into three specialized pools: raw UI observations, state transition events (how actions change the world), and high-level strategy notes.
  2. AgentRunbook-C (Coding-agent-based): This is the more novel approach. It treats trajectory logs as a file system. When a question is asked, a "scaffolded" coding agent (like Codex) is deployed into a sandbox. It uses helper scripts and "manifests" (summaries of the logs) to search, inspect, and select the most relevant evidence.

The "scaffolding" is key here—it provides the agent with workflow instructions and specialized tools to navigate millions of tokens of logs without getting lost or wasting time.

Datasets

The paper introduces LongMemEval-V2 (LME-V2), a benchmark built from trajectories in four web domains: Magento (shopping and admin), Postmill (forum), and ServiceNow.

  • Scale: It comes in two tiers: Small (100 trajectories, ~25M tokens) and Medium (500 trajectories, ~115M tokens).
  • Questions: 451 manually curated questions across five categories:
  • Static State Recall: Remembering page layouts.
  • Dynamic State Tracking: Understanding how actions change the environment.
  • Workflow Knowledge: Knowing the steps for common tasks.
  • Environment Gotchas: Being aware of recurring failures or quirks.
  • Premise Awareness: Detecting when a question makes a false assumption about the environment.

Key Insights and Ideas

  • Experience > Parametric Knowledge: Even the most powerful frontier LLMs (like GPT-4 or Claude 3) scored at most 14.1% on LME-V2 without access to the trajectory history. This proves the benchmark successfully isolates "learned experience" from general knowledge.
  • Memory as a File Management Problem: The success of AgentRunbook-C suggests that for extremely long contexts, we shouldn't just rely on vector embeddings. Giving an agent the ability to "browse" its own history using code and search tools is far more effective for complex reasoning.
  • The "Experienced Colleague" Framing: A high-quality memory system doesn't just store data; it synthesizes it. The authors found that consolidating raw observations into "events" and "notes" was crucial for answering workflow and "gotcha" questions.

Key Results

  • Accuracy: AgentRunbook-C achieved the highest scores: 74.9% on the Small tier and 70.1% on the Medium tier.
  • Efficiency: Compared to an off-the-shelf coding agent, AgentRunbook-C was 32% faster at query time thanks to its specialized scaffolding.
  • RAG vs. Agentic Memory: While AgentRunbook-R (the RAG version) was much faster (latency of ~26s vs ~108s), it was significantly less accurate (58.6% on Small), highlighting a clear accuracy-latency trade-off in memory design.

Limitations and Future Work

The authors acknowledge several limitations:

  • Offline Evaluation: LME-V2 uses pre-collected trajectories. In the real world, an agent's memory would need to update and influence its behavior in real-time (online learning).
  • Web-Centric: The benchmark is currently focused on web browser environments. Different domains (like robotics or OS-level agents) might require different memory structures.
  • Future Directions: The authors suggest that future work should look into tighter integration between memory, planning, and execution, as well as "self-correcting" memory systems that can prune outdated or incorrect information.

Summary updated

BibTeX
@inproceedings{wu2026longmemeval,
  author = {Di Wu and Zixiang Ji and Asmi Kawatkar and Bryan Kwan and Jia-Chen Gu and Nanyun Peng and Kai-Wei Chang},
  title = {{LongMemEval-V2: Benchmarking Agent Memory for Experienced Colleagues}},
  booktitle = {SCALE @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=WUU5KTwCq5},
}
Figure