AI agents are increasingly being used to review code, summarize documents, analyze contracts, and answer questions. In many cases, the result itself matters less than its authenticity.

Suppose Alice wants to share an AI-generated security review with Bob. Bob wants to know that the review is exactly what a particular agent produced for a particular input.

In other words, Bob wants evidence that

output = Agent(input)

for a specific agent, model version, configuration, and input, without running the same inputs, and spending tokens and time.

Today, there is no standard way to prove this.


The simplest solution is to rely on a trusted authority.

An inference service—or an independent auditor—runs the agent and signs the result.

The certificate could contain:

Agent: OpenAI Code Security Review
Model: GPT-5.5
Agent version: v3
Input hash: SHA256(...)
Output hash: SHA256(...)
Timestamp: ...
Signature: ...

This does not prove that the model executed correctly. It proves that the trusted authority attests that it produced this output for this input.

For many applications, that is already enough. It is no different from trusting a software publisher's code signature or a Certificate Authority on the web.

AI providers, code hosting platforms, or independent auditors could all publish signed attestations for AI-generated artifacts.


A stronger goal is to remove the trusted authority entirely.

Instead of relying on a signature, the inference itself would produce a cryptographic proof that the output is exactly the result of evaluating the specified model on the specified input.

Verification would no longer depend on trusting the service that performed the inference. Anyone could verify the proof independently.

This is an active area of research. Zero-knowledge proofs, zkVMs, and other verifiable computation techniques are making progress, but generating proofs for frontier AI models remains expensive.


Verifiable inference would make AI outputs much more useful: IF you trust an AI agent to do a job, then verifiable inference will allow us to do it once and reuse the reuslt.

A code review could be accompanied by proof that it was generated by a specific review agent. A legal analysis could be verified to have come from a particular model version. Researchers could cite AI-generated analyses with confidence that readers are seeing the original output.


Further reading

  • EZKL — An open-source toolkit for generating zero-knowledge proofs of machine learning inference. One of the most mature implementations of verifiable ML today. https://github.com/zkonduit/ezkl oai_citation:0‡GitHub

  • ZKML: An Optimizing System for ML Inference in Zero-Knowledge Proofs (EuroSys 2024) — One of the first papers to demonstrate zero-knowledge proofs for non-trivial machine learning models. oai_citation:1‡DOI

  • A Survey of Zero-Knowledge Proof Based Verifiable Machine Learning — A comprehensive overview of the field, including verifiable inference, training, current systems, and open challenges. oai_citation:2‡arXiv

  • Verifiable ML Model Inference (ERC-7992 Draft) — A proposed Ethereum standard for identifying ML models and verifying cryptographic proofs of inference. Interesting as an example of how verifiable inference could become interoperable. oai_citation:3‡Ethereum Improvement Proposals