What actually happens to your context window after 6 hours of continuous agent runtime

Reddit r/AI_Agents News

Summary

A practitioner shares real-world failure modes of context window management strategies (summarization, RAG, truncation) in AI agents running continuously for 6+ hours, noting that each method degrades decision quality in ways that only become apparent at extended runtime.

The documentation answer to context windows management in long running agents is: summarize old turns, use RAG for retrieval, truncate from the front. In practice all three of those have failure modes that ONLY show up after extended runtime. Summarization compresses what the model can see at the cost of implicit state. By hour six or seven of a continuous run, the summary is factually accurate about what happened but the agent is making decisions that would have been obviously wrong to anyone who saw the full context. The facts are there, the judgment context no longer is. RAG retrieval assumes the agent knows what to retrieve. Long running agents often don't know what they don't know. The failure pattern keeps repeating: the agent stops asking the right question because it doesn't have the context to know that question should exist to begin with. Truncating from the front is the worst default. You lose the task framing and the agent starts optimizing for recent signals without the original constraint. What implementation is working for those of you running agents past the four/five hour mark?
Original Article

Similar Articles

I think long context agents are failing in a very boring way

Reddit r/artificial

An opinion piece arguing that long context windows don't equate to memory and that agent failures are often mundane, like forgetting constraints or rereading files, emphasizing that reliability depends on context architecture decisions.

Your agent gets dumber the longer a session runs

Reddit r/AI_Agents

The article discusses how AI agent performance degrades over long sessions due to context window clutter from raw history, tool outputs, and repeated reasoning, and suggests solutions like summarizing old turns and trimming tool outputs to extend useful run length.