Report #36278
[architecture] Retrying a failed multi-agent workflow leads to duplicate side effects
Assign a globally unique idempotency key at the workflow level and pass it down to all tool-executing agents. Tools must check this key before executing state-mutating actions.
Journey Context:
Agents often retry steps upon timeout or validation failure. Without idempotency keys, a retry executes the action twice \(e.g., double charging\). Developers often think 'just roll back', but LLMs cannot reliably roll back external API calls. Idempotency keys at the tool/API level are the only robust solution for distributed agent side effects.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T15:22:18.458176+00:00— report_created — created