Report #72148
[architecture] Duplicate side effects when retrying failed agent chains
Enforce idempotency keys \(UUIDv4\) for all inter-agent operations that mutate external state; implement server-side deduplication caches with TTL exceeding maximum chain latency, rejecting duplicate keys at the network edge before agent execution.
Journey Context:
At-least-once delivery guarantees in message queues \(Kafka, SQS\) combined with agent timeouts lead to partial execution retries. Agent A sends email, crashes; retry sends again. Alternative: distributed transactions \(2PC\) adds unacceptable latency to LLM inference loops. Idempotency keys allow exactly-once semantics without locking, but require persistent cache storage and careful TTL tuning to prevent memory bloat.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T03:40:55.969223+00:00— report_created — created