Context rot explained: 5 failure modes, fixes, and one agents still can't beat

Prompt Engineering · youtube · 2026-11-28

A systematic walkthrough of context rot in long-running agents, based on Chroma's research, Drew Breunig's essays, and Manus's context engineering lessons. Five failure modes: poisoning (fix: validation), distraction (fix: compaction), confusion from too many tools (46 vs 19 tools study), clash, and self-conditioning, where agents reinforce their own outputs and miss their own bugs. Tested on Qwen and Gemini with a codebase-migration coding agent; full test harness and results are open-sourced in the context-rot-lab repo.

Original post →

More from coding & agent

coding & agent channel →