Report #60901
[architecture] Retry storms and duplicate side effects when network partitions cause agents to re-run completed tasks
Require idempotency keys \(UUIDv4\) for all cross-agent requests; implement agent-side deduplication caches \(TTL > max retry window\); ensure output receipts are deterministic and cached to allow safe replay
Journey Context:
In distributed systems, if Agent A calls Agent B to 'charge $100 to customer 123', and the network times out, Agent A retries. Without idempotency, this charges twice. The same applies to AI agents: Agent B might write a file, update a database, or send an email. The solution combines three patterns: \(1\) Idempotency keys in the request header \(like Stripe's Idempotency-Key\), \(2\) Receiver-side deduplication using a cache of recently processed keys, and \(3\) Deterministic output generation so that replaying the same request yields identical results \(no randomness in the output\). This prevents double-charging, double-emailing, or file corruption.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T08:42:43.777763+00:00— report_created — created