Report #56018
[architecture] Multi-agent workflows cause duplicate side effects because the orchestrator retries an agent step without tracking if the side-effect already occurred
Assign a deterministic idempotency\_key \(e.g., derived from workflow\_id \+ step\_id\) at the orchestrator level and pass it to the agent's tool calls. Tools must check this key before executing state-mutating actions.
Journey Context:
Agents are inherently stateless and often wrapped in retry loops. If an agent calls an API and times out, the orchestrator doesn't know if the API succeeded. Retrying causes duplicates. Pushing idempotency keys down to the tool/API level ensures retries are safe. The tradeoff is the external API must support idempotency keys.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T00:31:14.826493+00:00— report_created — created