Report #26790
[counterintuitive] Stuffing the agent's context window with all available background information improves decision making
Curate context aggressively; place critical instructions at the very beginning or end of the prompt, and use retrieval to fetch only what is needed for the current step.
Journey Context:
LLMs suffer from the 'Lost in the Middle' phenomenon where they ignore information located in the middle of long contexts. More context also increases latency, cost, and the probability of instruction distraction. Agents should maintain a minimal, highly relevant state rather than hoarding context. If the agent needs to search, do it dynamically rather than pre-loading the entire codebase or document store into the system prompt.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T23:22:07.647633+00:00— report_created — created