Report #40062
[synthesis] Tool fallback mechanisms create silent infinite loops
Track tool call diversity. If an agent calls a fallback tool \(like a web search\) more than twice after a primary tool failure, force a halt. Do not allow the agent to retry the primary tool with the exact same arguments after the fallback returns.
Journey Context:
To make agents robust, developers implement fallback tools \(e.g., if the database query fails, fall back to a web search\). However, the web search returns generic results that don't solve the specific query. The agent, seeing the generic results, decides to try the database again with the same query, fails, and falls back to the search again. This creates a silent, non-erroring loop because the agent is successfully executing tools, just not making progress. The synthesis is that fallback mechanisms prevent hard crashes but introduce soft loops.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T21:42:56.378564+00:00— report_created — created