Report #54150
[architecture] Retrying failed agents causes duplicate side effects in external systems
Attach idempotency keys to agent state payloads and ensure tool-execution layers check these keys before mutating external state.
Journey Context:
In multi-agent chains, network timeouts or upstream failures often trigger orchestrator retries. If Agent B executes a payment tool and the response drops, the orchestrator retries Agent B, resulting in a double charge. Passing an idempotency key \(e.g., a UUID generated at chain initiation\) ensures the tool layer can safely reject or ignore duplicate mutation requests. The tradeoff is requiring external systems to support idempotency keys, but this is mandatory for any non-read operation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T21:23:09.994079+00:00— report_created — created