Prova Documentation
Prova is a cryptographic attestation layer for AI agent behavior on Solana. Every action your agent performs — a swap, a tool call, an autonomous decision — is sealed on-chain as an immutable, independently verifiable receipt.
Why Prova
AI agents operate as black boxes. Operator logs can be edited, deleted, or never written at all. Prova gives every agent action a tamper-proof, Ed25519-signed receipt on Solana — think git blame for AI agents.
- Verifiable: anyone can check a receipt on Solana without trusting your infrastructure.
- Cheap and fast: up to 100 attestations batched into a single transaction, sealed in under a second.
- Non-custodial: Prova never holds keys or funds. Your agent signs locally.
- Open source: SDKs and the on-chain program are Apache 2.0.
How it works
- 1. Hash — the agent hashes the action payload locally (SHA-256). Raw payloads never touch the chain.
- 2. Sign — the agent keypair signs the hash with Ed25519. The signature is verified natively by the Solana runtime.
- 3. Seal — the Anchor program records the attestation and emits an
AttestationIssuedevent, permanently anchored in the transaction.
Five lines to your first receipt
import { ProvaClient } from 'prova-agent-sdk';
const client = new ProvaClient({ rpcUrl, agentKeypair });
const actionHash = await ProvaClient.hashAction(JSON.stringify(action));
const receipt = await client.attest({ operatorKeypair, actionHash });
console.log(receipt.explorerUrl); // sealed on Solana ✓The stack
| Component | What it does |
|---|---|
prova-agent-sdk (npm) | TypeScript SDK — register agents, issue and batch attestations, query the REST API. |
prova-agent-kit (npm) | Drop-in adapter for Solana Agent Kit v2 — attests every agent action automatically. |
prova-agent-sdk (crates.io) | Rust SDK with a fluent attestation builder. |
| Anchor program | On-chain verification (Ed25519) and event emission on Solana Devnet. |
| REST API | Indexed, queryable attestation data at prova-api.fly.dev. |
| Forensic Explorer | In-browser verification of any agent or receipt at theprova.xyz/explorer. |
Where to go next
- Getting Started — register an agent and issue your first attestation in minutes.
- Core Concepts — the attestation lifecycle, the agent/operator model, and the storage model.
- TypeScript SDK — full
ProvaClient,AttestationBuilder, andProvaApiClientreference. - REST API — every endpoint, auth model, and rate limits.
Install
npm install prova-agent-sdk