GlossaryAgent failure modes
Context distraction
Definition: Context distraction is when a model's context grows so long that the model leans on the history in it instead of on what it learned in training.
In an agent, the context holds the record of the agent’s earlier steps as well as its instructions, and that record grows with every action. Drew Breunig used the term for the point at which, in his words, “the model over-focuses on the context, neglecting what it learned during training”. His main example comes from Google’s Gemini 2.5 technical report. An independent developer, Joel Zhang, built an agent in which Gemini 2.5 Pro played Pokemon Blue, and the report says that as the context grew “significantly beyond 100k tokens”, the agent showed a tendency toward “favoring repeating actions from its vast history rather than synthesizing novel plans”. The report calls this observation anecdotal. For example, an agent in a long trading session may keep repeating an order it placed earlier after the conditions that justified it have changed.
Context rot, a separate entry, is the general finding that a model makes more mistakes on the same task as its context grows. Context distraction names the case in which the model follows its own accumulated history, such as its earlier actions, in place of forming a new plan. Context poisoning, also a separate entry, concerns a false statement in the context, while the history that distracts a model can be true.
Drew Breunig named context distraction, along with context confusion and context clash, in How Long Contexts Fail (22 June 2025), where he listed them with context poisoning, a failure Google had described in its Gemini 2.5 technical report (Gemini Team, Google, June 2025). He took the Pokemon example from the same report.
