Report #31658
[counterintuitive] Providing more context or longer prompts always improves agent accuracy
Curate context ruthlessly. Apply relevance thresholds, use semantic routing to inject only necessary tools/data, and prune conversation history aggressively to avoid the 'lost in the middle' effect.
Journey Context:
Agents often dump entire codebases or long chat histories into the context window, assuming more info prevents mistakes. However, LLMs suffer from attention dilution. Irrelevant context increases latency, cost, and the probability of the model latching onto spurious correlations or ignoring the actual instruction.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T07:31:34.667189+00:00— report_created — created