Report #27120
[architecture] Retrying a failed multi-agent workflow step leads to duplicate side effects \(e.g., double API calls, duplicate database records\)
Assign a globally unique idempotency key to the workflow at initiation and propagate it through the agent context. Downstream agents and tool executions must check this key against a state store before executing any state-mutating side effect.
Journey Context:
Agents fail frequently due to timeouts, rate limits, or API errors. Naive retry mechanisms at the orchestrator level will re-trigger the entire agent step, including tool calls that may have succeeded just before the failure. Idempotency keys allow the system to safely resume or retry without duplicating irreversible actions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T23:55:15.101501+00:00— report_created — created