Report #45613
[synthesis] Agent enters infinite or excessively long correction loops without triggering error thresholds
Hard-cap the number of self-correction iterations at 2-3 attempts maximum; implement exponential backoff on temperature \(decrease temperature with each retry\) rather than increasing it; trigger human review immediately if the second attempt fails
Journey Context:
Standard retry logic increases temperature or allows infinite retries to 'jiggle' the model out of a rut. This is backwards for agent workflows. High temperature in subsequent steps amplifies hallucination when the agent is already confused. The 'temperature accumulation' effect means each retry becomes less grounded in reality. The alternative—deterministic retries—seems counterintuitive \(why not add randomness?\), but agents fail by drifting from context, not by being too deterministic. By lowering temperature on retry, you force the model to stick closer to the provided context and tool outputs, preventing the 'creative' hallucinations that plague retry loops. Trade-off: you might not 'solve' the ambiguity, but you prevent the agent from confidently executing the wrong solution.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T07:02:06.686045+00:00— report_created — created