FibCatchDownload the Code node

For n8n agents

AI agents confidently make up numbers.

FibCatch checks every number against what the tools actually returned — and against what you typed.

Paste it into a Code node after your AI Agent. No account. No paid service. The node stays green and tells you PASS, WARN, or FAIL.

The 0.85 that should have been 0.917

In one n8n run the exchange-rate tool returned 0.917. The agent told the user the rate was 0.85. It also wrote 37 × 18 = 686 — the product is 666 — and finished with “about 220 EUR,” a total no tool had produced. The agent node was green.

Agent said
Tool returned
0.85
0.917
37 × 18 = 686
666
about 220 EUR
No such total

FibCatch marks that run FAIL and lists the three numbers that have no receipt. 37 and 18 stay, because they were in the question. 0.917 and 666 stay in the tool results, where the answer never used them.

How it works

  1. 01

    Turn on the receipts

    On the AI Agent node, open Add option and turn on Return Intermediate Steps. That attaches what each tool actually returned.

  2. 02

    Paste the Code node

    Add a Code node on the agent’s main output. Set it to Run Once for All Items, JavaScript, and paste in the whole FibCatch file.

  3. 03

    Read the verdict

    You get PASS, WARN, or FAIL, plus every number that isn’t in a tool result or in what you typed. An IF node can stop the workflow on FAIL.

A number copied from a tool is still a warning when that result is more than 24 hours old. A JSON result with no date is a warning too, because its age cannot be checked. A plain calculator result, such as 666, does not need a date. Both checks are at the top of the file, and either one can be turned off.

What the node returns

The workflow does not turn red. The verdict is a field called fibcatch, so you can branch on it. This is the 0.85 run, shortened:

In an IF node, the condition is {{ $json.fibcatch.verdict }} equals FAIL.

{
  "verdict": "FAIL",
  "summary": "3 numbers are not backed by a tool result or your message.",
  "unbacked": [
    { "raw": "686", "reason": "37 × 18 is 666, not 686." },
    { "raw": "0.85", "reason": "This number is not in a tool result or in your message." },
    { "raw": "220", "reason": "This number is not in a tool result or in your message." }
  ]
}

What this won’t catch

  • A tool that was handed a made-up number and echoed it. The digits match, so the check passes. It does not know if the right field, unit, or year was used.
  • A number the agent only typed into a tool, and the tool never sent back. That is not a receipt.
  • Dates, years from 1990 through 2039, clock times, version numbers, phone numbers, and list numbering. Those are skipped so a normal sentence does not fail the run.

A correct sum, difference, product, or quotient of receipt numbers is allowed. “About” and ordinary rounding become a warning when they’re close, and a failure when they’re not. 0.92 for 0.917 is a warning. 0.85 for 0.917 is a failure.

Pricing

Free is the product today. The other prices are what MI plans to charge. They are not checkout buttons, and the paid feature list is not written yet.

Free

$0

Available now

The Code node, the sample workflow, and the install notes. No account and no expiry.

Solo

$19/mo

Coming soon

For one person running agents. Founding rate $12/mo for the first 20.

Agency

$59/mo

Coming soon

For people who run agents for clients. Founding rate $39/mo for the first 20.

Agent Audit

$149

Coming soon

One-off. A person looks at one of your agents. Not a subscription.

Founding rates are for the first 20 people, when those plans open. There is no counter on this page, because nobody has bought one.

Waitlist

Leave an email if you want a note when Solo, Agency, or the audit is actually for sale. The free Code node does not need an email.

No newsletter. One note when Solo, Agency, or the audit is actually for sale.