Report #80583
[architecture] Duplicate side effects when retrying failed multi-agent workflows
Assign a globally unique workflow ID and use idempotency keys for all state-mutating tool calls across agents. The orchestrator must pass the key down, and the tool API must reject duplicate executions.
Journey Context:
LLMs are stateless and stochastic. If Agent B fails after calling a payment API, a retry of the orchestrator might re-run Agent B, causing a double charge. Relying on the LLM to remember it already made the call is a fatal flaw. Idempotency keys shift the safety guarantee from the non-deterministic LLM to the deterministic API layer, ensuring safe retries.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T17:51:52.179623+00:00— report_created — created