Wang et al. proposed the zkAgent system in their paper, enabling verifiable agent execution via one-shot complete LLM inference proofs, significantly improving efficiency and supporting end-to-end verification. Wang等人在论文中提出了zkAgent系统,通过一次性完整LLM推理证明实现可验证的智能体执行,显著提升证明效率并支持端到端验证。
Notes
First system for verifiable agent execution with full LLM inference and tool interactions
One-shot inference proof replaces token-by-token generation for scalable proving
294× proving speedup vs zkGPT (1.05s/token vs 309s/token)
9690× verification speedup (0.45s vs 4361s)
End-to-end agent proofs in 240s, verification in ~0.5s
Why is verifying standalone LLM inference insufficient for agent security? 为什么仅验证 LLM 推理还不足以保证 Agent 的安全? なぜ単独のLLM推論(inference)だけではエージェントのセキュリティとして不十分なのか?
Agents do more than text generation. They call tools, make multi-step decisions, and interact with external data. Verifying only Transformer inference leaves tool usage and execution logic unchecked, enabling malicious behavior. Agent 不仅生成文本,还会调用工具、执行多步决策并处理外部数据。若只验证 Transformer 推理,而不覆盖工具调用与交互逻辑,攻击者仍可能在执行流程中插入恶意行为。 エージェントはテキスト生成以上のことを行います。ツールを呼び出し、多段階の意思決定を行い、外部データと対話します。Transformer推論のみを検証することは、ツールの使用や実行ロジックがチェックされていない状態を許容し、悪意のある動作を可能にします。
What is the core improvement of zkAgent over zkGPT? zkAgent 相比 zkGPT 的核心改进点在哪里? zkAgentの核となる改善点は何ですか?
zkAgent replaces per-token stepwise proofs with a complete execution proof, achieving about 1.05 seconds per token compared to 309 seconds in zkGPT. Verification time drops from thousands of seconds to under a second. zkAgent 将逐步 token 证明替换为完整执行证明,实现推理摊销成本约 1.05 秒每 token,而 zkGPT 需要 309 秒每 token。验证时间也从数千秒降至不到一秒级。 zkAgentは、トークンごとの逐次的な証明(stepwise proofs)を完全な実行証明(complete execution proof)に置き換え、zkGPTでの309秒と比較して約1.05秒/トークンを達成します。検証時間は数千秒から1秒未満に短縮されます。
How does zkAgent balance full execution proofs with scalability? zkAgent 如何在完整执行证明与可扩展性之间取得平衡? zkAgentは、完全な実行証明(full execution proofs)とスケーラビリティをどのように両立させているのでしょうか?
zkAgent encodes full LLM inference and tool interactions into a single SNARK proof, amortizing intermediate computations to avoid recursive blowup. This preserves end-to-end consistency while remaining scalable. zkAgent 将完整 LLM 推理与工具交互编码为一次统一 SNARK 证明,通过摊销中间计算避免递归爆炸。这种设计在保证端到端一致性的同时,实现了可扩展证明生成。 zkAgentは、LLMの推論とツールとのやり取り全体を単一のSNARK証明にエンコードし、再帰的な爆発を防ぐために中間計算を償却します。これにより、スケーラビリティを維持しながらエンドツーエンドの一貫性を保ちます。