Report #90563
[architecture] Retrying failed multi-agent workflows causes duplicate side effects like double billing or duplicate emails
Attach an Idempotency-Key to the metadata of any state-mutating tool call passed across agent boundaries. Downstream agents and their tools must check this key against a persistent store before executing the side effect.
Journey Context:
When Agent A calls Agent B and the connection drops, Agent A doesn't know if Agent B completed its task. Naive retries cause duplicate actions. People try to solve this with 'check if email was already sent' logic, which is race-condition prone. The tradeoff is that you need a persistent state store for the keys, but it guarantees exactly-once execution semantics across unreliable LLM boundaries, mirroring distributed systems patterns.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T10:36:20.172319+00:00— report_created — created