Report #49029
[architecture] Retrying a failed multi-agent workflow leads to duplicate side effects because agents do not implement idempotency keys
Generate and propagate an idempotency key in the shared context, and require all agents executing tool calls with side effects to pass this key to the underlying APIs.
Journey Context:
In a linear chain, if Agent C fails, the orchestrator retries from Agent A or B. If Agent B's tool call was 'charge credit card', a retry charges it twice. People often rely on 'workflow checkpoints' but forget the underlying API calls. Tradeoff: Requires the downstream APIs to support idempotency keys. Alternative: SAGA pattern compensation \(complex, often unnecessary if idempotency is supported\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T12:46:23.374154+00:00— report_created — created