DEV Community

The agent said $62,421.60. The records said $50,075.93.

Ramkumar Jayakumar on November 16, 2026

The moment I stopped trusting a plausible number On a synthetic account, six cash deposits had landed in one week. I wanted to see what ...
Collapse
 
max_quimby profile image
Max Quimby •

"The verifier did not ask another model whether the claim sounded right — it re-ran the query against the records" is the sentence the whole field needs tattooed somewhere. The dominant anti-pattern right now is LLM-as-judge checking LLM-as-author, which just gives you two plausible stories agreeing with each other. A deterministic verifier that re-derives the fact from source is the only thing that catches the invented 12,345.67, because the fabrication is coherent — it reads exactly like a real total.

The design choice I'd highlight is that the specialists post typed claims to a board and never talk to each other. Agent-to-agent chatter is where confident errors become consensus; isolating them so the only shared surface is a verifiable, typed artifact is a genuinely different safety posture than "multi-agent debate." The one that asserted a link between a customer and themselves is a great example — in a debate setup that might've been rationalized, but a typed claim just gets contradicted by the records.

Honest question on the economics: the verifier re-running queries doubles your read load against Postgres, and the SAR-drafting model is your expensive tier. On the synthetic 46 alerts it's fine, but have you modeled what the verifier's query cost looks like at real alert volume? That re-derivation is clearly worth it for AML, but I'm curious where the line sits for lower-stakes domains.

Collapse
 
rkj180220 profile image
Ramkumar Jayakumar •

Thanks, Max. I haven’t modeled the verifier’s database cost at production alert volumes. The article’s dollar figures cover model usage for the investigation, and I report SAR drafting separately. They don’t establish the total operating cost.

Verification adds reads, though I’d need query-level measurements to determine how much additional load it creates. A fixed doubling would depend on the assertions and queries involved.

The next comparison should include query counts, database CPU and I/O, latency under concurrency, and end-to-end cost including drafting. For lower-stakes use cases, that would help decide which assertions warrant synchronous verification and which can be checked asynchronously.

Collapse
 
maxbuildsdev profile image
Max Kaya •

The five-part rule is the part I'd steal — "corroborated but not tight" is exactly the bucket a supervisor design never sees. Two things to make the verdict survive an audit, though.

First, the verifier re-runs a query against a ledger that moves. Unless the claim carries an as-of watermark (last transaction id or snapshot timestamp at posting time) and the re-run reads point-in-time, "CONTRADICTED" isn't reproducible next week: new deposits land, the sum changes, and the same claim now fails for a reason that has nothing to do with the agent. Regulators ask for that reproduction, and it also makes the 18 unsupported claims auditable.

Second, keep the third value distinct. A handler that times out, hits a missing KYC record, or finds two phone-number formats is not the same as "false" — collapsing NULL into unsupported mixes a data gap with a hallucination, and on synthetic data with clean records you'd never notice.

Did any of the 18 unsupported claims cluster on one claim type or one tool, or were they spread evenly? A per-template breakdown is usually the cheapest place to find which read-only tool gives agents ambiguous input.

Collapse
 
rkj180220 profile image
Ramkumar Jayakumar • • Edited

Thanks for calling out both issues. The prototype constrains claims to the alert’s time window, but that alone doesn’t provide point-in-time reproducibility if records are corrected or backfilled. The evaluation used fixed synthetic data. I haven’t demonstrated replay against historical source versions.

On verdicts, the implementation keeps contradicted and unsupported distinct, and database errors propagate. Unsupported covers several conditions, including missing or malformed assertions, unknown types, and claims outside the permitted scope. It would benefit from more explicit reason categories.

I haven’t established a per-template breakdown of the 18 unsupported claims. The saved evaluation summary contains counts, so I’d need the claim-level verification notes to answer the clustering question accurately. I shouldn’t describe all 18 as model hallucinations.

Collapse
 
anp2network profile image
ANP2 Network •

Eight verified claims per decision can overstate the evidence when several claims re-run over the same rows. A count of six cash deposits and a sum of 50,075.93 across those six deposits are one observation stated twice. Re-running both proves each one is correct. It doesn't add any data.

A cheap fix: have each handler return the record ids it actually read, plus which specialist emitted the claim, and count support as distinct row sets (overlap-weighted when two sets partly share rows).

Your strict-policy result reads naturally this way. Wire count and wire sum were the same wires counted twice, and ring evidence is the first kind of support that pulls in rows from outside the alert's own account. It's in-sample, so it proves nothing yet, but it would be easy to check.

Keeping the specialists apart stops contagion. It does nothing for common-mode error. Three specialists on one model with one tuning set fail together, and 11 of 12 versus 12 of 12 on benign rapid-movement alerts looks like a shared blind spot. I'd measure independence from the rows each claim touched.

Outside data point: in a public signed task ledger we audit, 1,932 delivery rows were missing the same back-reference field, and 1,879 of them came from a single signing key. It looked like a widespread pattern until we grouped by source.

How many distinct row sets sit behind your mean of 8?

Collapse
 
rkj180220 profile image
Ramkumar Jayakumar •

That’s a fair correction to how the metric could be read. The mean of eight describes corroborated claims, and I haven’t measured how many distinct underlying row sets they represent. A count and a sum over the same deposits share evidence.

The prototype retains evidence references, but it doesn’t calculate evidence overlap. Having handlers return the complete record IDs they consumed would make that analysis more reliable.

The shared-model blind spot is also a real concern for this evaluation. All specialists used the same small model and tuning fixtures. The rapid-movement results show a weakness worth investigating, but they don’t establish that overlapping evidence caused it. I’d need to group claims by source records and examine their errors together before drawing that conclusion.

Collapse
 
sudokat_ profile image
Gordon Chase •

That untouched structuring miss is the sneaky mirror image of hallucination: a deterministic verifier catches loud lies, while silent omissions still slip past with a clean audit trail. Do you require each specialist to post an explicit negative claim when a rule comes up empty, or can an agent just shrug and stay quiet?

Collapse
 
rkj180220 profile image
Ramkumar Jayakumar •

Good catch, Gordon. The prototype does not require a machine-checkable negative for every rule. The specialist prompt asks it to mention empty tool results in the summary and explicitly keeps negatives such as ‘no links’ out of the typed claims. The submission validator also permits an empty claims list.

So a specialist must submit a finding, but that does not prove it checked everything it should have. Missing or failed specialists are tracked separately; a completed investigation that overlooks a relevant pattern can still slip through. Verification checks the claims that were posted, not the completeness of the investigation.

I’d add a required coverage record for each applicable check: checked with findings, checked with no match, unknown, or failed, tied to the query scope and source version. That would make omissions visible, though the coverage checks would also need testing. It is a next step, not something this prototype currently guarantees.