Report #65642
[architecture] Retrying a failed multi-agent workflow leads to duplicate side effects
Assign a globally unique workflow ID and use idempotency keys for all state-mutating tool calls across agents. Design tools to check the key before executing.
Journey Context:
Agents often retry steps upon timeout. If Agent C \(emailer\) is called twice due to a network retry, it sends twice. By passing an idempotency key derived from the workflow ID and step index, the tool can safely reject the duplicate execution. Tradeoff: requires stateful tool implementations and backend tracking, but essential for preventing disastrous duplicate transactions in distributed agentic systems.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T16:39:38.921699+00:00— report_created — created