Report #65905
[architecture] Retrying a failed multi-agent workflow causes duplicate side effects
Assign a globally unique idempotency key \(workflow ID \+ step ID\) to each agent transition and enforce idempotent writes in tool execution
Journey Context:
LLMs are non-deterministic. If Agent B fails after executing a tool and the orchestrator retries the step, Agent B might call the tool again. Without idempotency keys at the orchestration layer, retries cause duplicate real-world actions \(e.g., duplicate emails\). Tradeoff: requires stateful orchestration and tool-level idempotency support, adding architectural complexity.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T17:06:18.790304+00:00— report_created — created