Skip to main content Switch to mobile version vouch-protocol 3.1.0 The Identity & Reputation Standard for AI Agents
pip install vouch-protocol==3.1.0 Copy PIP instructions
Vouch Protocol™ is a common-law trademark.
The Open Standard for Identity & Provenance of AI Agents
# Install (Linux and macOS). On Windows, use: pip install vouch-protocol curl -fsSL https://vouch-protocol.org/install.sh | sh # Run vouch with no arguments and pick what you want to do vouch Prefer to do it by hand? It is three commands:
pip install vouch-protocol # One command to configure SSH signing + Vouch branding vouch git init # All future commits are now signed and show ✅ Verified on GitHub git commit -m "Secure commit" Setting up an agent instead of git signing? vouch onboard --quick generates a working identity, allow-list, verifier, and heartbeat config in one command.
Vouch Protocol v1.0 aligns directly with the open standard:
Verifiable Credentials as the credential format (replacing v0.x JWS tokens).
Data Integrity proofs with the eddsa-jcs-2022 cryptosuite (no JOSE, no Base64-wrapped payload, the credential remains human-readable JSON).
Multikey verification methods in DID Documents (algorithm-agnostic, ML-DSA-44 ready).
Post-quantum profile as a Data Integrity proof set: the credential carries two independent proofs, eddsa-jcs-2022 and mldsa44-jcs-2024, an optional add-on for regulated deployments aligning with NIST CNSA 2.0 / NSM-10 timelines.
Three-way cross-implementation interop verified across Python, TypeScript, and Go.
Credentials are issued with Signer.sign() and checked with Verifier.verify(). See the Specification at vouch-protocol.com/specs/SPEC/ for the full specification.
The Open Standard for AI Agent Identity & Accountability
When Anthropic launched MCP, they solved "how agents call tools." They didn't solve "how we TRUST those agents."
Vouch Protocol is the SSL certificate for AI agents.
Vouch is not one tool, it is a set of them. Here is the whole map.
vouch init generate an agent identity (a DID, an Ed25519 key and a post-quantum key).
vouch sign / vouch verify sign a payload and verify it.
vouch sidecar run the signing sidecar, which holds your agent's key so the model never has it. The caller chooses how long each credential stays valid. It opens passphrase-locked identities, and --kms signs with a key in AWS KMS or Google Cloud KMS.
vouch validator run a heartbeat validator: agents send a signed heartbeat at every interval and get back a short-lived session voucher.
vouch git sign every git commit cryptographically, set up in one command, with a verified badge for your README.
vouch run start an agent inside a file-access fence on Linux: vouch run -- python agent.py. The kernel lets it reach its workspace and the paths you list, and keeps your keys out of its reach. See Fenced runs.
vouch scan find leaked Vouch key material in your code before it ships (a private key in a file, a seed in an env var, a DID document that accidentally carries a private key).
vouch attribute separate who wrote which line. When an AI assistant and a human both edit a file, this records the AI's lines under the AI's own key and your lines under yours, so when a line causes an incident you can prove which of you wrote it. See the Claude Code integration.
vouch media sign images, with C2PA support.
MCP server (vouch-mcp) a standalone Model Context Protocol server so any MCP client (Claude Desktop, Cursor, any agent) can create an identity, sign and verify credentials, scan for leaked keys, and decode DIDs, out of the box.
Identity Sidecar keeps signing keys out of the model's context, so a prompt injection cannot read them.
Vouch Shield a runtime check that inspects every tool call against your rules, like a customs officer at the door.
Continuous trust heartbeats and session vouchers, so trust is a live signal that has to be renewed, not a badge that is issued once and trusted forever.
Authority freshness a signed authority state with a counter that only goes up, so a state change (a fraud signal, a suspended mandate) collapses the acceptable freshness window to now for a high-consequence action, even when time-decay trust still passes. See docs/authority-freshness.md.
Framework integrations
Standalone packages that drop Vouch into the agent framework you already use. Each one issues a verifiable credential for a tool call, with optional delegation back to a human principal.
vouch-langchain a LangChain tool that signs each tool call before it leaves the agent.
vouch-langgraph signs LangGraph tool calls and graph nodes, so a signed trail runs across the whole graph.
vouch-crewai a CrewAI tool, with supervisor-to-worker delegation that can only narrow authority, never widen it.
vouch-a2a binds an A2A (Agent2Agent) Agent Card to a Vouch identity, so two agents can verify each other before they collaborate.
vouch-goose registers the Vouch MCP server as an extension for Block's Goose agent, so a Goose session can sign and verify out of the box.
vouch-mlflow signs an MLflow model artifact at registration time, bound to a content digest so any change to the weights breaks the signature.
vouch-safetensors embeds a credential in a .safetensors header, complementary to OpenSSF Model Signing, so a model carries who produced it.
The standalone vouch-mcp package above ships alongside these.
SDKs, in the language you use
Python, TypeScript, and Go are the full reference implementations. A Rust core with idiomatic Swift, JVM (Java and Kotlin), .NET, and C wrappers shares one codebase, so every language produces byte-identical output, verified against shared test vectors. A WebAssembly build is included for the browser and the edge. See the table further down for status per language.
Robots and embodied agents
A robot is an agent with a body, so identity and accountability matter even more once it can cause physical harm. The vouch.robotics module ships six capabilities on the same eddsa-jcs-2022 credentials as the rest of Vouch: hardware-rooted identity (bound to a TPM or secure element, so it cannot be cloned to other hardware), model and config provenance (re-signable on every OTA update), physical capability scope (force, speed, a tighter cap near humans, allowed zones, and shift windows, checked before each actuation, with narrow-only delegation), a robot-to-robot trust handshake, an encrypted tamper-evident black box with a verifiable kill switch, and a scannable offline passport. All six are implemented in Python, TypeScript, Go, and the Rust core, which flows to the Swift, Kotlin/JVM, .NET, C/C++, and WebAssembly wrappers, so a robotics credential signed in one language verifies in every other. Fifteen further capabilities round out the set: a living-trust heartbeat (a signed per-interval motion summary whose trust decays unless it is renewed in-envelope), two-level credential revocation (per-credential status lists and whole-DID kill), an accountable safety record (a tamper-evident incident ledger summarized into a portable signed record), signed perception provenance (each captured sensor frame's hash bound to the robot's key and hash-linked, so a robot can prove what its sensors saw and a substituted frame is detectable), an offline delegation lease (a short-lived, scope-bounded grant a disconnected robot verifies and acts on with no network call, nesting across vendors), a physical quorum (a cryptographic two-person rule requiring M of N attested approvers for a high-consequence action), lifecycle credentials (ownership transfer that chains into a verifiable chain of custody, key rotation that forms a key history, and a signed decommission that retires the robot), a regulatory conformance profile (a machine-checkable mapping from a robot's credentials to the clauses of ISO 10218 and 15066, the EU Machinery Regulation, the EU AI Act, and UL 3300, with a deterministic checker and a signed conformance attestation), post-quantum signing by default (robot credentials carry a proof set with an Ed25519 proof and an ML-DSA-44 proof, with backward-compatible verification, so a robot stays unforgeable across its decade-long life), and cross-embodiment identity continuity (an agent identity that moves between robot bodies, with an embodiment credential re-binding to each body's hardware root and a continuity chain that proves the same accountable agent persisted, plus a fork check), a physical custody handoff chain (a signed record of who accepted custody of a task or object at each hop across human and robot actors, so an incident traces to the exact hop and an attested condition localizes damage to the holder responsible), bounded infrastructure access (an operator-signed grant naming a resource, its permitted operations, an optional zone, and a time window, which a robot pairs with a signed request the resource authorizes offline, so a robot can open a door or dock at a charger with a tamper-evident, attributable, shrink-only record), fused-sensor provenance (a signed attestation binding a robot's fused world model to the exact set of input frame hashes and the fusion method that produced it, so a manipulated fusion result or a dropped input is detectable and every fused input traces to a frame the robot recorded), wear and degradation attestation (a robot signs its own wear level bound to its identity and hash-linked over time, and a deterministic rule narrows its physical capability scope as it degrades, so a worn robot operates inside a tighter, verifiable envelope than the static limit it shipped with), and bystander-consent evidence (a robot binds the basis for capturing people, an explicit token, posted notice, a legitimate interest, or a redaction it applied, to the capture itself by its hash, holding only hashes and never anyone's identifying data, and a bystander can sign consent bound to one capture so it cannot be replayed to another), implemented across the same languages and pinned by the shared interop vector. See docs/robotics.md and the defensive disclosures PAD-064 through PAD-070, PAD-076 through PAD-084, and PAD-087 through PAD-094.
Inside your AI tools
Claude Skill, OpenAI Custom GPT, and Gemini Gem packages that teach your AI assistant how to add Vouch to your code, running on your own AI subscription.
C2PA Content Credentials for images.
Vouch Sonic an audio watermark that carries provenance through sound.
Browser extension for Chrome and Edge that signs and verifies content on the page.
For your repositories
Gatekeeper GitHub App verifies commit signatures on every pull request and blocks leaked Vouch keys before they merge.
Agent Trust Index an open benchmark that scans agents in the wild and measures how many can actually prove who they are. (Spoiler: today, almost none.)
Read the spec → | Join Discord →
AI agents are making real-world API calls with ZERO cryptographic proof of:
WHAT they intended to do
Examples of the risk:
Healthcare AI accesses patient data → HIPAA violation risk
Financial AI makes unauthorized trades → Liability nightmare
Customer service AI leaks data → Compliance failure
DIY JWT signing → No agent-specific features, security mistakes easy
Nothing → Most people just YOLO it and hope for the best
Vouch Protocol provides cryptographic identity for AI agents, modeled after SSL/TLS:
Verifiable Credentials (VC Data Model 2.0)
Data Integrity proofs (eddsa-jcs-2022 cryptosuite, no JOSE/JWS dependency)
Decentralized Identifiers (did:web, did:key)
Multikey verification methods (algorithm-agnostic, post-quantum ready)
Post-quantum profile (optional proof set: eddsa-jcs-2022 + mldsa44-jcs-2024)
Human-readable JSON (proof attaches as a sibling object, no Base64-wrapped opaque payload)
Framework-agnostic (works with MCP, LangChain, CrewAI, AutoGPT, AutoGen, Vertex AI)
Cross-language interop (Python, TypeScript, Go, byte-identical canonical form)
Open source (Apache 2.0 license, with a public portfolio of defensive prior-art disclosures)
SSL certificate = Proves website identity
Vouch Protocol = Proves AI agent identity
flowchart LR P["👤 Principal
did:web:user.example.com"] A["🤖 AI Agent
did:web:agent.example.com
+ Identity Sidecar"] C["📄 Vouch Credential
VC + Data Integrity
(eddsa-jcs-2022)"] API["🔐 API Endpoint"] V{"✅ Verified"} P -->|"Delegation VC"| A A -->|"sign(intent)"| C C -->|"HTTP body
application/vc+vouch"| API API -->|"verify()"| V 4 Simple Steps:
Generate Identity: Create an Ed25519 keypair and a DID, publish a DID Document with a Multikey verification method.
Sign Action: Agent's sidecar issues a Verifiable Credential carrying action, target, and resource, secured by an eddsa-jcs-2022 Data Integrity proof.
Send to API: Transmit the credential as the HTTP request body with Content-Type: application/vc+vouch (or via the legacy Vouch-Token header for v0.x compatibility; the prior application/vouch+credential+json Content-Type is retained as a transitional alias).
Verify: API resolves the issuer's DID, validates the Data Integrity proof, checks temporal claims and the resource binding, returns a CredentialPassport.
flowchart TB subgraph IDENTITY["Identity Layer"] DID["DID
did:web / did:key"] MK["Multikey
algorithm-agnostic key encoding"] end subgraph FORMAT["Credential Layer"] VC["Verifiable Credential
(VC Data Model 2.0)"] INTENT["Intent payload
action · target · resource"] end subgraph CRYPTO["Cryptographic Proof"] JCS["JCS canonicalization (RFC 8785)"] DEFAULT["eddsa-jcs-2022
(Ed25519, default)"] PQ["mldsa44-jcs-2024
(ML-DSA-44, optional second proof)"] end IDENTITY --> FORMAT FORMAT --> CRYPTO JCS --> DEFAULT JCS --> PQ Trust = Verifiable Credentials + Data Integrity + Decentralized Identifiers + Multikey, with an optional post-quantum proof set. The same math that secures SSL/TLS, plus the standardized primitives that secure verifiable credentials elsewhere on the web, applied to AI agents.
# Linux and macOS: one line curl -fsSL https://vouch-protocol.org/install.sh | sh # Or with pip (any platform) pip install vouch-protocol 2. Generate Identity
vouch init --domain your-agent.com 3. Sign an Action (Agent Side)
v1.0 path (VC + Data Integrity, recommended):
from vouch import Signer import os signer = Signer( private_key=os.environ['VOUCH_PRIVATE_KEY'], did=os.environ['VOUCH_DID'] ) credential = signer.sign(intent={ 'action': 'read_database', 'target': 'users_table', 'resource': 'https://api.example.com/v1/users', }) # Send credential as the JSON body of the API request, content-type # application/vc+vouch 4. Verify (API Side)
from fastapi import FastAPI, Request, HTTPException from vouch import Verifier app = FastAPI() @app.post("/api/resource") async def protected_route(request: Request): credential = await request.json() public_key = '{"kty":"OKP", ...}' # Resolved from did:web or trusted root is_valid, passport = Verifier.verify(credential, public_key=public_key) if not is_valid: raise HTTPException(status_code=401, detail="Untrusted Agent") return { "status": "Verified", "agent": passport.sub, "intent": passport.intent, } That's it. A few lines to sign, a few to verify, on either path.
Works with all major AI frameworks out-of-the-box:
Model Context Protocol (MCP): native integration for Claude Desktop and Cursor
LangChain: sign tool calls automatically
CrewAI: multi-agent identity management
AutoGPT: autonomous agent signing
AutoGen: Microsoft multi-agent framework
Google Vertex AI: sign function calls
Google ADK: native ADK tool integration
n8n: low-code agent workflows
See all integrations →
Key Rotation: automatic rotating keys for production
Voice AI Signing: sign audio frames in real-time
Cloud keys: Ed25519 keys in AWS KMS and Google Cloud KMS sign credentials, and the private key never leaves the service (vouch sidecar --kms). Azure Key Vault does not offer Ed25519 keys
Heartbeat validator service: vouch validator runs a heartbeat validator that renews agent sessions, with a container image and a Kubernetes manifest
Reputation Scoring: track agent behavior over time
Revocation Registry: blacklist compromised keys
Redis Caching: production-scale verification
Post-Quantum Profile: an optional proof set carrying an eddsa-jcs-2022 proof and an mldsa44-jcs-2024 proof for regulated deployments aligning with NIST CNSA 2.0 / NSM-10 migration timelines
Post-Quantum Example
# SEC-compliant trade logging agent.sign({'action': 'execute_trade', 'amount': 10000, 'symbol': 'AAPL'}) Customer Service
# Data access accountability agent.sign({'action': 'read_customer_data', 'customer_id': 'cust_abc'}) Healthcare AI
# HIPAA-compliant audit trail agent.sign({'action': 'access_phi', 'patient_id': '12345'}) To keep this space free from patent capture, the project publishes more than 130 defensive prior-art disclosures, covering cryptographic identity, media provenance, voice biometrics, AI safety, post-quantum cryptography, AI coding governance, per-region human-or-AI code authorship, robotics, delegation, and operating system enforcement. See docs/disclosures.
Financial services. A signed, accountable record of every trade or transfer an agent makes.
Healthcare. An auditable trail for every access to patient data.
Customer service. Proof of which agent touched which customer record, and on whose authority.
Agent to agent. When one organization's agent calls another's, each can verify the other before acting.
Vouch Specification (v1.6 normative)
Post-Quantum Implementation Guide
Protocol Specification (developer guide)
Threat Model and Security Considerations
Defensive Prior Art Disclosures (more than 130 PADs)
Discord - Ask questions, share use cases → Join now
GitHub Discussions - Technical discussions → Start a discussion
Twitter/X - Updates and announcements → @Vouch_Protocol
v1.6 (current release)
Verifiable Credentials + Data Integrity (eddsa-jcs-2022 cryptosuite)
Post-quantum profile (eddsa-jcs-2022 + mldsa44-jcs-2024 proof set, NIST CNSA 2.0 / NSM-10 aligned)
Three-language reference implementation (Python, TypeScript, Go) with byte-identical canonical form via RFC 8785 JCS, verified against shared test vectors
Specification drafted and submitted to the open standards group for incubation
More than 130 Prior Art Disclosures (defensive publications)
Identity Sidecar architecture (LLM-isolated keys)
Heartbeat Protocol with adaptive Trust Entropy
Resource-bound delegation chains with capability narrowing
MCP integration (Claude Desktop, Cursor)
Framework adapters (LangChain, CrewAI, AutoGPT, AutoGen, Vertex AI, Google ADK, n8n)
C2PA Content Credentials integration
Audio watermarking (Vouch Sonic, sub-band steganography)
DID-linked voice biometric enrollment
Browser extension (Chrome / Edge content signing)
GitHub App and Cloudflare Workers verification gateway
Next (v1.7 and beyond)
Independent third-party cryptographic security audit (Trail of Bits / NCC Group / Cure53)
Specification stabilization and external review
Algorithm Quorum verification (M-of-N cryptosuite diversity, per PAD-046)
Verifiable Delay Function rate-limiting for high-stakes agent actions (per PAD-047)
Cryptographic Weight Binding for model-intrinsic AI identity (per PAD-043)
Ephemeral ZK-State Channels for high-frequency agent-to-agent negotiation (per PAD-044)
Retrieval-anchored proof of non-hallucination (per PAD-045)
Standardized agent ledger metadata schema (per PAD-042)
Edge-first WASM + ONNX client-side processing
Hardware key support (YubiKey, TPM, Secure Enclave)
Native Rust implementation for edge and embedded deployments
View full roadmap and issue tracker →
Apache License 2.0: See LICENSE
You can use this freely in commercial and open-source projects.
The defensive prior-art disclosures in docs/disclosures are published to keep these methods free from patent capture. They are dedicated to the public domain under CC0 1.0 Universal, so anyone may copy, quote and build on them without asking.
The Vouch Protocol specification is being developed as a open standard submission via the open standards group. The implementation is also being proposed to the Linux Foundation's AI & Data Foundation.
SSL/TLS (the gold standard for identity)
OAuth 2.0 (federated identity done right)
Verifiable Credentials (the future of digital identity)
Built by Ramprasad Gaddam (Twitter/X)
Contributions welcome. See CONTRIBUTING.md. Looking for a place to start? Browse our good first issues, and open a ready-made dev environment with one click using the Open in GitHub Codespaces badge above.
Areas where help is most useful:
Additional framework integrations (Haystack, Semantic Kernel, LlamaIndex, others)
Cross-implementation interop test vectors (additional edge cases for JCS, VC, post-quantum proof sets)
Tutorials and worked examples for regulated-sector deployments
Independent security review and audit
Reference implementations in additional languages (Rust, Java, .NET)
Thanks goes to these wonderful people. This section is maintained automatically by the all-contributors bot.
Star this repo if you find it useful.
Star on GitHub | Join Discord | Follow on X
Prior Art Disclosures
To ensure ecosystem freedom, we publish more than 130 defensive prior art disclosures covering novel methods across cryptographic identity, media provenance, voice biometrics, AI safety, post-quantum cryptography, AI coding assistant governance, and content authenticity. The first 55 are listed below. The full list is in docs/disclosures:
View all disclosures →
Released: Nov 30, 2026
Author: Vouch Protocol Contributors
Both files in this release have provenance metadata.
View provenance details
Apache Software License (Apache License 2.0)
langchain crewai langgraph goose autogen mcp vertex streamlit server enterprise aws gcp pq udna tracing media openvla dev all
ai agents identity cryptography did verifiable-credentials
Development Status 4 - Beta
Intended Audience Developers
License OSI Approved :: Apache Software License
Programming Language Python :: 3
Topic Security :: Cryptography
Software Development :: Libraries :: Python Modules
Release files for vouch-protocol 3.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 1.8 MB
Release files / vouch_protocol-3.1.0.tar.gz
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Release files / vouch_protocol-3.1.0-py3-none-any.whl
Security for vouch-protocol 3.1.0
Both files in this release have been uploaded with provenance metadata.
With provenance vouch_protocol-3.1.0.tar.gz Nov 30, 2026
With provenance vouch_protocol-3.1.0-py3-none-any.whl Nov 30, 2026
Attestation for vouch_protocol-3.1.0.tar.gz
Attestation for vouch_protocol-3.1.0-py3-none-any.whl
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 30, 2026 2 release files Full provenance
Nov 10, 2026 2 release files Full provenance
Sep 8, 2026 2 release files Full provenance
Aug 12, 2026 2 release files No provenance
Jul 5, 2026 2 release files Full provenance
Jul 5, 2026 2 release files No provenance
Jun 14, 2026 2 release files No provenance
Jun 10, 2026 2 release files No provenance
Mar 4, 2026 2 release files No provenance
Jan 5, 2026 2 release files No provenance
Jan 2, 2026 2 release files No provenance
Jan 1, 2026 2 release files No provenance
Dec 29, 2025 2 release files No provenance
Dec 19, 2025 2 release files No provenance
Dec 13, 2025 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from fc0d8e6











