# Context Is a Pipeline, Not a Window: Information Attrition in LLM Agent Harnesses

DevFeed: [Context Is a Pipeline, Not a Window: Information Attrition in LLM Agent Harnesses](<https://devfeed.tech/articles/context-is-a-pipeline-not-a-window-information-attrition-in-llm-agent-harnesses-103087.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.36114>)

Author: Yuvraj Sehgal, Mahsa Panahandeh, Naser Ezzati-Jivan

Published: 2026-10-28T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [context window](<https://devfeed.tech/topics/context-window.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-frameworks](<https://devfeed.tech/tags/agent-frameworks.md>), [agent-harnesses](<https://devfeed.tech/tags/agent-harnesses.md>), [agents](<https://devfeed.tech/tags/agents.md>), [context](<https://devfeed.tech/tags/context.md>), [context-window](<https://devfeed.tech/tags/context-window.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [data](<https://devfeed.tech/tags/data.md>), [data-loss](<https://devfeed.tech/tags/data-loss.md>), [diagnosis](<https://devfeed.tech/tags/diagnosis.md>), [experiment](<https://devfeed.tech/tags/experiment.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [failure](<https://devfeed.tech/tags/failure.md>), [field](<https://devfeed.tech/tags/field.md>), [frameworks](<https://devfeed.tech/tags/frameworks.md>), [harness](<https://devfeed.tech/tags/harness.md>), [information](<https://devfeed.tech/tags/information.md>), [json](<https://devfeed.tech/tags/json.md>), [llm](<https://devfeed.tech/tags/llm.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [window](<https://devfeed.tech/tags/window.md>)

## AI overview

In one Linux-trace fault-diagnosis agent, tool-output truncation was common despite low context use: 3,827 of 11,189 results were cut, and every cut result became invalid JSON. Because the harness sliced JSON at a fixed length, information near the end was disproportionately lost; field availability ranged from 4.7% to 99.3% of calls, and diagnosis accuracy followed a similar split. A controlled experiment found that truncation's clearest measured cost was extra work--43% more tool calls, twice the computation, and yield dropping from 0.61 to 0.31--while the agent could still find the answer through another route. The authors leave open whether truncation itself causes accuracy loss. Their survey found two of seven agent frameworks used the same unsafe cutting method.

## Source excerpt

arXiv:2610.36114v1 Announce Type: cross Abstract: 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.