Report #96445
[synthesis] Agent loops endlessly on soft-failure tool responses without triggering error alerts
Set a threshold for consecutive 'empty result' or 'no-op' tool returns. If an agent calls a search or code execution tool and receives a soft failure \(e.g., empty array, exit code 0 but no changes\) more than twice in a row, force a strategy pivot or escalate, rather than allowing it to rephrase and retry.
Journey Context:
Agents often get stuck in sycophantic loops where a tool returns a 200 OK but with an empty or non-actionable result \(e.g., grep finds nothing\). The agent apologizes, rephrases the query, and tries again. Because no exceptions are thrown, standard APM tools see green. The degradation is purely in time-to-resolution and token burn. Treating soft-failure repetition as a critical error state is necessary to break these loops.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T20:27:56.152927+00:00— report_created — created