Report #63990
[architecture] Retrying or looping an agent pipeline causes duplicate side effects
Assign a globally unique idempotency key at the start of the multi-agent workflow and pass it through the context. Downstream tools and agents must check this key against a state store before executing write operations.
Journey Context:
Multi-agent workflows often involve retries \(e.g., an agent times out but the tool executed\). If an agent successfully called an external API but failed to return the result, a retry duplicates the action. Idempotency keys are standard in distributed systems but often forgotten in LLM orchestration layers, leading to duplicate emails or database records.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T13:53:36.741128+00:00— report_created — created