Context Is a Pipeline, Not a Window: Information Attrition in LLM Agent Harnesses
New in LLM agents and tool use; no direction yet. LLM agents and tool use
Abstract (arXiv)
LLM agents are judged by two numbers: the size of the context window, and how often the final answer is correct. Both numbers miss a third thing: how much of a tool's output is lost before the model ever sees it. We measured this loss in a real tool-using agent. The agent finds the cause of injected faults by reading Linux kernel traces. The context window was almost empty: across 720 runs, the single largest prompt used only 5.75% of it. Yet a third of all tool results (3,827 of 11,189) were cut before they reached the model, and every cut result became broken JSON. The harness cut each result by slicing its JSON text at a fixed length. This does not shorten a result evenly. It deletes whatever data sits near the end. One field reached the model in only 4.7% of calls. A second field, in the very same results, reached the model in 99.3% of calls. Which field held the fault's evidence depended on when the faulty process started: early or late in the trace. The agent's diagnosis accuracy matched this same split. So we ran controlled experiments to test one question: did the data loss cause the drop in accuracy? This paper makes four contributions. First, we model an agent's context as a five-stage pipeline, with a measured failure at each stage. Second, we replay 864 real tool results, including one from a production trace where the shipped cut deletes all 128 records of the fault's evidence. Third, a controlled experiment shows that the cut's real cost appears first as extra work, not as wrong answers: 43% more tool calls, twice the computation, and yield falling from 0.61 to 0.31. The agent still finds the right answer when it has another way to reach it. Fourth, a survey of seven agent frameworks finds two that cut tool output the same unsafe way. Whether the data cut truly causes the accuracy drop is still an open question.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 19 of its 20 references that are in the map. Submitted 26 Oct 2026.
Builds on
19 of 20 references.
References · 19
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 2,069
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
- 2025Why Do Multi-Agent LLM Systems Fail?cited by 703
- 2024AI Agents That Mattercited by 296
- 2023An Empirical Study of the Non-determinism of ChatGPT in Code Generationcited by 161
- 2023Automatic Root Cause Analysis via Large Language Models for Cloud Incidentscited by 91
- 2025The Complexity Trap: Simple Observation Masking Is as Efficient as LLM Summarization for Agent Context Managementcited by 73
- 2026Harness-Bench: Measuring Harness Effects across Models in Realistic Agent Workflowscited by 64
7 more
- 2026Inside the Scaffold: A Source-Code Taxonomy of Coding Agent Architecturescited by 22
- 2026Harness Engineering: Anatomy, Architecture, and Evolution of Coding Agents -- A Source-Code Study of Eleven Systemscited by 15
- 2026An Empirical Study of Harness Design for Coding Agentscited by 12
- 2025How Good Are LLMs at Processing Tool Outputs?cited by 6
- 2023Registered Reports in Software Engineeringcited by 3
- 2026PHREEQC-MCQ-200: A Diagnostic Benchmark for Tool-Augmented Scientific Simulator Agentscited by 3
- 2026Same Simulation, Different Evidence: Where Retrieved Tool Output Costs LLM Agents Accuracycited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026ContextRender: From Execution Dependencies to Agent Context
- 2026Why Retrying Fails: Context Contamination in LLM Agent Pipelines
- 2026When Tools Fail, Agents Fabricate: Silent Failure and Verification-First Oversight in Tool-Using LLM Agents
- 2026Recovery Gone Too Far: Understanding and Repairing Risky Fallback in LLM Agents
- 2026When Agents Fail: Model or Harness--Who's to Blame?
- 2026Agents Don't Paginate: First-Chunk Selection for LLM Tool Responses
- 2026What Can Component-Replacement Evidence Establish? A Critical Scoping Review of Local Decisions in LLM Agents
- 2025When Refusals Fail: Unstable Safety Mechanisms in Long-Context LLM Agents