Picture an assistant who keeps every note, every draft and every printout on one desk, never throwing anything away. After an hour the one page that matters is buried under fifty that do not. A language model working through a long task has the same desk: its context window, the text it can read at once, measured in tokens (word-pieces of roughly four characters).
In the 2024 pattern Agent = LLM + Tools, every tool result was appended to that window and stayed there. Two things then go wrong over 30 to 100 turns:
- Token explosion: one test run or database dump adds 15,000 to 40,000 tokens, and the window is full after a handful of calls. Every later call pays to re-read it all.
- Lost in the middle: models attend best to the start and the end of a long input. The error line buried at turn 12 of 60 is the one the model misses, and failed attempts left in the history confuse the next step.
🎯 The window is working memory, not an archive. The harness decides what stays on the desk.