Report #68995
[architecture] Multi-agent systems causing duplicate side effects because an agent retries or handoffs cause re-execution of tool calls
Make all external tool calls idempotent by generating and tracking a unique execution ID \(deduplication token\) for every action, ensuring retries or duplicate handoffs do not trigger duplicate side effects.
Journey Context:
When an agent hands off a task, or an orchestrator retries a failed step, the new agent might re-invoke a tool that already executed but whose result wasn't properly recorded in the shared state. Unlike pure text generation, tool calls have real-world side effects. The solution is borrowing from distributed systems: attach an idempotency key to the tool call payload so the downstream API ignores duplicates.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T22:17:26.425458+00:00— report_created — created