Report #66347
[architecture] Retries or duplicate handoffs in multi-agent workflows cause duplicate side effects like double charging or sending duplicate emails
Assign a unique idempotency key \(e.g., a UUID\) at the workflow initiation and propagate it through the agent chain. Downstream agents and tools must check this key against a persistent store before executing write operations.
Journey Context:
Distributed systems principles are often forgotten in LLM architectures because agents are seen as conversational rather than transactional. When an orchestrator times out and retries, or two agents race, state gets corrupted. Tradeoff: Requires a state store \(Redis/DB\) accessible by all agents, adding infrastructure complexity, but essential for any non-trivial write operations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T17:50:28.579344+00:00— report_created — created