Skip to main content

The Identity & Reputation Standard for AI Agents

Project description

Vouch Protocol

Vouch Protocol

The Open Standard for Identity & Provenance of AI Agents

C2PA Member CAI Member DIF Member Linux Foundation Member

Protected by Vouch OpenSSF Silver Code Coverage Discord

Apache 2.0 License


⚡ Quick Start

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"

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.

Read the spec → | Join Discord →


The Problem

AI agents are making real-world API calls with ZERO cryptographic proof of:

  • WHO they are
  • WHAT they intended to do
  • WHEN they did it

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

Current solutions:

  • DIY JWT signing → No agent-specific features, security mistakes easy
  • Nothing → Most people just YOLO it and hope for the best

The Solution

Vouch Protocol provides cryptographic identity for AI agents, modeled after SSL/TLS:

Ed25519 signatures (industry-standard cryptography)
JWK key format (works with existing infrastructure)
Audit trail (cryptographic proof of every action)
Framework-agnostic (works with MCP, LangChain, CrewAI, etc.)
Open source (Apache 2.0 license)

Think of it as:

  • SSL certificate = Proves website identity
  • Vouch Protocol = Proves AI agent identity

How It Works

The Workflow

Vouch Protocol Workflow

4 Simple Steps:

  1. Generate Identity - Create keypair and DID
  2. Sign Action - Agent signs every API call
  3. Send to API - Include token in HTTP header
  4. Verify - API checks signature with public key

The Trust Model

Trust Model

Trust = Public Key Cryptography + JWT + DID
The same math that secures SSL/TLS, just for AI agents.


Why Vouch Protocol?

vs. DIY JWT

Feature Vouch Protocol DIY JWT
Agent-specific ✅ (designed for agents) ❌ (generic)
MCP integration ✅ (native) ❌ (manual)
Framework integrations ✅ (LangChain, CrewAI, etc.)
Audit trail format ✅ (standardized) ❌ (custom)
Security best practices ✅ (built-in) ⚠️ (easy to mess up)

Quick Start

1. Install

pip install vouch-protocol

2. Generate Identity

vouch init --domain your-agent.com

3. Sign an Action (Agent Side)

from vouch import Signer
import os

signer = Signer(
    private_key=os.environ['VOUCH_PRIVATE_KEY'],
    did=os.environ['VOUCH_DID']
)

token = signer.sign({'action': 'read_database', 'target': 'users'})
# Include token in Vouch-Token header

4. Verify (API Side)

from fastapi import FastAPI, Header, HTTPException
from vouch import Verifier

app = FastAPI()

@app.post("/api/resource")
def protected_route(vouch_token: str = Header(alias="Vouch-Token")):
    public_key = '{"kty":"OKP"...}' # From agent's vouch.json
    
    is_valid, passport = Verifier.verify(vouch_token, public_key_jwk=public_key)
    
    if not is_valid:
        raise HTTPException(status_code=401, detail="Untrusted Agent")
        
    return {"status": "Verified", "agent": passport.sub}

That's it. 3 lines to sign, 3 lines to verify.


Integrations

Works with all major AI frameworks out-of-the-box:

  • Model Context Protocol (MCP) - Native integration for Claude Desktop & 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
  • n8n - Low-code agent workflows

See all integrations →


Enterprise Features

  • 🔐 Key Rotation - Automatic rotating keys for production
  • 🎙️ Voice AI Signing - Sign audio frames in real-time
  • ☁️ Cloud KMS - AWS KMS, GCP Cloud KMS, Azure Key Vault
  • 📊 Reputation Scoring - Track agent behavior over time
  • 🚫 Revocation Registry - Blacklist compromised keys
  • Redis Caching - Production-scale verification

🎯 Use Cases

Financial Services

# 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'})

See full examples →


📚 Documentation


🤝 Community


🛣️ Roadmap

  • Core protocol (Ed25519, JWK, JWT)
  • MCP integration
  • LangChain, CrewAI, AutoGPT integrations
  • C2PA Content Credentials integration (image signing & verification)
  • 27 Prior Art Disclosures (CC0 defensive publications)
  • Audio watermarking (Vouch Sonic - spread-spectrum steganography)
  • Voice biometric enrollment (DID-linked voiceprints)
  • W3C standardization track (in progress)
  • Edge-first WASM + ONNX client-side processing
  • Multi-signature support
  • Hardware key support (YubiKey, etc.)
  • Browser extension (verify agents in real-time)

View full roadmap →


📜 License

Apache License 2.0 - See LICENSE

You can use this freely in commercial and open-source projects.

The Vouch Protocol specification is being developed as a W3C standards track submission. The implementation is also being submitted to the Linux Foundation's AI & Data Foundation (LF AI & Data).


🙏 Acknowledgments

Inspired by:

  • SSL/TLS (the gold standard for identity)
  • OAuth 2.0 (federated identity done right)
  • W3C Verifiable Credentials (the future of digital identity)

Built by Ramprasad Gaddam (Twitter/X)


🚀 Contributing

We welcome contributions! See CONTRIBUTING.md.

Areas where we need help:

  • Add integrations (Haystack, Semantic Kernel, etc.)
  • Improve documentation
  • Write tutorials
  • Build examples
  • Security audits

⭐ Star this repo if you find it useful!

Star on GitHub | Join Discord | Follow on Twitter


📜 Prior Art Disclosures

To ensure ecosystem freedom, we publish 27 defensive prior art disclosures (CC0 public domain) covering novel methods across cryptographic identity, media provenance, voice biometrics, AI safety, and content authenticity:

ID Title Category
PAD-001 Cryptographic Agent Identity Identity
PAD-002 Chain of Custody Delegation Identity
PAD-003 Identity Sidecar Pattern Architecture
PAD-004 DOM-Traversing Signature Matching Verification
PAD-005 Detached Signature Recovery Verification
PAD-006 URL-Based Credential Chaining Trust
PAD-007 Automated Provenance via Input Telemetry Provenance
PAD-008 Hybrid Identity Bootstrapping Identity
PAD-009 Unified Local Identity via Localhost Bridge Architecture
PAD-010 Context-Adaptive Semantic Consent Privacy
PAD-011 Hierarchical Discovery Protocol Discovery
PAD-012 Executable Usage Covenants in Media Manifests Media / Rights
PAD-013 Air-Gapped Identity via Psychoacoustic Steganography Audio
PAD-014 Robust Acoustic Provenance via Steganography Audio
PAD-015 Ambient Witness Protocol (BLE Crowdsourcing) IoT / Provenance
PAD-016 Dynamic Credential Renewal ("Heartbeat Protocol") Identity
PAD-017 Cryptographic Proof of Reasoning AI Safety
PAD-018 Model Lineage Provenance ("Birth Certificate Protocol") AI Safety
PAD-019 Transparent Agent Communication AI Safety
PAD-020 Capability Acquisition Containment AI Safety
PAD-021 Graduated Autonomy via Inverse Capability Scaling AI Safety
PAD-022 Agent Population Governance AI Safety
PAD-023 Machine-Readable Content Usage Policies in Audio Watermarks Audio / Rights
PAD-024 Temporal Perceptual Hashing for Video Provenance Video
PAD-025 Edge-First Content Provenance via Client-Side WASM Architecture
PAD-026 DID-Linked Voice Biometric Enrollment Voice / Biometrics
PAD-027 Shamir Secret Sharing of Biometric Enrollment Data Recovery / Biometrics

View all disclosures →

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vouch_protocol-1.5.0.tar.gz (146.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vouch_protocol-1.5.0-py3-none-any.whl (138.7 kB view details)

Uploaded Python 3

File details

Details for the file vouch_protocol-1.5.0.tar.gz.

File metadata

  • Download URL: vouch_protocol-1.5.0.tar.gz
  • Upload date:
  • Size: 146.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for vouch_protocol-1.5.0.tar.gz
Algorithm Hash digest
SHA256 73845a2736b318b6ef3dd1fa22be118aee5a492f8325f876e2eeea2f7e9a6cd5
MD5 b8ca79cd9395243512c37d58a8b3f91e
BLAKE2b-256 80ed2d30c9152a372d5ba228cacbee75f023294bf1c0007ca084c22ccd85dbf1

See more details on using hashes here.

File details

Details for the file vouch_protocol-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: vouch_protocol-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 138.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for vouch_protocol-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 960e54b0c76793d9144a9e534e077699aeddc67155e01e28e688afccbbd09f82
MD5 b349234885ccb068bfb3d527447f1c4a
BLAKE2b-256 bb2631c78e631e1d6f387435aee0bc66bfb76af0243ae9a01c0ebae7e065b532

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page