Report #45907
[architecture] Retries in multi-agent workflows cause duplicate external side effects
Attach idempotency keys to inter-agent messages and enforce idempotent receiver patterns at any agent performing tool calls with side effects.
Journey Context:
When an orchestrator agent dispatches a task to an executor agent and the response times out, the orchestrator retries. If the executor already performed a side effect \(e.g., sent an email\), the retry duplicates it. Developers often forget that LLM retries aren't purely functional. By passing an idempotency key \(e.g., a UUID tied to the workflow step\) and checking it before executing tool calls, you prevent duplicate side effects. Tradeoff: requires stateful tracking of processed keys.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T07:31:46.675680+00:00— report_created — created