AI agents state numbers with total confidence: a sum, a percentage, a unit conversion, a date pulled from a document. When something goes wrong, the question is never "was the model smart?" but "can anyone show this was checked?" Today the answer is usually a log line nobody can replay.
Deterministic checks vs a second model
An LLM judging an LLM is fine for tone or summaries, but for arithmetic and quotations it adds a second thing that can be confidently wrong. For claims that have one right answer, recompute them with plain code. For "the contract says 30 days", check that the quoted text, number or date really occurs in the text you supplied.
What a receipt should contain
The claim, the inputs, the rule version, the result, a timestamp, and a signature. With an Ed25519 signature, a third party needs only the public key to confirm that this exact check was run and the result was not edited afterwards. The receipt is evidence of a check, not a guarantee that the underlying data is true.
What I built
AgentVerify is a small open-source (MIT) service and MCP server that does exactly this: https://github.com/Bencoombes23/agentverify-checks. There is a free demo (see DEMO.md in the repo for the shared key; it runs on a free host that sleeps, so allow a minute for the first call).
Honest limits
It's early. No SLA, no payments taken (an optional x402 paywall exists but is testnet-only and off by default), the replay store is in-process, and it only checks text you give it, never fetching URLs. It is run with an AI assistant and I say so up front.
Question for you
If you ship agents that produce numbers, has anyone ever asked you to prove a check happened? What would you need a receipt to prove? Tell me it's useless if it is.
Top comments (14)
Signed receipts become genuinely useful when they bind the input version, policy version, tool identity, and result—not merely a final answer. That makes later disputes testable: an operator can reproduce what the agent was allowed to see and do at that moment.
Thanks, agreed. Today a receipt binds the claim, the options, the normalisation version and (for source checks) a SHA-256 of the source text, plus the result, all signed with Ed25519. It does not yet bind a policy version or a tool identity beyond the rule version, so that is a gap. Early, free, AI-assisted project; if you have a concrete dispute you would want to replay, I would like to hear which fields it needed.
A signed receipt is only useful if the verification happens on the path that returns the answer to the user. If a downstream component recomputes the number and drops the signature, the receipt is decorative. Are the receipts checked at the boundary that reaches the human or only inside the tool?
Thank you for the comment, it is a fair point. Today that is left to the caller: the receipt can be verified offline with the bundled client, but nothing forces a downstream component to keep or check it. A wrapper or CI step that refuses to surface a claim without a valid receipt is the honest fix, and I have not built it yet. Early, free, AI-assisted project. Where would you put that check?
A receipt that fails quietly is the same as no receipt. Log the failed checks too, so the gap shows up in the record.
@bencoombes23 The distinction between “this check ran” and “the underlying data was true” is the right limit for a signed receipt. I would also make the input canonicalization and public-key ID explicit, so an old receipt stays verifiable after a key rotation and two clients hash the same calculation the same way. How are you planning to preserve verification of historical receipts when the signing key changes?
Thank you, these are good questions. Receipts currently carry the public key itself, and the client can pin several issuer keys and mark them active, retired or revoked, but there is no key ID in the receipt and no documented canonical serialisation of the inputs, so two clients hashing the same calculation identically is not guaranteed by the spec. Both are going on the design list, together with a published history of past keys so old receipts stay verifiable. Early, free, AI-assisted project, so this is very useful.
Put the check in the renderer. If the tool cannot print a claim without a valid receipt, the rule holds by itself.
Thanks, that's a clear answer to my question: make the renderer refuse to print a claim without a receipt that verifies against a pinned issuer key, so the rule doesn't depend on anyone remembering to check. I haven't built that yet. It's the next design item on the list, together with the key ID and canonical-serialisation points raised above.
a second model judging is still a guess. a signed receipt with the rule version and timestamp is the thing you can actually check.
Thank you! That is the idea: deterministic rules and a record of which rule version ran. The limit is that it proves the check ran, not that the source data was true. Early, free, AI-assisted project.
That limit is honest. A receipt proves the check ran, the data itself still needs its own check.
On THOL every run is graded by a script against a hidden answer, so the grader never trusts the model's own sum. Does the signed receipt also cover the tool inputs, or the final number alone?
Thanks, good question. Not the final number alone: per the README the signed payload holds the claim, the options, the normalisation version/flags and a SHA-256 of the normalised source text (never the source text itself). What it does not cover yet: a timestamp, a key ID, a documented canonical serialisation, tool identity or policy version, and the README doesn't state that the result/status is inside the signed payload, so I won't claim it is. Those are on the gap list. A valid signature proves integrity and issuer identity only, not that a claim is true. Early, free, AI-assisted project, no SLA. If you try it and find a case where the receipt should bind more, I'd like to hear it.