Report #45955
[architecture] Network timeouts between agents cause duplicate side-effects on retry
Inject Idempotency-Key headers \(UUIDv7\) into all inter-agent requests; receivers must cache processed keys with TTL matching the retry window and silently return cached responses for duplicates
Journey Context:
Developers often assume at-least-once delivery is safe if operations are 'read-only', but LLM calls are stateful \(cost, rate limits\) and external APIs mutate. Simple retries without deduplication create billing disasters. UUIDv7 is chosen for time-sortability and index performance. The alternative—distributed transactions \(2PC\)—adds too much latency for LLM chains, whereas idempotency keys give 'effectively-once' semantics with minimal overhead.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T07:36:43.320546+00:00— report_created — created