agentsignal-check 0.4.0 · MIT
Approved once. Charged twice. Test your LangGraph agent in 2 minutes.
Your agent pauses for a yes. If a restart hits, it runs the charge again. This free test shows you if that happens to you.
pip install "agentsignal-check[langgraph] @ git+https://github.com/agentsignal/agentsignal-check@v0.4.0"Free, with no signup. It runs on your laptop.
You ship an agent that asks before it pays
Imagine it works in every test. Then one night you deploy while it waits for a yes.
The person clicks approve. Once.
The next morning, two charges sit on the same card.
Here is what went wrong
When LangGraph picks a paused run back up, it starts that step over.
So anything the step did before the pause runs again.
“the runtime restarts the entire node from the beginning.” LangGraph docs
See it in your own graph
The test does what your deploy did. It stops your graph mid-approval and starts it again.
Then it counts the charges and prints PASS or FAIL.
Tap through it · runs in your browser
Approved once. Charged twice.
A simulated LangGraph approval flow. Tap each step and watch the charge count.
- 1 approve
- 2 charge
- 3 crash
- 4 resume
crash-sim — python
step 0/4
Naive graph
charges 0
With idempotency key
charges 0
total charged
$0 vs $0
Run it on every pull request
Add the free GitHub Action so a FAIL shows up before you merge:
- uses: MounirMeziani/agentsignal-check-action@v1.3.2
with:
target: myapp.graph:build
effect: myapp.payments:charge
version: v0.4.0If it says FAIL
Fix it yourself with what the test shows you.
Or we fix it for $79. Send a minimal repro. You pay $79 only when our patch passes it.
For engineers
The node reruns after interrupt(). The checkpointer saves state, not side effects. The usual fix is an idempotency key on the charge.
Approved once, charged twice? Find out in 2 minutes.
pip install "agentsignal-check[langgraph] @ git+https://github.com/agentsignal/agentsignal-check@v0.4.0"Free, with no signup. It runs on your laptop.
pip install "agentsignal-check[langgraph] @ git+https://github.com/agentsignal/agentsignal-check@v0.4.0"Free, with no signup. It runs on your laptop.