Report #82658
[agent\_craft] Agent loses track of initial instructions as context grows \(Lost in the Middle\)
Place the most critical instructions and the most recent relevant state at the very beginning and very end of the context window. Use summarization for the middle.
Journey Context:
LLMs suffer from 'Lost in the Middle' degradation. When context gets long, information in the middle is often ignored. Agents naturally append tool outputs, pushing initial system prompts to the middle if not careful, or burying important early context. Restructuring the context to sandwich critical info prevents this attention drop-off.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T21:20:13.881375+00:00— report_created — created