1. Problem Definition and Classification
1.1 Definition
“Degradation” refers to the user’s subjective perception that an AI agent’s answer quality, reasoning depth, and instruction compliance decline over the course of long, multi-tool, multi-step sessions.
1.2 A Classification Framework of Three Causes
Effective governance of degradation depends on prior classification. This article distinguishes three mechanistically independent phenomena:
| Type | Essence | Observable signature | Typical scenario |
|---|---|---|---|
| A. Genuine capability decay | Attention is diluted; information extraction and reasoning accuracy decline objectively with context size | Success rate declines gradually or accelerately with token/step count; recovers in a fresh session | Second half of long sessions; after RAG injects many documents |
| B. Engineering-layer quality collapse | Model capability is unchanged, but the system silently degrades the quality of the input context | Sharp quality drops correlate temporally with specific events (truncation, routing switches, tool errors) | Silent compaction; routing misprediction; tool output pollution |
| C. Perception-layer illusion | Output distribution unchanged; user expectation calibration fails | Complaints concentrate on high-salience tasks; differences vanish under blind evaluation | Impression solidified after a first failure; comparison against a “beautified memory” of earlier behavior |
The three types require different governance paths: Type A calls for context engineering, Type B for observability, and Type C for expectation management. Conflating them guarantees misallocated remedies.
2. Mechanism Analysis
2.1 Context and Memory Management Failure
The Context Rot experiments [1] demonstrate under controlled conditions that even when all information fits within the context window, performance degrades as input token count grows; the lower the question–answer similarity, the faster the decay; distractors’ negative effects are amplified in long contexts; and even mechanical tasks such as verbatim text copying are affected. The decay therefore occurs at the level of attention allocation, not reasoning capacity.
Lost in the Middle [2] characterizes the structure of this distribution: extraction accuracy follows a U-shaped curve, with positions in the middle scoring more than 20 percentage points below the first position; under a closed-book setting, the multi-document QA baseline reaches only 56.1%, and a mere 20 retrieved documents (~2,000 tokens) significantly depress performance. Follow-up work such as NoLiMa and AbsenceBench shows that mainstream NIAH (needle-in-a-haystack) benchmarks systematically underestimate real degradation [2].
Three additional engineering mechanisms: first, silent truncation and summary compression when sessions exceed the window is a lossy process in which constraint-type information (format requirements, behavioral boundaries) is lost first; second, long-term memory without write gating persists a single hallucination (e.g., a false “user preference”) and recalls it repeatedly, creating a self-reinforcing erroneous prior; third, cost-reduction optimizations such as KV-cache quantization and sparse attention may in theory introduce small attention-precision losses, but no public direct measurement exists, so we list this as a hypothesis to be verified rather than an established fact.
2.2 Error Propagation Through Pipelines
Error cascading is established as the primary bottleneck of agent reliability [5]. A reliability-science framework measured a drop of roughly 24 percentage points in success rate as task duration grows from ≤5 minutes to ≥120 minutes, with nonlinear decay — later steps fail at increasingly higher rates [6].
The MAST taxonomy dissects multi-agent failures into 14 modes across three categories; the most prevalent is system design failure (FC1, of which step repetition FM-1.3 accounts for 15.7%), while task-verification failures (FC3) determine whether internal errors exit the system as finished products [4]. In addition, subagents return results to the orchestrator as summaries; every hop is a lossy compression. Assuming a 5% per-turn error rate, a 10-step pipeline achieves only ≈60% end-to-end success (0.95¹⁰).
2.3 Tool Data Pollution
Tool pollution has malicious and non-malicious forms. On the malicious side, tool-description poisoning [7] and prefix-elicited persistent poisoning (SEAL) [8] have been demonstrated by security research, and hidden instructions in MCP metadata take effect at connection time, invisible to users. The non-malicious side plausibly accounts for more everyday degradation, though systematic measurement is lacking (no authoritative statistics): bulk low-quality text returned by tools directly aggravates context rot; HTTP error pages injected verbatim into the context trigger hallucination cascades; formatting noise consumes attention budget; and a single pollution event persists in context, affecting dozens of subsequent turns.
2.4 Routing and Engineering Policy
Routing-collapse research [9] finds that under loose budgets routers systematically over-select the stronger model, degrading the quality–cost trade-off; the root cause is that routers are trained as scalar quality predictors while the real decision is a discrete ranking problem. In production, misprediction in tiered routing (complex queries routed to weak tiers) is invisible to users and to aggregate dashboards, and has been characterized as an observability gap rather than a routing-algorithm failure [10]. In addition, cache-driven input reordering and undisclosed sampling-parameter changes can both shift output distributions without any transparency commitment.
3. Layered Governance and Industry Practice
3.1 Tactical Layer: Context Engineering
- Just-in-time context engineering: maintain lightweight identifiers (file paths, queries, links) and load data on demand at runtime. Anthropic systematized this in September 2025 as a combination of compaction, note-taking, and tool-result clearing [11], with a corresponding implementation in the Claude Cookbook [12]; the practice has since been adopted as a runtime discipline across the industry [13].
- Subagent isolation: exploration and retrieval execute in isolated contexts, returning only compressed conclusions. Anthropic’s multi-agent research system uses an orchestrator–worker pattern in which the orchestrator spawns parallel subagents with isolated contexts [14]; Claude Code’s subagents/Task tool follows the same principle [12].
- Periodic reset: long tasks split into explicit sessions, with cross-session state carried by structured files rather than conversation history. Claude Code’s auto-compact (automatic summarization near the 200k window) is the productized form of periodic reset [15]; however, community feedback shows that compression loses details [16], confirming its lossy nature — resets must be explicit and predictable rather than fully delegated to automatic summarization.
3.2 Compute/Model Layer: Routing Governance
- Quality thresholds and drift monitoring: commercial routers have incorporated quality retention into their optimization objective (e.g., routing policies trained under a 95%+ quality constraint) [17]; on the academic side, RouteLLM matched commercial routers on MT-Bench at 40%+ lower cost [18].
- Counter-evidence: a 2026 re-audit found RouteLLM unmaintained since August 2024 and Martian’s routing product discontinued [19]. Routing is an ongoing operational object, not a one-time deployment; without monitoring it silently converges to collapse (see §2.4).
- Complexity admission control: queries with many tool calls or irreversible actions should be forced to the strong-model tier; off-the-shelf gateways (OpenRouter auto, LiteLLM Router) optimize for cost by default, so this rule must be configured explicitly at the gateway policy layer [19].
- Hybrid retrieval architecture: JIT’s load-by-reference is the industry-standard form of “retrieval compression plus long context carrying only the text currently needed” [11].
3.3 Architecture Layer: Memory, State, and Verification
- Memory write gating: writes to long-term memory pass source, recency, and conflict checks; memories carry TTLs and provenance labels. Memory has become a distinct product category — Mem0 (open source, ~65k stars, structured fact extraction plus semantic retrieval), Zep/Graphiti (temporal knowledge graphs with episode-level provenance), and Letta/MemGPT (tiered self-editing memory) [20]. However, a mid-2026 comparative review shows all three offer incomplete support for audit marking and pollution recall, requiring custom supplementation [21].
- State machines instead of free-form dialogue: critical flows use explicit external state rather than inference from chat history. Graph-orchestration frameworks (e.g., LangGraph) have made explicit state nodes the default architecture, which directly addresses the most prevalent MAST failure class (FC1, step repetition) [4].
- Tool output cleaning: schema validation → error-page detection → truncation → summarization, implemented together with programmatic tool calling (large results never enter the window) [12]; returning execution results through sandboxes/code executors is already standard practice in coding agents.
- Per-hop verification: lightweight checkers at each pipeline exit. PROCTOR demonstrates that deterministic guardrails (sandboxes, acceptance checks that outrank the LLM judge) intercept failures the judge itself cannot [22]. On cost: attaching an LLM judge to every tool call adds 500–2000ms to p99 latency and multiplies token cost by 2–3× [23] — verification must therefore be lightweight and sampling-based; this is a hard constraint, not a stylistic preference.
4. Lifecycle Norms
- Development: define a context budget per agent (system prompt, memory, tool output, history each with an upper bound); exceeding the budget triggers explicit cleanup rather than silent truncation; constraint-type instructions are structured and position-fixed.
- Testing: long-conversation stress tests (success-rate decay curves at 50/100/200 turns), abnormal-flow tests (tool errors, empty returns, garbled or oversized outputs), and routing adversarial tests (continuous misprediction-rate measurement on boundary-complexity query sets).
- Operations: trace-level behavior monitoring (record per-turn context composition so degradation can be traced to a specific pollution event), automatic circuit breaking (interrupt and escalate after N repeated errors of the same pattern), and sampled blind scoring by a low-cost judge model as a sentinel for silent collapse.
- Retirement: when a version is decommissioned, persistently clear its memories and cache prefixes to prevent “zombie memories” from being recalled by newer versions.
5. Evaluation
Whether governance works should be judged by decay curves rather than single impressive runs. A proposed metric system:
| Layer | Metric | Example criterion |
|---|---|---|
| Model | Long-horizon success-rate decay curve (RDC) [6] | ≥80% of first-turn success at 200 turns (suggested value, calibrate per business) |
| Routing | Misprediction rate + inter-tier quality gap | Widening gap triggers recalibration |
| Memory | Recall rate / pollution recall rate | Polluted memories carry audit marks |
| Perception | User complaint rate / blind-evaluation agreement | Falling complaints with unchanged blind scores indicates improved expectation calibration, not model quality; the two signals must be read separately |
6. Discussion and Limitations
Divergence from popular narrative: the community-popular hypothesis of “vendors silently swapping or downgrading models” is unfalsifiable, and context rot plus error cascading already account for the overwhelming majority of reproducible degradation with experimental evidence. A clear boundary is still required: vendors’ transparent cost engineering (KV quantization, tiered routing, sampling-parameter adjustment) does constitute a Type-B contributor — the problem is not cost reduction itself but its lack of observability and governance.
Limitations: first, no public measurement exists of KV quantization’s effect on attention precision; second, no authoritative statistic quantifies non-malicious tool pollution’s share of degradation — this article offers only a qualitative judgment; third, Type-C perceptual bias cannot be fully eliminated by engineering, and expectation management remains necessary.
References
[1] Hong K., Troynikov A., Huber J. Context Rot: How Increasing Input Tokens Impacts LLM Performance. Chroma Research, 2025-07. https://www.trychroma.com/research/context-rot
[2] Liu N. et al. Lost in the Middle: How Language Models Use Long Contexts. TACL 2024 (Stanford, 2023); and NIAH-variant studies including NoLiMa and AbsenceBench.
[3] Cemri M., Pan M.Z., Yang S. et al. Why Do Multi-Agent LLM Systems Fail? arXiv:2503.13657.
[4] Ibid. (MAST taxonomy: FC1/FC3; FM-1.3 step repetition at 15.7%).
[5] Where LLM Agents Fail and How They Can Learn From Failures. arXiv:2509.25370.
[6] Beyond pass@1: A Reliability Science Framework for Long-Horizon LLM Agents. arXiv:2603.29231.
[7] Think Twice Before You Act: Protecting LLM Agents Against Tool Description Poisoning via Isolated Planning. arXiv:2606.20922.
[8] SEAL: Towards Persistent Tool Poisoning Attack against LLM Agents via Prefix-Eliciting Trigger. arXiv:2610.25372.
[9] When Routing Collapses: On the Degenerate Convergence of LLM Routers. arXiv:2602.03478.
[10] Mishra O.J. The Silent Quality Collapse: Why Your LLM Router Is Secretly Destroying User Trust. DEV Community, 2026-10-05.
[11] Anthropic Engineering. Effective context engineering for AI agents. 2025-09-29.
[12] Claude Cookbook. Context engineering: memory, compaction, and tool clearing. platform.claude.com (current as of 2026).
[13] TrueFoundry. Just-in-Time Context for AI Agents: A Runtime Discipline. 2026-10-15.
[14] Anthropic. How we built our multi-agent research system. 2025-06.
[15] Claude Code Docs. Explore the context window. code.claude.com (auto-compact behavior, current as of 2026-11).
[16] DEV Community. How do I stop Claude Code from auto-compacting (and losing context)? 2026-10-16.
[17] Zylos Research. LLM Routing: Intelligent Model Selection for Cost and Performance Optimization. 2026-01-29.
[18] Ong I. et al. RouteLLM: Learning to Route LLMs with Preference Data. 2024; IntuitionLabs re-evaluation, 2026-09-05.
[19] clawrouters.com. Best Open-Source LLM Router 2026: LiteLLM vs RouteLLM vs Martian. 2026-03-23.
[20] Atlan. Best AI Agent Memory Frameworks in 2026. 2026-10-09; EdenAI. AI Agent Memory in 2026. 2026-07-09.
[21] Fountain City Tech. Agent Memory: 8 Knowledge Systems Compared for Production AI Agents. 2026-07-07.
[22] LLM-as-a-Judge Is Not an Oracle: Why Self-Improving Agents Need Deterministic Guardrails (PROCTOR). arXiv:2609.02246, 2026-09-02.
[23] Sewak M. Why 37% of AI Compliance Guardrails Deadlock in Production. Towards Deep Learning, 2026-11-03 (citing Yu et al., 2026).
This article is derived from the full report “Analysis of LLM ‘Degradation’ in Agent Use,” which additionally carries a multi-round independent-judge audit record and a source-mapping table for the thirteen industry cases.