Report #75691
[architecture] Retrying a failed agent step causes duplicate side effects
Assign a deterministic correlation ID \(workflow\_id \+ step\_id\) to every agent invocation. Downstream tools must check this ID before executing state-mutating actions.
Journey Context:
Multi-agent systems often retry tasks if an agent crashes or times out. Without idempotency keys, a retry executes the action twice. Developers often try to make the agent 'smart enough' to check for duplicates, but agents are stateless and unreliable for this. The architecture must enforce idempotency at the tool/API level, just like distributed microservices.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T09:38:38.484872+00:00— report_created — created