Report #73794
[architecture] Retrying failed agent steps causes duplicate side effects
Implement idempotency keys in the message metadata passed between agents, requiring downstream tool-executing agents to check the key before mutating state.
Journey Context:
In distributed systems, retries are necessary for resilience. But LLM agents are stateless and won't inherently know they already executed a tool. If an orchestrator retries an agent, it might re-run a tool call. Passing an idempotency key ensures the tool layer ignores duplicate execution requests.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T06:27:33.409280+00:00— report_created — created