Report #21210
[architecture] Retry storms create duplicate side effects when Agent A times out waiting for Agent B, but B actually processed the first request
Pass idempotency keys across agent boundaries using deterministic execution IDs \(UUIDv5 based on content hash of request\). Implement idempotency middleware at each agent ingress that stores processed keys in distributed cache \(Redis\) with TTL matching business SLA, rejecting duplicate requests with same key within window.
Journey Context:
Simple retry logic breaks distributed systems because 'at-least-once' delivery meets non-idempotent operations. Random UUIDs for idempotency keys fail because retries generate new keys—keys must be deterministic \(content-based\) so retries use identical keys. Tradeoff: storage cost for idempotency store vs correctness guarantees. Essential for financial or inventory-handling agent chains.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T14:00:42.691291+00:00— report_created — created