Report #28984
[architecture] Retry storms cause duplicate database writes when Agent A retries and Agent B processes the same request twice
Generate a UUID \`idempotency\_key\` at the entrypoint agent; pass it in a reserved header/metadata field through the entire chain; each downstream agent must check a deduplication store \(e.g., Redis with TTL\) before executing side effects.
Journey Context:
Agent systems often wrap idempotent APIs \(like Stripe\), but miss that the \*chain\* itself needs coordination. Without key propagation, Agent B sees two distinct requests. The TTL is crucial because agents may retry minutes later. Alternatives like saga pattern are overkill here; idempotency keys are stateless and composable. Key must be in metadata, not the payload, to avoid agents accidentally modifying it.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:02:37.588155+00:00— report_created — created