agent-zk-trace-verifier
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
agent-zk-trace-verifier
Zero-Knowledge Trajectory Integrity & Execution Trace Verification for Autonomous AI Agent Swarms.
agent-zk-trace-verifier enables autonomous multi-agent networks to prove compliance with execution policies, resource bounds, and state transition invariants without revealing confidential prompts, tool inputs, or private deliberation traces.
Core Capabilities
Deterministic Trajectory Representation & Merkle Roots
Canonical RFC 8785 JSON representation of agent execution steps.
Cryptographic SHA-256 Merkle root computation over sequential deliberation traces.
Homomorphic Pedersen Commitments
Additive homomorphic properties for cumulative token and financial spend.
RFC 3526 2048-bit safe prime parameters with cryptographically independent generators.
NIZK Schnorr & Zero-Knowledge Range Proofs
Non-interactive zero-knowledge proof of commitment openings via Fiat-Shamir transformation.
CDS 1-out-of-2 sigma bit-decomposition range proofs bounding compute and spend ($0 \le v < 2^k$).
Rank-1 Constraint System (R1CS) Synthesis
Synthesizes arithmetic constraints ($Az \circ Bz = Cz$) enforcing sequential step continuity and token accumulation.
zkVM Guest Journal & Receipt Verification
Supports RISC Zero and Succinct SP1 verifiable computation receipts.
Multi-Agent Batch Verification & Homomorphic Aggregation
Verifies fleet-wide trajectories in batch and combines commitments across swarms.
Fast MCP Server & Rich CLI
Stdio JSON-RPC 2.0 interface exposing 6 tools.
Command-line interface with interactive Rich terminal reporting.
Related MCP server: affixio
Installation
pip install agent-zk-trace-verifierFor development:
git clone https://github.com/devsoniclk/agent-zk-trace-verifier.git
cd agent-zk-trace-verifier
pip install -e .[dev]Quickstart
Python API
from agent_zk_verifier import AgentZKTraceVerifier, CompliancePolicy, ExecutionTrace, TraceStep
verifier = AgentZKTraceVerifier()
# Define public verification policy
policy = CompliancePolicy(
max_steps=10,
max_tokens=100_000,
max_cost_usd=1.00,
allowed_tools=["web_search", "code_interpreter"],
)
# 1. Audit raw trajectory
is_valid, violations = verifier.audit_trace(trace, policy)
# 2. Generate Zero-Knowledge Proof (Hiding private inputs & intermediate outputs)
proof = verifier.prove_trace(trace, policy)
# 3. Third-party verifier validates proof without accessing sensitive data
receipt = verifier.verify_proof(proof, policy)
assert receipt.is_validCommand Line Interface
# Audit trajectory file
agent-zk audit trace.json --policy policy.json
# Synthesize Zero-Knowledge Proof
agent-zk prove trace.json -p policy.json -o proof.json
# Verify Zero-Knowledge Proof
agent-zk verify proof.json -p policy.json
# Batch verify multiple agent proofs
agent-zk batch proof1.json proof2.json proof3.json
# Launch MCP Server
agent-zk serveTest Suite
pytest --cov=agent_zk_verifier tests/45/45 automated unit and integration tests passing with 92% coverage.
License
MIT License. Copyright (c) 2026 Lakshitha Dananjaya.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Verifiable provenance for AI agents — ZK proofs over confidential documents, no plaintext exposure.
Zero-knowledge attestation for agent capability and trust score claims
Bounded authorization and independently verifiable execution evidence for agents.
Policy-aware AI execution, verification, cost, and trajectory evidence for agents.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to query cryptographically verified facts with zero-knowledge proofs, selective disclosure, and tamper-evident provenance.1Business Source 1.1
- AlicenseNot gradedqualityDmaintenanceEnables zero-knowledge proof generation and verification, identity verification, and gate checks for privileged agent actions.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to invoke MCP tools only when the call satisfies a private, zero-knowledge proof policy, forwarding authorized calls to upstream servers while keeping policy details private.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to be governed by formal Gentzen sequent calculus proof trees, with human-in-the-loop approval gates and cryptographic audit trails for consequential actions.MIT