Attention Entropy
Progressive reasoning degradation as session debris and noise accumulate.
On Monday, the whiteboard in a shared office holds one clean diagram. By Friday it holds that diagram, two abandoned versions of it, a phone number, a lunch order and a half-erased "DO NOT ERASE." Every mark made sense at the time. Now anyone who walks up needs a minute to find Monday's diagram, and might copy an arrow from the wrong version.
Long agent sessions age the same way. Each turn leaves something behind: a failed attempt, a plan that was later revised, a tool result that mattered for one decision. None of it was a mistake to produce. But it stays in the window, and the agent reads all of it on every turn. Over time its reasoning blurs. It re-checks things it already checked, mixes details from abandoned approaches into the current one, and takes longer to commit. The Guide calls this slow decay attention entropy, borrowing the physicist's word for disorder that only grows unless something does work to reduce it.
In practice
Here is a data-cleanup agent deduplicating a customer table. Watch the plan from turn 2 come back to life twenty turns later.
- T1
run_sql("SELECT count(*) FROM customers")→ 48,210A sensible first look at the table. - T2
run_sql("... GROUP BY email HAVING count(*) > 1")→ 1,904 duplicate emailsPlan: dedupe on email. - T3
run_sql("... GROUP BY email, phone HAVING count(*) > 1")→ 1,212 duplicate pairsShared family emails exist. New plan: dedupe on email plus phone.The email-only plan is dropped in the agent's head, but nothing in the context says so. - T4
run_sql("DELETE ... WHERE email IN (...)")→ 1,904 rows deletedApplying the dedupe.Twenty turns of queries later, the agent executes the abandoned plan. Both plans were in the window, and neither was marked dead.
No single turn was wrong. The failure came from accumulation: a dead plan that still looked alive.
Why it matters
Entropy is why an agent that is sharp at turn 5 gets sloppy at turn 50, and why a bigger window does not fix long tasks. The decay is gradual, so there is no error to alert on. It shows up as more turns per step, repeated checks, and the occasional action taken from a plan the agent already gave up.
What to do about it
Entropy only goes down when something does work to reduce it. H-14 Memory Metabolism is that work: run noisy exploration in sub-agents, close finished threads, and compact into a clean state that records which plans were dropped. H-03 Token Hygiene & High Observation Yield slows the rate at which debris arrives. H-04 Freshness & Context Half-Life marks superseded results as superseded, so dead material stops looking current.
Related
Context loadLexicon · 13Context LoadTotal tokens competing for attention inside the context window. is how much the window holds, while entropy is how disordered it is, so a small messy context can perform worse than a large tidy one. Context distractionLexicon · 22Context DistractionAccumulated history drowning out the core objective and instructions. is one specific outcome of entropy, where the pile of history buries the original goal. Inhale / exhale loopsLexicon · 44Inhale / Exhale LoopsAlternating between acquiring working context and deliberately shedding debris. describe the rhythm that keeps entropy in check: gather context, act, then shed the debris.