Skip to article
← All articles

Multi-agent · Explainer

What Is Context Rot, and Why Do Long AI Chats Get Worse?

Understand context rot, the Chroma research and Lost in the Middle. Diagnose long-chat failures and use fresh chats, handoffs and structured current state.

Longer input can make relevant information harder for a model to use.
AI-generated editorial cover
On this page

Context rot is a decline in a language model’s ability to use relevant information reliably as its supplied context grows, even when that information still fits inside the context window. If a long AI chat starts missing corrections or mixing old and new instructions, reduce the active context and bring forward verified current facts rather than the entire transcript.

What does the research actually show?

Chroma’s Context Rot: How Increasing Input Tokens Impacts LLM Performance, published July 14, 2025, evaluates 18 models. It varies context length and examines retrieval, distractors, conversational questions and repeated-word tasks. Its reported pattern is non-uniform use of context, with reliability often declining as input grows. Publication details and findings were checked November 20, 2026.

That finding does not mean every longer prompt performs worse. The report explores how task design and surrounding content change outcomes. It is evidence against assuming that capacity implies equally effective use of every supplied token, not a universal failure threshold for every current chatbot.

The earlier paper Lost in the Middle: How Language Models Use Long Contexts by Liu and colleagues studies multi-document question answering and key-value retrieval. Its arXiv record was submitted July 6, 2023 and revised November 20, 2023; checked November 20, 2026. Relevant information was often used better near the beginning or end than in the middle of the tested inputs.

The papers support related but distinct observations: input length can matter, and position can matter. Neither supplies a reliable “start a new chat after this many messages” rule for every product. Results from particular model versions and evaluation tasks should not be relabeled as a measured failure rate for your own account.

Context capacity and effective use are different things

A context window is a capacity limit; it is not a promise of equal performance across everything inside it. When diagnosing a failure, separate information that was never supplied, information removed by the application and information supplied but used incorrectly. Only the last case directly tests the within-context problem described here.

What happened?What it meansWhat to inspect
The source was never fetchedRetrieval or tool-use failureRequested record IDs and actual tool result
The application removed older materialTruncation or compaction lossVisible handoff and available request history
The source is present but overlookedPossible context-use degradationShort and long versions of the same task
The stored source itself is outdatedState maintenance problemVersion, effective time and superseded value

The distinction changes the remedy. Repeating the same question cannot retrieve a record the assistant never fetched. Starting a new chat cannot repair a wrong value in the database. Expanding the context window cannot establish which of several conflicting decisions is accepted. First find the failing boundary.

What does context rot look like in a real workflow?

Look for a pattern tied to accumulated context, not just an answer you dislike. Common warning signs include reviving a rejected option, missing an explicit correction, switching output format and treating an earlier plan as completed work. These are diagnostic examples, not proof of a particular internal cause.

Consider this fictional project. You first discuss a Friday launch, then change it to Monday after a review. Later, after a long debugging exchange, the assistant drafts a Friday announcement. Check whether Monday’s approval is actually available to the model and whether the current project record was updated. The same visible mistake can come from either problem.

Another fictional example is a workout review. An assistant repeats an earlier distance estimate after you supply the corrected activity. A confident paragraph does not tell you whether it read the new row. Ask it to identify the source record and correction before continuing the comparison.

If a fresh chat makes the same error with the same concise evidence, investigate ambiguous instructions, incorrect source data or a capability limit. Calling every mistake context rot makes the diagnosis less useful and can send you into repeated resets without fixing the underlying task.

Why can more context make answers less reliable?

More material creates more opportunities to select a passage that resembles the needed evidence without actually answering the question. Old plans, duplicated tool output and near-identical names can compete with the current instruction. In a real application, the context is assembled from many sources, so inspect that assembly as well as the conversation length.

Anthropic’s context engineering guidance, published September 29, 2025 and checked November 20, 2026, recommends curating high-signal context and discusses retrieval, compaction and structured notes. Those are engineering strategies for managing a finite resource. They do not prove that any one summary format repairs all long-context errors.

Avoid explanations that treat the model as a person whose brain gets tired. The model’s weights do not wear out during a conversation. The material supplied for the next response changes. If the active input contains several versions of a plan without clear status, the assistant has a selection problem before it even begins the substantive work.

Keep an observation separate from a theory about its mechanism. “The assistant answered correctly with a shorter input” is observable. “One particular attention head caused the failure” would require evidence this workflow does not provide. Practical diagnosis can improve the input without pretending to inspect the model’s internals.

How is context rot different from AI memory and state drift?

AI memory concerns what persists and can be retrieved across interactions. Context rot concerns how the model uses the information supplied for an answer. State drift occurs when the working representation of a task fails to keep up with changes in decisions, constraints, evidence or progress. These problems can interact, but they are not interchangeable.

ConceptStandalone definitionFictional example
AI memoryPersisted information available for later retrievalA preference is saved for future sessions
Context rotLess reliable use of relevant information as supplied context growsA present correction is overlooked in a long input
State driftWorking state no longer matches the latest accepted evidenceA failed operation remains marked complete
Trusted State ViewAn inspectable view of current state with evidence, time, version, permissions and explicit trust statusThe current plan separates confirmed progress from unresolved claims

SaveSlot’s public concept definitions, checked November 20, 2026, distinguish these terms. The sequence Context Rot → State Drift → Trusted State View describes a risk, a possible consequence and a way to inspect current state. It is a product framing, not a scientific claim that the first always causes the second.

State can drift in a short conversation if nobody records a correction. A long conversation can remain useful if the active task and evidence stay clear. A memory system can correctly retrieve an obsolete plan. The next step is therefore to check whether the retrieved record is current, not simply to retrieve more records.

The agent state layer explanation covers that record boundary. The memory setup comparison helps decide whether a file, notebook, memory API or structured store is enough for your work.

Start a fresh chat with the current task and verified evidence

A fresh chat is a useful intervention when accumulated history appears to interfere with a narrow task. Carry the accepted goal, active constraints, current evidence and next action into the new session. Leave out abandoned brainstorming unless it explains a decision the next action depends on.

  1. State the immediate task and the output you expect. Include the constraints that still apply.
  2. Bring the original source or a precise reference to it. Label the source date and unresolved questions.
  3. Ask the assistant to restate the current facts before acting. Correct that short restatement if necessary.
  4. Compare the result with the same question in the old chat. Keep the original thread available for omitted history.

Resetting has a cost: relevant details may be lost. If the work depends on a long chain of reasoning, preserve the supporting artifacts and accepted decisions rather than only the final conclusion. A new session should begin from a checkable handoff, not an unexplained claim that everything important has been preserved.

Write a handoff that separates decisions from completed work

A good summary keeps the distinctions needed for the next decision. It states what is current, what changed, what has been verified and what remains unknown. A polished narrative that drops those distinctions may be shorter while making the task harder to resume.

Fictional handoff example
Goal: Prepare the web launch announcement.
Current decision: Launch on Monday after approval.
Superseded: Earlier Friday launch proposal.
Source: Fictional launch-review note, revision 3.
Confirmed progress: Announcement draft exists.
Unverified: Final approval and production readiness.
Constraint: Do not publish without approval.
Next action: Read the review note and check the current draft.
Unknown: Exact publication time.

Verify the handoff against the source before using it. In particular, an assistant saying it updated a file is not the same as reading the saved file back. A command that started is not a completed operation. Preserve the evidence that changes a task’s status, and keep pending work visibly pending.

For coding work, use the cross-agent project handoff guide. For decisions that change over time, the current-decisions guide provides a fuller example of retaining history without treating every past choice as active.

Use structured state when corrections matter repeatedly

Structured state helps when the same current facts must survive repeated sessions or several assistants. Give a record a stable identifier, source, effective time, version and explicit uncertainty. Retrieve the relevant record before acting, then read it back after a correction. This improves inspectability; it does not establish real-world truth by itself.

A small reviewed file can be enough for a personal project. A table can work when several fields change independently. SaveSlot is one option for keeping such records across MCP clients, with Confirmed, Inferred, Unknown and Conflict status. Use another approach when a plain file already makes the current state and its evidence easy to inspect.

Start with a project-state template only if the structure saves repeated reconstruction. Do not move the entire transcript into every field. Keep source material available, and load the current record plus the evidence required for the immediate decision.

Check whether your fix improves the same task

Use a small comparison to avoid guessing. Ask a specific question with a known, source-backed answer using the existing long input. Then ask the same question with a concise verified handoff that preserves the needed evidence. Keep the model and task as stable as the interface allows.

Record whether the answer selects the current decision, cites the right evidence and respects unresolved status. Repeat the comparison across several representative questions before changing your whole workflow. A single improved answer is useful feedback, but it does not measure a universal context limit or isolate every possible cause.

If neither version works, improve the evidence or task definition. If the shorter version works but omits essential dependencies, revise the handoff. If the saved record is wrong, repair the update path first. Context management works best when it is tied to a visible failure you can test again.

Frequently asked questions about long-chat failures

These questions paraphrase concerns in a discussion of long-session quality and a discussion of resets and handoff files. Reports in those threads are anecdotes, not controlled evidence.

Why does AI seem to get worse in a long chat?

Accumulated context can make it harder to use relevant information, but that is only one possible cause. The application may have compacted older details, retrieval may have missed a source, or the stored record may be wrong. Check what evidence is available and compare the same narrow question with a concise verified handoff before diagnosing the cause.

Does opening a new chat fix context rot?

It can reduce interference from accumulated history, especially for a clearly bounded task. It can also discard useful evidence and earlier decisions. Start with a verified handoff and source references, then compare the result. If a fresh chat repeats the error, inspect the task and underlying records instead of assuming another reset will solve it.

Will a reset make me lose a design we just discussed?

It can, unless the design and its accepted status are saved somewhere the next session can read. Keep the actual artifact, the reason for choosing it and any active constraints. A handoff should point to those materials. Preserve rejected options only when they explain a decision; copying every brainstorm back in recreates the original clutter.

Should I reset at a fixed context percentage?

The cited research does not establish a universal percentage for every model and workflow. A product’s context meter measures capacity, not whether your particular question will be answered correctly. Use repeatable task checks and observed errors to decide when to compact or restart, and keep evidence needed to recover the work regardless of the meter.

Does automatic compaction preserve everything important?

Do not assume so. Compaction is a summary operation, and the details needed for your next action may not match what the summarizer retained. Review current decisions, constraints, incomplete work and source references after a handoff. If a detail matters for verification, preserve the original artifact rather than relying exclusively on a compressed narrative.

What if the assistant misinterprets me in a fresh chat?

That is a reason to investigate beyond accumulated history. Clarify the immediate task, remove ambiguous instructions and provide the exact evidence needed to answer. Ask the assistant to restate the current requirement before proceeding. A short input can still be unclear or wrong, and context rot is not a useful explanation for every misunderstanding.

Sources & notes

Check the linked official documentation for current product behavior. Illustrations and downloadable examples use fictional data; they do not demonstrate a live account connection or write.

Revision history

  • : Published a research-linked definition, diagnostic checklist and practical handoff example.

Prepared by Aiden with AI-assisted drafting and illustrations.

Keep exploring

All articlesLast updated