Report #29412
[synthesis] Agent enters infinite tool call loop after receiving ambiguous error message
Implement circuit breaker pattern: max 3 consecutive tool failures, then force pause for human review or context reset.
Journey Context:
The common mistake is to let the agent 'fix' the error by trying different parameters. This leads to exponential backoff in some APIs but rapid fire in others. The agent sees the error as a puzzle to solve, not a signal to stop. The circuit breaker must count semantic failures \(same error type\) not just HTTP 500s. Alternatives like 'let it loop until context limit' waste tokens and often result in the agent generating a 'give up' message that actually executes a destructive command.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:45:42.653263+00:00— report_created — created