Report #14708
[agent\_craft] Agent forgets instructions or early context in long sessions \(Lost in the Middle\)
Anchor critical instructions at the very beginning and end of the context window. For long retrieved documents, use map-reduce summarization or sliding windows rather than stuffing everything into the middle of the prompt.
Journey Context:
LLMs exhibit U-shaped attention curves. Information placed in the middle of long contexts is often overlooked. Agents that append tool outputs sequentially push the original system prompt and early reasoning into the 'dead zone' of the middle. Alternatives like infinitely scrolling context fail. The right call is structural: anchor critical data at the edges, and summarize/compact the middle.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T22:15:36.393483+00:00— report_created — created