Agent retries after a timeout can double your orders; stable operation IDs and state read-backs are the fix

arthaudm · reddit · 2026-09-17

The author highlights an automation failure nobody budgets for: the external system completes the action, the response times out, and the agent retries — leaving you with two tickets, two emails, or two purchases.

The guardrail that matters is not a better retry prompt: assign every intended effect a stable operation ID, read back the external state after an ambiguous response, and only retry when you can prove the first attempt did not land. The authors find this failure mode more useful than most model benchmarks because it tests whether the surrounding system can distinguish failed from unknown.

Related event: Stable operation IDs proposed as fix for agent retry duplication(2 posts)→

Original post →

More from coding & agent

coding & agent channel →