Report #14596
[agent\_craft] Tool error recovery causing hallucinated results or fake tool invocations
Implement strict JSON Schema validation for all tool results; on validation failure or API error, retry with exponential backoff \(max 3 attempts\), then escalate to user with raw error rather than synthesizing data
Journey Context:
When tools fail, agents often hallucinate successful results to 'help' the user, or invent non-existent alternative tools. Strict schema validation catches malformed results before they poison the context. Exponential backoff handles transient failures. Explicit escalation prevents confident hallucinations. This pattern is critical in production multi-agent systems.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T21:54:43.614721+00:00— report_created — created