Shipped: Call4Agents: an approved agent action runs once, even after a crash
If an AI agent crashes right after a person approves an action, most agent frameworks run that action again on restart, so the payment goes out twice.
We measured it on 6 agent frameworks (newest PyPI versions, run 29-30 Nov 2026): 140 of 140 crash runs paid twice; 140 of 140 runs without a crash paid once. With Call4Agents: 180 of 180 paid once. Setup: Windows 10, stub models, a fake bank (a file). Full table: salahmakboul.github.io/call4agents/leaderboard/
Call4Agents is a small open-source Python library (Apache-2.0, pip install call4agents). It writes each approved action to a local record before it runs. After a crash, a finished action returns its saved result, and an action that may have run waits for a status check or a person instead of running again.
There is also a crash test you can run in CI on your own agent. I maintain the project and would like feedback from people running agents that take real actions (payments, emails, orders).






Comments
0 comments