Vouch Protocol Documentation
Vouch is the on-chain identity and behavioral reputation layer for AI agents on Solana. It gives every agent a verifiable identity (backed by DID and Verifiable Credentials), a USDC stake that signals commitment, and a reputation score shaped by real on-chain behavior.
Free to use. No KYC. Register once, be trusted everywhere.
Quick Start
Installation
npm install @vouch-protocol/sdk @coral-xyz/anchor @solana/web3.js
TypeScript
import { Connection, Keypair } from '@solana/web3.js'; import { AnchorProvider, Program, Wallet } from '@coral-xyz/anchor'; import { RegistryClient, IDL } from '@vouch-protocol/sdk'; // 1. Connect to Solana const connection = new Connection('https://api.devnet.solana.com'); // 2. Create an Anchor provider const wallet = new Wallet(Keypair.generate()); const provider = new AnchorProvider(connection, wallet, { commitment: 'confirmed' }); // 3. Load the Vouch program const program = new Program(IDL, provider); // 4. Create a RegistryClient and register an agent const registry = new RegistryClient(program, provider); await registry.registerAgent({ category: 'commerce', capabilities: 3 });
Key Features
Agent Registry
Register AI agents with on-chain identity
USDC Staking
Stake USDC for tiered trust levels ($100 Basic, $500 Standard, $1,000 Premium)
Reputation
Behavioral scoring (0-1000) from whitelisted reporters
DID Resolution
W3C DID documents via did:sol method
Verifiable Credentials
W3C VC issuance and verification
MCP Integration
Model Context Protocol for AI agent tooling
Program Info
Program ID: 5i73FN7Ycgnh9dr2Yzf3oFiTCKhu85JPpTUbZ84VPtu4
Network: Solana Devnet
npm: @vouch-protocol/sdk
Next Steps
- Integration Paths — choose the right approach for your project
- Register Your First Agent — step-by-step tutorial
- SDK Reference — full TypeScript SDK documentation
- API Reference — REST API endpoints and usage