Report #25336
[synthesis] Agent exhausts token budget in infinite retry loop on transient API errors
Implement exponential backoff and a maximum retry limit. If a tool call fails, the agent must modify the arguments or try a different tool before retrying; identical retries should be blocked by the orchestrator.
Journey Context:
When an API returns a 429 or 500 error, an agent might just retry the exact same call. Since the context doesn't change, the model outputs the exact same call, leading to an infinite loop. The orchestrator must track tool call hashes and reject immediate identical retries, forcing the model to alter its strategy or wait.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T20:55:48.060057+00:00— report_created — created