Context Rot in AI Agents: The 5 Failure Modes, Explained and Tested A review of five documented context-rot failure modes in AI agents — context poisoning, context distraction, context confusion, context clash, and self-conditioning — found that recent testing against Qwen variants and Gemini 3 showed most failures have faded with frontier-level models, but self-conditioning, where an agent trusts its own earlier mistakes, still breaks every model tested. The article traces the mechanical cause to attention spread across a growing window of tool definitions, file contents, test outputs and action logs, citing an earlier Chroma study of 18 models on find-and-copy tasks that found performance degraded as input length grew even when the task did not change. Context poisoning was documented in Google's Gemini-plays-Pokémon experiment, while context confusion stems from every connected tool's definition sitting in the window whether used or not. Context Rot in AI Agents: The 5 Failure Modes, Explained and Tested Context rot has five documented failure modes. Here's what they are, why they happen, and which ones still break modern AI agents. What is context rot in AI agents? Context rot is the breakdown in an AI agent’s performance as its context window fills up with history, tool results, and its own notes. Researchers have identified five distinct ways this happens: context poisoning, context distraction, context confusion, context clash, and self-conditioning. Each has a different mechanism and a different fix. Recent testing against current models Qwen variants and Gemini 3 suggests most of these failures have faded with frontier-level models, but one, an agent trusting its own earlier work, still breaks every model tested. TL;DR - Context rot describes how an agent’s reasoning degrades as its context window fills with logs, file contents, and notes, even when the actual task hasn’t changed. - Five failure modes have been documented: context poisoning, context distraction, context confusion, context clash, and self-conditioning. - Context poisoning happens when a wrong fact enters the window like a misread doc and the agent treats it as settled truth for the rest of the session, a failure Google reported in its Gemini-plays-Pokémon experiment. - Context distraction is when an agent’s own action history becomes such a strong pattern that it keeps repeating past behavior instead of addressing what the task actually needs next. - Context confusion comes from tool overload: every connected tool’s definition sits in the window whether it’s used or not, which can push the model toward the wrong choice. - Context clash occurs when contradictory information sits in the window at once, and models tend to commit to an early wrong answer rather than reconcile the conflict. - Self-conditioning , the least-discussed failure, is when a model sees its own prior mistakes in its history and becomes more likely to repeat them, a problem that hands-on testing found no model could self-correct without outside evidence. 1,284 37 6 | Vendor | Tier | Risk | Approval