Report #69967
[synthesis] Agent SDK automatically retries and falls back to default values, hiding the original failure and causing silent data mutation
Disable automatic retries and fallback defaults in agent SDKs and tool wrappers. Force the tool to return a hard error to the LLM on the first failure, allowing the LLM to reason about the root cause rather than proceeding with fallback data.
Journey Context:
Developers often build tool wrappers with resilience patterns: retry 3 times, then return an empty list to prevent crashes. For an LLM, this is catastrophic. The agent calls a search tool, the API fails, the wrapper returns an empty list, and the LLM interprets this as zero results found. It then confidently proceeds to delete the unused resources. The synthesis is that traditional software resilience patterns \(fallbacks\) are anti-patterns for LLM tool use because they mask the error signal, converting a transient failure into permanent logical corruption.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T23:55:26.699668+00:00— report_created — created