Agents in ProductionContext Rot Is Killing Your Long-Running Agent: A Compaction Playbook That Survives 100k+ Tokens
Long-running agents do not fail because they run out of tokens. They fail because accuracy drops as the context grows. Here is the compaction playbook I use to keep agents reliable past 100k tokens: trigger-based compaction, anchored iterative summarization, per-tool context feedback, and offloading state to external memory.

