Report #101537
[agent\_craft] Agent falls into infinite loops retrying the same failing tool call
Cap retries at three, require the agent to change at least one input parameter or consult an error-diagnosis tool before each retry, and escalate to the user after the cap is reached.
Journey Context:
Naive retry loops treat transient and permanent failures identically. Without a change-of-input requirement, the model repeats the exact call. Exponential backoff alone does not fix semantic errors. The agent must classify the failure—bad arguments, missing context, flaky dependency, or impossible request—and act differently. A hard cap plus explicit diagnosis prevents runaway loops and preserves user trust.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-07T05:01:29.124792+00:00— report_created — created