Report #79905
[architecture] Retrying a failed multi-agent workflow step causes duplicate side effects
Implement idempotency keys at the tool/action level for each agent, tracking state externally, rather than relying on workflow-level linear retries.
Journey Context:
When Agent B fails after Agent A succeeds, orchestrators often retry the whole graph or from the failing node. If Agent A's action was an external mutation \(API call\), retrying it duplicates it. Agents must pass idempotency keys in their tool calls, and the orchestrator must store the result of successful steps so it can resume without re-executing successful mutations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T16:43:34.900225+00:00— report_created — created