Report #31601
[architecture] Retrying failed agent workflows causes duplicate side effects across agent boundaries
Attach an idempotency key \(e.g., a UUID derived from the workflow run ID and step index\) to the context passed between agents, and enforce idempotency at the tool execution layer of downstream agents.
Journey Context:
When Agent A delegates to Agent B and B's tool call times out, the orchestrator often retries the step. If B's tool writes to a database or sends an email, the retry duplicates the action. Because agents are stateless logic wrappers around tools, idempotency must be pushed down to the tool/API layer using keys passed in the agent context, preventing double-execution on orchestration retries.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T07:25:42.813553+00:00— report_created — created