# Perplexity — Context Rot in AI Agents: Why Long Tasks Lose Accuracy

- Company: Perplexity (perplexity.ai)
- Announced: 2026-11-18
- Category: not stated
- Coverage: not counted
- Announcement: no
- Group: routine
- Source: https://www.perplexity.ai/hub/blog/context-rot
- Record: https://forck.live/items/39861-context-rot-in-ai-agents-why-long-tasks-lose-accuracy
- Subject: Perplexity

Perplexity's explainer describes context rot, the gradual loss of accuracy that sets in as an AI agent's context fills up during a long task. An agent's context is everything the model can draw on for its next step, including instructions, earlier messages, search results and text from websites or files, and it grows as the agent works. Context rot is not the same as running out of room in the context window: it starts well before that point, while everything still fits, and it is not context poisoning either, since an agent with accurate, complete information can still experience it. Perplexity attributes the effect to limited attention, the mechanism by which a model decides which parts of its input to draw on, so the more text there is, the less attention each part gets. It cites a Chroma study of 18 models from Anthropic, OpenAI, Google and Alibaba in which a hidden sentence about writing advice was buried in a growing collection of essays; accuracy fell as more text was added, and the researchers predict a bigger drop in multi-step real work. Perplexity says the problem typically shows up as lost instructions, missed details from the middle of a task, mixed-up similar information, and errors that are hard to spot because the agent returns output that looks finished.

## Evidence

Verbatim from https://www.perplexity.ai/hub/blog/context-rot:

> Context rot in AI agents is the gradual loss of accuracy that sets in as an agent’s context fills up during a long task.
> 
> An agent’s context is the information the model has available for its next step. It can include instructions, earlier messages, search results, and text from websites or files. As the agent works, it may add more.
> 
> For example, say an agent’s task is to find suppliers that deliver within two weeks. At the start, its context holds only that request. Midway through the task, the context will also include the text of dozens of supplier websites, several pages of search results, and notes on which suppliers the agent has already checked.
> 
> There’s a limit to how much context a model can hold (called the context window). The window is measured in tokens, which are small chunks of text, usually a word or part of a word. Context rot increases as the context grows, which is why it’s most likely to occur in long tasks with many steps.
> 
> As context rot worsens, the agent will become less accurate. It might follow its original instructions less closely, overlook details, or mistake similar-looking information for what it needs.

---

Record: https://forck.live/items/39861-context-rot-in-ai-agents-why-long-tasks-lose-accuracy
Catalogue: https://forck.live/llms.txt
Current issue: https://forck.live/feed.md
