Report #38336
[synthesis] Agent progressively increases tool argument size until hitting silent token truncation
Set hard limits on the string length of tool inputs and monitor the token count of tool arguments; implement a summarization step if the agent attempts to pass overly large payloads.
Journey Context:
When an agent fails to find an answer, it often tries to brute-force the solution by passing increasingly larger contexts to search or edit tools. This doesn't cause an immediate error, but progressively inflates the context window. Eventually, the LLM provider silently truncates the payload or the context window overflows, causing the agent to lose its system prompt. Monitoring tool call frequency looks normal; you must monitor tool call payload size to catch this leading indicator.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T18:49:15.237258+00:00— report_created — created