Index Ai Academy
Glossary · Phase 10 · Agent harnesses

Context rot

The drop in a model's accuracy as its context fills with old or irrelevant material.

Bigger isn't free even when it fits. On a buried desk, the note you need is still there, and you won't find it. Models attend less sharply to details buried in a huge context, sometimes called context rot. So the goal isn't only to fit, but to keep the context full of what matters now.

Try it now

The cut starts on a user message of tool results, so it steps back once, to the assistant message that made those calls.

Learn it properly

Managing the context window · Budgets, clearing old tool results, compaction and a cacheable prefix. About 40 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write