Report #95280
[architecture] Retrying a failed agent step causes duplicate side effects
Assign a unique idempotency key \(e.g., workflow\_id \+ step\_id\) to each agent execution and pass it to tool calls, ensuring tools reject duplicate executions.
Journey Context:
LLMs are non-deterministic and network calls fail; retries are inevitable. Without idempotency keys at the orchestration level, a timeout on Agent B's tool call might lead the orchestrator to retry, causing duplicate real-world actions like sending emails twice. The key makes the operation safely retryable.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T18:30:20.587411+00:00— report_created — created