{
  "id": "2026/199",
  "url": "https://opencryptology.org/2026/199",
  "original_url": "https://eprint.iacr.org/2026/199",
  "title": "zkAgent: Verifiable LLM Agent Execution via One-Shot Transcript Proofs",
  "authors": [
    "Lizheng Wang",
    "Hancheng Lou",
    "Chongrong Li",
    "Yu Yu",
    "Yuncong Hu"
  ],
  "affiliations": null,
  "abstract": "LLM-based agents, which interleave large language model inference with external tool calls, are increasingly deployed in high-stakes settings. In real-world deployments, each model inference and provider-hosted tool execute behind the provider's API. Even when the agent loop runs on the user's device, these provider-executed steps still remain opaque to the user. This opacity creates an end-to-end integrity gap: a malicious provider may substitute the advertised model or fabricate tool observations to steer subsequent agent behavior. Existing zero-knowledge proof systems for LLMs prove only the Transformer computation of a single inference, leaving the rest of the inference pipeline, long-form autoregressive generation, and external tool interactions outside the proof.\n\nWe present zkAgent, the first SNARK system for verifiable agent execution. zkAgent proves the complete inference pipeline, from token-to-embedding lookup and positional encoding to Transformer computation and decoding. It further binds each tool observation to an authenticated execution via zkTLS or zkVM subproofs, yielding a single end-to-end proof. To scale beyond per-token proving, we introduce one-shot transcript proving: by exploiting the Transformer's causal attention mask, zkAgent proves an entire multi-step agent transcript in a single forward pass, avoiding the substantial overhead incurred by one-proof-per-token generation. We make this batched proof sound with a weight-dependent quantization scheme that is both input-independent and unconditionally complete.\n\nOn GPT-2 with a 512-token transcript, zkAgent achieves a $1047.4\\times$ prover speedup over the state of the art (zkGPT, USENIX Security'25), amortizing to $0.30$s/token. On a real-world coding-assistant execution, zkAgent completes end-to-end proving in $93.18$s with $1.63$s verification, making verifiable agent execution practical.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“zkAgent: Verifiable LLM Agent Execution via One-Shot Transcript Proofs” by Lizheng Wang, Hancheng Lou, Chongrong Li, Yu Yu, Yuncong Hu, Cryptology ePrint Archive, Paper 2026/199, https://eprint.iacr.org/2026/199. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-02-07T16:15:22Z",
    "updated": "2026-09-13T13:00:37Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/199.pdf",
    "sha256": "31c1cf098a82d0c611408c17bba694ac8b8646ecb797f8fae508b479891da4de",
    "size": 1178731,
    "source": "upload",
    "source_date": "2026-11-14T03:43:11.914Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/199/versions/20261114T034311Z.pdf",
      "captured_at": "2026-11-14T03:43:11.914Z",
      "label": "copy captured 2026-11-14",
      "source": "upload",
      "source_url": null,
      "size": 1178731,
      "sha256": "31c1cf098a82d0c611408c17bba694ac8b8646ecb797f8fae508b479891da4de",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2026/199/versions/20260529T122308Z.pdf",
      "captured_at": "2026-05-29T12:23:08Z",
      "label": "copy captured 2026-05-29",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20260529122308id_/https://eprint.iacr.org/2026/199.pdf",
      "size": 972331,
      "sha256": "04ff21e9aa7e3879bcbe941450056356850d9c271e332f4fa6acceb8799a0f01",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2026/199/versions/20260512T112848Z.pdf",
      "captured_at": "2026-05-12T11:28:48Z",
      "label": "copy captured 2026-05-12",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2026/199.pdf",
      "size": 461625,
      "sha256": "358271b54e4000065a6fee4b477b60d346d4271db88ce87f5c727bf53a00aebb",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2026/199/versions/20260211T032246Z.pdf",
      "captured_at": "2026-02-11T03:22:46Z",
      "label": "copy captured 2026-02-11",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20260211032246id_/https://eprint.iacr.org/2026/199.pdf",
      "size": 461824,
      "sha256": "c7899a9da4154dc75ba1f76a424d35e86bf0b68f28fce0e7c124bd5fab3d95c3",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260529122308id_/https://eprint.iacr.org/2026/199.pdf",
      "captured_at": "2026-05-29T12:23:08Z",
      "size": 957363
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2026/199.pdf",
      "captured_at": "2026-05-12T11:28:48Z",
      "size": 461625
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/199,\n      author = {Lizheng Wang and Hancheng Lou and Chongrong Li and Yu Yu and Yuncong Hu},\n      title = {zkAgent: Verifiable LLM Agent Execution via One-Shot Transcript Proofs},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/199},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/199}\n}"
}
