mlsanityData to 14 Oct 2026

Measure Before You Manage: Evaluating Agent Working Memory in Coding Agents

arXiv 2608.31057 ↗First posted 31 Aug 2026cs.AIcited by 1

On the map: LLM agents and tool use → Agent memory systems

Abstract (arXiv)

Agent working memory is heterogeneous. Objects such as instructions, artifacts, tool outputs, and agent-generated state play different semantic roles and exhibit different size, retention, and representation profiles. Recent work has begun to explore memory-management mechanisms that account for such heterogeneity. This work focuses on semantic heterogeneity and studies how it should shape the management and evaluation of working memory in coding agents. Across 55 archived coding-agent trajectories, we find that semantically different working-memory objects exhibit distinct retention and compression behavior. This heterogeneity motivates semantically informed memory management. We study two semantically informed strategies: an object-aware compression policy and a retrieval-based policy. Their evaluation shows that calibration gains may not transfer to held-out tasks, and that equal token budgets do not imply equal delivered context or management cost. A real-system replay further exposes serving limits that nominal budgets alone do not capture. Together, these results show why semantic structure matters for agent working memory and why evaluating memory-management strategies requires more than a nominal token budget. We organize these lessons into four levels: stored state, delivered context, management work, and task or process outcome.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 7 of its 8 references that are in the map. First posted on arXiv 31 Aug 2026.

Builds on

7 of 8 references.

Closest ancestors · 1

Same direction, newest first

  1. 2026Agent Memory: Characterization and System Implications of Stateful Long-Horizon Workloads4 Jun

Other references · 6

  1. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  3. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
  4. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
  5. 2025The Complexity Trap: Simple Observation Masking Is as Efficient as LLM Summarization for Agent Context Managementcited by 48
  6. 2026Evaluating Memory Condensation Strategies for Coding Agents in Data-Driven Scientific Discoverycited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Delivery, Not Storage: Cue-Anchored Working Memory as a Harness Property for Coding Agents
  2. 2025How Memory Management Impacts LLM Agents: An Empirical Study of Experience-Following Behavior
  3. 2026What to Keep, What to Forget: A Rate--Distortion View of Memory Compaction in LLMs and Agents
  4. 2025Memory in the Age of AI Agents
  5. 2026A Survey of Agent Memory in the Second Half: Towards Self-Evolving and Long-Horizon Agents
  6. 2026Beyond Token Savings: A Systematic Study of Context Compression in LLM Agents
  7. 2026Are We Ready For An Agent-Native Memory System?
  8. 2026Exploring Cross-Scenario Generality of Agentic Memory Systems: Diagnostics and a Strong Baseline