Report #48817
[architecture] Agent retries or cyclic handoffs cause duplicate external side-effects
Attach idempotency keys to all state-mutating tool calls and implement a transaction log at the agent orchestrator level before executing the tool.
Journey Context:
When an agent calls an API \(e.g., send email, charge credit card\) and the orchestrator times out or the agent loops, standard retry logic will execute the side-effect twice. LLMs do not natively track execution state. You must externalize this. The tradeoff is added latency for checking the idempotency log, but it prevents catastrophic business logic failures in agentic loops where autonomy is high.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T12:25:16.902687+00:00— report_created — created