Integration Paths

Which path should I choose? Choose On-Chain CPI if you are building a Solana program that needs to gate instructions on agent identity. Choose Off-Chain if you are building a web app, API, or AI agent that needs to query or manage agents.

On-Chain (CPI)

Call Vouch instructions directly from your Solana program via Cross-Program Invocation. Gate logic on agent identity, tier, or reputation without any off-chain dependency. Use the vouch-cpi Rust crate for on-chain CPI integration.

Off-Chain (SDK / API / MCP)

Use the TypeScript SDK for front-end or Node.js apps, the REST API for any language, or the MCP server to integrate Vouch into AI agent workflows directly. Install via: npm install @vouch-protocol/sdk