mlsanityData to 7 Oct 2026

DTOC: Dynamic Tool Output Compression for Adaptive Context Management in AI Agents

arXiv 2609.26121 ↗First posted 6 Aug 2026cs.AI cs.CL cs.MAcited by 0

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

Abstract (arXiv)

As agent capabilities have grown, practical limitations increasingly stem from constrained context windows rather than model capacity. Common strategies, such as truncation, heuristic aging, and lossy summarization, may discard useful information or introduce hallucination risk. To address these challenges, we propose Dynamic Tool Output Compression (DTOC), a framework for scalable context management in LLM-based agents that models context updates as explicit and reversible operations within the agent reasoning loop. DTOC retains full tool outputs in external memory while inserting compact placeholders into the active context, enabling selective reconstruction when needed. We formalize the DTOC mechanism, integrate it into a ReAct-style agent architecture, and provide a production-oriented implementation supporting on-demand restoration of compressed outputs. Experiments on DeepSWE reveal model-dependent effects: for responsive models (Sonnet 4.6, GPT-5.4), DTOC reduces input tokens (10.3 and 12.7%) and agent steps (2.4 and 32.3%), while increasing solve rates (2.5 and 1.5 times higher) and lowering cost per solved task (3 and 3.5 times lower cost per solved task). For the other models results are more mixed, with GPT-5.5 doubling solve rate and halving cost, but no impact on solve rate and negative impact on cost for the other models. Ablation results show reversibility is critical: disable-only compression variants degraded performance, while full DTOC recovered baseline accuracy at substantially lower context cost. These findings indicate that explicit, reversible context management can improve the efficiency of long-horizon agent reasoning without degrading task performance.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 17 of its 21 references that are in the map. First posted on arXiv 6 Aug 2026.

Builds on

17 of 21 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025Memory as Action: Autonomous Context Curation for Long-Horizon Agentic Tasks14 Oct
  2. 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models6 Oct

Other references · 15

  1. 2017Attention Is All You Needcited by 59,932
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  4. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
  5. 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 279
  6. 2025A Survey of Context Engineering for Large Language Modelscited by 120
  7. 2025Agentic Large Language Models, a surveycited by 105
  8. 2026DeepSWE: Measuring Frontier Coding Agents on Original, Long-Horizon Engineering Taskscited by 41
  9. 2026LongCat-Flash-Thinking-2601 Technical Reportcited by 32
  10. 2025COMPASS: Enhancing Agent Long-Horizon Reasoning with Evolving Contextcited by 19
  11. 2025Context Engineering 2.0: The Context of Context Engineeringcited by 17
  12. 2025From Autonomous Agents to Integrated Systems, A New Paradigm: Orchestrated Distributed Intelligencecited by 11
3 more
  1. 2023TRAMS: Training-free Memory Selection for Long-range Language Modelingcited by 5
  2. 2025GitGoodBench: A Novel Benchmark For Evaluating Agentic Performance On Gitcited by 5
  3. 2022Autonomous Task Planning for Heterogeneous Multi-Agent Systemscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025ACON: Optimizing Context Compression for Long-horizon LLM Agents
  2. 2026FOCUS: Training-Free Decision-Preserving Context Compression for LLM Agents
  3. 2026Toward Reliable Context Compression for Long-Horizon Agents: An Empirical Study of Execution Instability
  4. 2026Beyond Token Savings: A Systematic Study of Context Compression in LLM Agents
  5. 2026ACM: Agentic Context Management for Long Horizon Tasks
  6. 2026Learning Agent-Compatible Context Management for Long-Horizon Tasks
  7. 2026Control Under Compression: Reliability Frontiers for Tool-Using Agents
  8. 2026LLM Agents Are Latent Context Managers: Eliciting Self-Managed Context via State Proprioception