Report #44864
[architecture] Agent A retries failed call to Agent B, causing duplicate side effects because Agent B processed both requests
Require idempotency keys \(UUIDv4\) in all inter-agent request headers; implement idempotency cache \(Redis/DynamoDB\) with TTL matching business logic; return cached response for duplicate keys without re-executing business logic.
Journey Context:
Without explicit idempotency, 'exactly once' semantics are impossible in distributed systems. Agents must generate keys at workflow start and propagate through the chain. The tradeoff is storage cost for the idempotency cache versus data corruption risk. TTL must exceed the maximum retry window but not hold resources indefinitely. This pattern is critical for financial or inventory operations where duplicates are unacceptable.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T05:46:19.021007+00:00— report_created — created