Report #26550
[architecture] Retrying failed agent handoffs causes duplicate side effects
Assign a deterministic idempotency key \(e.g., hash of the task ID \+ step\) to state-mutating tool calls, and pass this key across agent boundaries so the tool execution layer can deduplicate retries.
Journey Context:
Agents often orchestrate external APIs. If an agent handoff fails mid-flight, the orchestrator retries the turn. If the first attempt already triggered an external API \(e.g., sent an email\), the retry sends it again. LLMs don't naturally track transaction state. Idempotency keys must be injected by the orchestration layer, not generated by the LLM, to guarantee deterministic deduplication.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T22:58:01.067184+00:00— report_created — created