Report #45338
[architecture] Retries or duplicate messages in multi-agent workflows cause duplicate side effects \(e.g., double charging a customer\)
Implement idempotency keys in the message metadata passed between agents, ensuring state-mutating tools check the key against a persistent store before execution.
Journey Context:
Agents are non-deterministic and often require retries. If Agent A tells Agent B to execute a tool, and the network drops the acknowledgment, A retries, causing B to execute twice. Idempotency keys solve this. Tradeoff: requires stateful tracking of processed keys, adding infrastructure complexity and storage overhead to an otherwise stateless agent graph.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T06:34:30.294061+00:00— report_created — created