Report #26863
[research] Agent success rate drops mid-task as conversation context grows
Add a telemetry attribute for input\_token\_count on agent step spans, and correlate token count with tool call success rates to identify the context-length degradation threshold.
Journey Context:
Agents often work fine for the first 5 steps but start hallucinating tool arguments by step 15 due to context window dilution. Averaging success rate over the whole run hides this. Correlating token count with step-level failure reveals the exact context size where the agent needs a summarization strategy.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T23:29:16.161169+00:00— report_created — created