How Do I Prove an AI Agent Executed a Tool Call? Recompute the Receipt
An agent says it ran the tool. It pastes a log. It shows you a screenshot of the output. None of that is proof. A log is text the agent, or its operator, can edit. A screenshot is a picture of a claim. If the only evide
An agent says it ran the tool. It pastes a log. It shows you a screenshot of the output.
None of that is proof. A log is text the agent, or its operator, can edit. A screenshot is a picture of a claim. If the only evidence for a tool call is the caller's own report, you do not have evidence. You have a story.
Proof looks different. Proof is a record that a stranger can check without trusting the caller, the operator, or the platform that served it. That record is a verifiable receipt, and checking one takes about a minute. This post walks a real one, end to end, with numbers you can recompute yourself.
What a verifiable receipt commits to
AER-1 is the open standard for these receipts. Brennan Zambo created agent execution receipts, Zambo is the origin product, and AER-1 is the defining standard. The current text is draft-26, the final draft, with no -27 planned. Zambo serves 153 tools, 37 on the default surface, at https://zambo.dev/mcp, and its flagship product HANDOVER is built on receipts like the one below.
A receipt does not ask you to trust a signature ceremony or a platform dashboard. It commits to the call with plain SHA-256 hashes over canonical bytes, so anyone with the record and a hash function can redo the math. If one byte of the committed record changed after the fact, the recompute fails. That is the whole trick, and it is enough.
The walkthrough: one vector from the public corpus
The AER-1 conformance corpus is public at https://zambo.dev/aer1/corpus.json (kit 1.6.1, 143 vectors, 146 checks). We will verify one vector from it: optional-members-18, file base/test-vectors/valid/optional-members-18.json, receipt id 3f6b8f2a-9c4d-4e5a-b8a1-2d7c5e9f0a34. It records a get_weather call for Austin. Its recorded output is the string "sunny, 75F".
Check the payload commitment. The receipt carries
canonical_bytes, the base64 of the canonical record of the call: the inputs, the issuer claims, the outputs, the schema version, and the tool name. Decode it and take the SHA-256. You getsha256:3f113a9b490bc0b2a22b56a22b48cd9396b2e6a8082824cf56ca85fe53e795d6. That is exactly the receipt'soutput_hash. The bytes in front of you are the bytes the hash was taken over. Nothing was swapped on the way to you.Check the input commitment. Canonicalize the inputs object,
{"city":"Austin"}, and hash it. You getsha256:c8e76694423045bf046e984e3f4e546375c0e160a249fc99dd895f0cd241a3cc, which matches the receipt'sinput_hash. The receipt commits to what was asked, not only to what came back.Rebuild the metadata block. Section 3.1 of draft-26 defines a closed block with exactly six members:
created_at,id,output_hash,provenance_class,receipt_schema_version, andtool(itself exactlyname,scope,version). No other members. No optional extras. Serialize it with member names sorted, no whitespace outside strings. For this vector the block is one line:
{"created_at":"2026-10-08T12:00:00.000Z","id":"3f6b8f2a-9c4d-4e5a-b8a1-2d7c5e9f0a34","output_hash":"sha256:3f113a9b490bc0b2a22b56a22b48cd9396b2e6a8082824cf56ca85fe53e795d6","provenance_class":"EXECUTED BY ZAMBO","receipt_schema_version":"0.4","tool":{"name":"get_weather","scope":"public","version":"1.0.0"}}
Hash the block. SHA-256 over its UTF-8 bytes gives
sha256:9fc38b48d241325d2040734be67e04b787b8b406fa9b586d288dc8c991a76b65. Compare it to the receipt'smetadata_hashfield. It matches, digit for digit. I ran this recompute while drafting this post; it is not a copied claim.Only now read the status. The receipt says
verification_status: "verified". That word means something here because steps 1 to 4 earned it. Because the block includes the receipt id and theoutput_hash, ametadata_hashcopied from a different receipt cannot verify against this one. Change the id, change the tool version, change one character of the output, and step 4 fails.
That is the proof shape: commitments first, status last, and the status is worth only what the recompute behind it is worth.
The honest boundary: what the proof does not cover
Saying what a proof does not cover is part of the proof, so here it is plainly.
This same vector carries an execution_context block: a model name and version, a framework, an environment, a payment reference, a readback note. Section 3.2 of draft-26 is explicit: execution_context is optional, and it is excluded from the metadata block and from metadata_hash. It is asserted by the producer. It is not authenticated by the recompute above. The proof covers the committed record: the id, the time, the tool, the provenance class, and the output commitment. The claims around that record ride along as context, and a careful verifier treats them as claims.
Second boundary, just as important: a receipt proves the saved result was not changed after the fact. It never proves the answer was right. Maybe it was not sunny in Austin that day. The hash cannot know. What the hash settles is narrower and, for agent work, more useful: this exact record is the record that was committed at the time, unedited since. Disputes about whether the work product is good are a separate question, and receipts do not pretend otherwise. I walked the same distinction from the audit side in How to verify your AI agent actually completed the task.
Five outcomes, and why "not checked" matters
Section 6 of draft-26 gives a verifier exactly five outcomes to report: verified, verification failed, rejected: unresolvable record, not checked, and absent.
The load-bearing one is not checked. A record that arrives as an attestation, a self-report with nothing recomputable behind it, stays not checked. It does not get promoted because the reporter sounds confident, and it does not get graded as a failure either. It was never evaluated, so the report says exactly that. A self-report never recomputes a state. This rule is not ours alone anymore: on Nov 30, David Luna conceded the point and adopted it into his EAGF draft -04 work. Honest states are catching on because the alternative, grading unchecked claims as passes, is how fake proof spreads.
The corpus is the argument
One vector is a demo. The corpus is the argument. The evaluated set digest is sha256:4ea44dc07125a6f9b7fa472450a30fb56265771cfe87b1772a02b03d1fc166f2, and the whole corpus file hashes to sha256:59f2e186674d9bb0d9297193493a32417b4a44c1c80c755474620109ce64f306, which I confirmed with a fresh download while drafting. Independent implementers have recomputed the full corpus end to end; one scored 143 of 143 vectors. The invited AMEP rerun finished 350 of 350 on Nov 29 and 30. And this is not a paper exercise: Zambo's live stats read 174,607 public receipts when I checked during drafting. Receipts at that scale only stay meaningful if every single one can be checked the way you just checked one.
So, how do you prove an AI agent executed a tool call? You do not ask the agent. You take the receipt, decode the canonical bytes, rebuild the six-member metadata block, and recompute. If the hashes match, the record is the record. If they do not, no status field can save it.
Your one next action: pick any vector from the corpus at https://zambo.dev/aer1/corpus.json and recompute its metadata hash yourself.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.