Measured 2026-11-19 · next rerun 1 December 2026
Crash test leaderboard: does one approved payment run twice after a crash?
A person approves one payment. The tool pays. The process is killed right after, before the framework saves its progress. A new process resumes the way the framework documents. We count the payments.
The result
With each framework's documented default resume, every crash run made 2 payments (110 of 110 runs) and every control run with no crash made 1 (110 of 110). With the same agents and Call4Agents 0.7.3 on the tool, every crash run made 1 payment (150 of 150): the agent stopped and asked a person instead of paying again.
| Framework | Version | Date | Crash after the approved payment, then resume | Control, no crash | Same agent with Call4Agents 0.7.3, crash, then resume | How it was resumed |
|---|---|---|---|---|---|---|
| LangGraph | langgraph==1.2.22langgraph-checkpoint-sqlite==3.1.3langgraph-checkpoint==4.3.2 | 2026-11-19 | 2 payments in 30 of 30 runs | 1 payment in 30 of 30 runs | 1 payment in 30 of 30 runs the agent stopped and asked a person in 30 of 30 | SqliteSaver; graph.invoke(None, config) with the same thread_id; Command(resume="yes") if it asks again (docs) |
| Pydantic AI | pydantic-ai-slim==2.70.0 | 2026-11-19 | 2 payments in 30 of 30 runs | 1 payment in 30 of 30 runs | 1 payment in 30 of 30 runs the agent stopped and asked a person in 30 of 30 | run_sync(message_history=stored, deferred_tool_results=DeferredToolResults(approvals=...)) (docs) |
| OpenAI Agents SDK | openai-agents==0.25.0openai==3.55.1 | 2026-11-19 | 2 payments in 30 of 30 runs | 1 payment in 30 of 30 runs | 1 payment in 30 of 30 runs the agent stopped and asked a person in 30 of 30 | RunState.from_json, approve, Runner.run(agent, state) (docs) |
| Google ADK | google-adk==2.14.1google-genai==2.34.0 | 2026-11-19 | 2 payments in 10 of 10 runs | 1 payment in 10 of 10 runs | 1 payment in 30 of 30 runs the agent stopped and asked a person in 30 of 30 | resumable App, SqliteSessionService, run_async(..., invocation_id=...) (docs) |
| Microsoft Agent Framework | agent-framework-core==1.26.0 | 2026-11-19 | 2 payments in 10 of 10 runs | 1 payment in 10 of 10 runs | 1 payment in 30 of 30 runs the agent stopped and asked a person in 30 of 30 | FileCheckpointStorage; workflow.run(checkpoint_id=...) from the newest checkpoint (docs) |
Controls with Call4Agents: 1 payment in 25 of 25 runs. Python 3.12.10, Windows 10, one machine; runs started between 2026-11-18 23:55 and 2026-11-19 00:54 UTC. 450 run files, all published below.
Notes on single rows
- LangGraph asked for the approval again in 1 of 30 crash runs; the test answered yes, and those runs also made 2 payments.
- Google ADK did not ask again in any crash run (0 of 10).
- Microsoft Agent Framework, extra case: resuming from the checkpoint saved before the
yes asked the person again in 5 of 5 runs, and after that second yes made
2 payments in 5 of 5 runs. With Call4Agents: 1 payment in 5 of 5 runs. Installed as
agent-framework-core(theagent-frameworkmeta package did not install on this machine). - Pydantic AI was installed as
pydantic-ai-slim.
What this means, and what it does not
This is a measured fact about the default setup, not a bug report. Doing an action and saving that it was done are two separate steps in any system that saves progress after doing work. If the process dies between them, a resume runs the action again: at-least-once execution. Several of these frameworks say so in their docs and ask that tools with side effects be idempotent. A tool that sends a stable idempotency key to a provider that honours it would also make 1 payment here, with any framework.
| Framework | What its docs say about resume and side effects (read 19 Nov 2026) |
|---|---|
| LangGraph | A node restarts from its beginning when resumed; side effects before interrupt must be
idempotent. Interrupts |
| Pydantic AI | Durable-execution integrations replay completed steps from a journal and retry the one in flight. Deferred tools, Durable execution |
| OpenAI Agents SDK | An approval lets a tool call run; it does not guarantee exactly-once execution, and resuming from an older approved state can run the tool again; it suggests a stable idempotency key per action. Human-in-the-loop |
| Google ADK | Tools run at least once and may run more than once when resuming; modify the tool to check for and prevent duplicate runs. Resume stopped agents |
| Microsoft Agent Framework | We found no sentence on running a tool again after a restore. Corrections welcome. Checkpoints |
With Call4Agents the resumed call raised EffectInDoubt in every crash run: the record says the payment
started and has no result, so it does not pay again by itself and waits for a person (or for a lookup at the
provider, reconcile=, which these runs do not use). The run does not finish on its own.
Method
- The agent asks to call
pay(amount=10, to="alice"), a tool that needs approval. The run pauses and the framework saves its state the way its docs say. - A person says yes (scripted). The tool appends one line to a local payments file and the process is killed with
os._exitright after, so no cleanup code runs. - A new process resumes from what was saved, the way the framework documents (last column of the table).
- The payments file is counted. The count comes from the file, never from what the framework reports.
Fake models, so no API key, no network and no real money. Each phase is a separate process and each run a new
temp folder. Each framework has its own Python environment; the exact packages are in pip_freeze/. The
control run is the same with no kill. The Call4Agents runs are copies of the same scripts with the tool wrapped as
c4a.effect(pay, name="pay", approval=True), the record kept outside the framework's state, the run id
taken from the framework's resume id; every change is in scripts_guarded/DIFF.txt.
Rerun a row: one command
Download call4agents-leaderboard-2026-11-19.zip (359 KB, SHA-256
56c738dd2df2b42e223d092c31b767f70a95064db600fae2ec193a8d57d44340): every run file, the scripts, the drivers, the pip freezes and the
counts. Or read the files one by one, starting at
README.txt and tally.txt.
python -m venv .venv # then activate it
pip install "langgraph==1.2.22" "langgraph-checkpoint-sqlite==3.1.3" "call4agents==0.7.3"
python rerun_row.py langgraph --n 30 --guarded
The packages for each row (leave the versions out to test the newest releases):
langgraph pip install "langgraph==1.2.22" "langgraph-checkpoint-sqlite==3.1.3"
pydantic_ai pip install "pydantic-ai-slim==2.70.0"
openai_agents pip install "openai-agents==0.25.0"
google_adk pip install "google-adk==2.14.1"
microsoft_agent_framework pip install "agent-framework-core==1.26.0"
rerun_row.py copies the drivers into a new folder, runs the crash and control cases (and, with
--guarded, the same with Call4Agents), and prints the count. A run took 4 to 28 seconds on our machine.
How to correct a row
If a script does not use your framework the way its docs say, or a newer release changes a result, open an issue or a pull request on github.com/salahmakboul/call4agents with:
- the
my-rerun-...folder thatrerun_row.pywrote, with the run files unchanged; - your
pip freeze, Python version and operating system; - one line on what you changed and why, ideally with a link to the framework's docs.
We rerun it, reply in the thread with our files, and if they agree the row is replaced, with a link to your issue. A different configuration (a durability mode, a retry policy, a durable-execution add-on) is welcome as an extra row next to the default one; the default row stays, because that is what a new user gets.
Monthly rerun
We rerun every row once a month with the newest release of each framework, and add the result here with its date; older results stay listed. Next rerun: 1 December 2026.
Limits
- One Windows 10 machine, Python 3.12.10. No Linux or macOS run in this table yet.
- One tool, one fake model, one crash point (inside the tool, right after the payment). Other crash points, real models and multi-step plans are not covered.
- Defaults only. Durability modes, retry policies and durable-execution add-ons were not turned on.
- A fake payments file with no idempotency keys. A real provider that drops duplicate requests by key changes the result for every row.
- 10 to 30 runs per case show that an outcome happens. They are not a rate.
- We maintain Call4Agents, the library in the last result column. The scripts and every run file are public so anyone can check or correct this page.
More scenarios (a lost answer, two workers resuming at once, an edited approval, a "no" after a "yes") for three
of these frameworks are in the open benchmark. To run the same kind of test on your own
agent in CI, see call4agents crashtest and the GitHub Action in the
README.