AI agents can double-charge customers on a simple retry, checkpoints don't fully fix it

BhAAI777 · reddit · 2026-09-04

A deep-dive post on agent idempotency: tools with side effects (charging cards, sending emails) get re-invoked when responses are lost on retry. crewAI's open GitHub issue #5802 documents duplicate payments and emails from this exact bug, with no fix yet. Counterintuitively, checkpoints don't fully solve it—crashing between action and checkpoint save recreates the same bug. The author notes payment APIs spent a decade solving this with idempotency keys, and asks how teams handle it in production agent loops.

Original post →

More from coding & agent

coding & agent channel →