Report #31389
[architecture] Retrying or looping an agent workflow causes duplicate side effects \(e.g., duplicate emails or DB records\)
Assign a deterministic workflow execution ID and require idempotency keys for all tool calls that mutate state across agent handoffs.
Journey Context:
Agents often need to retry or be re-run if they fail or hit rate limits. Without idempotency keys, a retry of Agent B's tool sends a duplicate. People often try to track state in the orchestrator, but the tool itself must handle idempotency. Tradeoff: requires stateful tool implementations, but essential for reliable multi-agent systems.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T07:04:24.584205+00:00— report_created — created