Skip to main content

The Identity & Reputation Standard for AI Agents

Project description

Vouch Protocol

Discord License: AGPL v3 Status

__      __  ____   _    _    _____   _    _ 
\ \    / / / __ \ | |  | |  / ____| | |  | |
 \ \  / / | |  | || |  | | | |      | |__| |
  \ \/ /  | |__| || |__| | | |____  |  __  |
   \__/    \____/  \____/   \_____| |_|  |_|

"The 'Green Lock' for the Agentic Web."

Vouch is the open-source standard for AI Agent Identity, Reputation, & Liability. It provides the missing cryptographic handshake to allow autonomous agents to prove their intent and accountability.

⚠️ Public Beta: This protocol is v1.0 compliant but the implementation is currently in Beta. Please report issues on GitHub.


⚡ Quick Start

1. Installation

pip install vouch-protocol

2. Usage

For Gatekeepers (Verifying an incoming agent):

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")):
    # Verify the cryptographic intent
    is_valid, passport = Verifier.verify(vouch_token)
    
    if not is_valid:
        raise HTTPException(status_code=401, detail="Untrusted Agent")
        
    return {"status": "Verified", "agent": passport.sub}

🔌 Integrations

1. Model Context Protocol (MCP)

Vouch includes a native MCP server for Claude Desktop & Cursor.

Configuration:

{
  "mcpServers": {
    "vouch": {
      "command": "python3",
      "args": ["-m", "vouch.integrations.mcp.server"],
      "env": {
        "VOUCH_PRIVATE_KEY": "YOUR_KEY",
        "VOUCH_DID": "did:web:your-domain.com"
      }
    }
  }
}

2. LangChain Integration

Add cryptographic identity to your LangChain tools.

from vouch.integrations.langchain.tool import VouchSignerTool

tools = [VouchSignerTool()]

3. CrewAI Integration

Works natively with CrewAI agents.

from vouch.integrations.crewai.tool import VouchSignerTool

agent = Agent(
    role='Analyst', 
    tools=[VouchSignerTool()]
)

4. AutoGPT Integration

Register the signer command with your agent.

# In your plugins/vouch folder
from vouch.integrations.autogpt import register_commands

7. n8n Integration (Low-Code Agents)

You can use Vouch directly in n8n using the Python Code Node.

Prerequisite: Ensure your n8n instance installs the library: export EXTERNAL_PYTHON_PACKAGES=vouch-protocol

Code Node Snippet:

from vouch import Signer
import os

# 1. Initialize
signer = Signer(
    private_key=os.environ.get('VOUCH_PRIVATE_KEY'), 
    did=os.environ.get('VOUCH_DID')
)

# 2. Sign the incoming workflow data
# (Copy full snippet from vouch.integrations.n8n)

📜 License & Legal

This project is licensed under the GNU Affero General Public License v3.0 (AGPLv3). View Full License

Defensive Disclosure (Prior Art)

Publication Date: December 14, 2025 Subject: Cryptographic Binding of AI Agent Intent via Model Context Protocol (MCP)

To ensure the freedom of the ecosystem to build secure agents, we explicitly disclose the following novel method as Prior Art:

  1. The "Identity Sidecar" Pattern: An MCP Server acting as a local "Identity Proxy" for a stateless LLM, isolating keys from application code.
  2. Just-in-Time (JIT) Intent Signing: A workflow where the LLM requests a signed "Vouch-Token" for a specific action before execution.
  3. Non-Repudiation: Generating a cryptographically verifiable audit trail binding Identity, Intent, and Time.

CLI

vouch init --domain x.com vouch sign 'msg' vouch verify 'tok'

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.0.9.tar.gz (48.5 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.0.9-py3-none-any.whl (39.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vouch_protocol-1.0.9.tar.gz
  • Upload date:
  • Size: 48.5 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.0.9.tar.gz
Algorithm Hash digest
SHA256 5690c8a1e4c1dda3aa5ce787fed1b916584570ecaa5b04b8e0784c77aa644e4f
MD5 88abe8f46d15c8b6b87540d942026cee
BLAKE2b-256 1e88573304b8e17cd1e89d9a71c9d0b169e4ebfc0fcaed3b5ad4e26ce16a5323

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vouch_protocol-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 39.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.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 8de3dc5389f3b3afc90adb07f4b8d3bea492aa6ab713e76f32575c64e7c70217
MD5 83101045df363e58d6b4cbf74a24570a
BLAKE2b-256 6e42b35e83764c3cc3b70344faa6b14f7a81b745d3475ac71593e166e704d90d

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