agent_signal

Run the free scan and see it fail. Then get it fixed in 1 business day.

One approval, two charges. Our free crash test shows if your AI agent does this. If it does, we fix it within 1 business day for $490.

First 3 fixes are free. You just give us a short quote about the result.

Run the free crash test

How it works

  1. Run the free crash test. It shows PASS or FAIL for your agent in 2 minutes.
  2. If it fails, send us the form below. We reply by email with a payment link.
  3. We fix it within 1 business day. You get tested fix code or a pull request.
  4. We check again for 3 months. Once a month we re-run the double-charge test on your agent and email you the result.

Re-checks need read access to your repo or a test endpoint for 3 months. You can remove it anytime.

Sample finding and fix

We tested a refund agent on the Vercel AI SDK. On ai@7.0.148, one $500 approval sent twice refunded twice. On ai@7.0.153, it refunded once.

The sample has the finding, the real test output and the fix, one page long.

See a real sample

Sample Approval-Flow Safety Review (one page)

Agent under review: our own test agent, a support bot that refunds orders after a person approves. Framework: Vercel AI SDK (ai), generateText with toolApproval. It runs offline with a mock model. This is a real test we ran on Mon Oct 26, 2026, 8:07 AM MT. It is not a client's agent.

Finding 1: one approval sent twice refunds twice (HIGH)

What happens: the refund tool needs approval for amounts over $100. A person approves a $500 refund on order 42. The same approval reaches the server twice, as it would from a double-click or a retried request. On ai@7.0.148: the refund runs twice. Approved once, refunded twice: $1,000 out instead of $500. On ai@7.0.153: the same test refunds once.

Evidence (real output, trimmed)

##### ai@7.0.148
== duplicate approval (approve, approve) ==
  executed after resume: [ 'lookup 42', 'refund 42 $500', 'refund 42 $500' ]
##### ai@7.0.153
== duplicate approval (approve, approve) ==
  executed after resume: [ 'lookup 42', 'refund 42 $500' ]

The test sends the same approval twice. This is the line in the test script that does it:

content: requests.flatMap((q) => DUP.map((d) => ({ type: 'tool-approval-response', approvalId: q.approvalId, approved: d })))

Fix

  1. Upgrade ai to 7.0.153. That is the version we tested, and it refunds once.
  2. Don't rely on the upgrade alone. Give each refund a key built from the approval, like refund:{approvalId}. Pass that key to your payment provider (Stripe supports idempotency keys), or save it with a unique constraint before you pay out.
  3. Re-run the same test: send the approval twice and count refunds. The number should be 1.

Verdict

Not safe on 7.0.148. On 7.0.153 this path is safe once the per-approval key is in place.

See a sample report

v2: finding -> line -> fix -> clean re-run (board 95 re-scan, 2026-10-28 18:04 MDT)

Tool: agentsignal-check branch 042 with the board 95 scanner fixes (committed as 0b4447b right after this scan; re-scan on clean 0b4447b at Thu Oct 29 17:53:22 MDT 2026 gave byte-identical output), agentsignal check --scan, DO_NOT_TRACK=1. Static scan only, no crash test. Target: upstream email_assistant_hitl_memory_gmail.py from langchain-ai/agents-from-scratch @ 603fc7a (local copy orig.py).

Step File Scan result
1. Finding orig.py (upstream, unchanged) 15 findings, 2 tools: 11 AS102 high, 2 AS103, 2 AS104
2. Partial fix email_assistant_hitl_memory_gmail.py (fix_v2: ledger around update_memory) 4 findings: 4 AS102 high, all tool.invoke()
3. Full fix fix_v3_tools.py (fix_v3: also ledger around tool.invoke) 0 findings ("1 file scanned ... No re-run risks found by static scan")

The finding. interrupt_handler loops over the model's tool calls and calls interrupt() (orig.py L319) once per call. LangGraph re-runs the whole node on resume, so answering the 2nd approval re-executes call 1. The scanner flags the replayed effects:

  • tool.invoke(...) at L270 (tools outside the HITL list run straight away), L326 (accepted call), L356 and L371 (edited calls; L356 is send_email_tool, i.e. a re-sent email): 4x AS102 high.
  • update_memory(...) at L362, 377, 394, 405, 416, 431, 440 (an LLM rewrite of the stored preferences per replay): 7x AS102 high.
  • update_memory(...) in triage_interrupt_handler at L197 and L211: AS103 + AS104 each.

The fix. Key each replayable effect by the tool call id in a ledger in the same LangGraph store, check before, mark after:

_tool_key = f"tool:{tool_call['id']}:1"
if not ledger_has(store, _tool_key):
    observation = tool.invoke(tool_call["args"])
    ledger_add(store, _tool_key)
else:
    observation = "already done (ledger)"

(ledger_has = store.get(("ledger",), key) is not None, ledger_add = store.put(("ledger",), key, {"done": True}); both files pass py_compile.)

The re-run. fix_v2 guarded only update_memory, and the scan still showed the 4 unguarded tool.invoke() calls, which is correct: the email could still be sent twice. fix_v3 guards those too, and the scan is clean (0).

Rest of the sample on the same build: agents-from-scratch src/ 34 findings (26 AS102, 4 AS103, 4 AS104; v1 was 37); openai-agents-python examples/agent_patterns and memory/hitl_session_scenario.py still 0.

Honest limits. A static scan is not a proof; the crash test was not run (needs OpenAI + Gmail credentials). 0.4.2 is not released, so a customer can't run this exact build yet.

Proof: what our tests show

Who does the fix

An engineer from a top university who works on agent approval flows.

We answer approval-flow bugs in public framework issues.

What one double refund costs

Do the math with your own numbers. If one approved refund runs twice, the second refund is money gone.

At $500, that's $500 lost, more than this $490 review.

A double charge costs too. If the customer disputes it, Stripe charges $15 per dispute received, plus $15 to fight it, refunded only if you win. Its card fee is 2.9% + 30¢, and that fee isn't returned on a refund. (Source: stripe.com/pricing)

Price and guarantee

$490, one time, for one agent on one framework.

That buys a fix within 1 business day, as tested fix code or a PR, plus 3 months of monthly re-checks.

Guarantee: if the same bug still happens within 14 days of our fix, you get a full refund.

If a later re-check finds the bug again, we fix it free. That case gets a fix, not a refund.

There's no payment on this page. We reply by email first, and the payment link comes after that.

Just one bug with a minimal repro? The $79 Approval-Flow Fix covers that. You pay only when our patch passes.

Request form

First 3 fixes are free. You just give us a short quote about the result.

Free to ask. We reply by email, and the payment link comes only after we reply.

You can also email mounirmeziani215@gmail.com with the subject "Approval-flow fix".

FAQ

When does the 1 business day start?

Once you've paid and we have access to the code. We confirm the start time by email.

What counts as fixed?

The same double-charge test that failed before now shows one charge.

What are the re-checks?

Once a month for 3 months, we re-run the double-charge test on your agent ourselves and email you the result. Re-checks need read access to your repo or a test endpoint for 3 months. You can remove it anytime.

What if the bug comes back later?

If the same bug still happens within 14 days of our fix, you get a full refund. If a re-check finds it after that, we fix it free. That case gets a fix, not a refund.