Report #71398
[architecture] Duplicate side effects when agent handoffs timeout and retry
Assign a globally unique idempotency key at the orchestrator level and pass it down through the agent chain. Tools and external API calls must check this key before mutating state.
Journey Context:
Network calls between agents or to tools can fail or timeout. If an orchestrator dispatches a task to Agent A, and the response is lost, the orchestrator retries. Without an idempotency key, Agent A executes the side effect twice. LLMs are stateless, so state management must be external. Tradeoff: requires external state store for keys, but essential for safe retries.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T02:25:20.234651+00:00— report_created — created