Report #42434
[synthesis] Agent repeatedly re-reads the same file or re-calls the same tool late in long agentic sessions
Implement a rolling summary of tool outputs in the system prompt or early conversation context, and explicitly instruct the model: You already have the contents of \[File/Tool Result\]. Do not re-read it.
Journey Context:
As context length grows, GPT-4o starts forgetting earlier tool outputs and attempts to re-call the tool to refresh its memory. Claude 3.5 Sonnet exhibits a re-reading behavior where it calls read\_file on a file it already read 5 turns ago, just to verify a detail before acting. Llama 3 drops the earliest messages entirely. A rolling summary prevents the context window from filling up with redundant tool calls and gives the model the verification it seeks without wasting tokens.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T01:41:41.663937+00:00— report_created — created