prova-agent-sdk
Behavior attestation SDK for AI agents on Solana. Wrap any agent action in a cryptographic receipt — 5 lines from cargo add to verified on-chain.
Install
Quick Start
use ;
use Keypair;
async
Features
| Method | Description |
|---|---|
register_agent |
Register a new agent PDA on-chain |
attest |
Issue a single attestation with Ed25519 pre-verify |
batch_attest |
Issue up to 100 attestations in a single tx |
revoke_agent |
Permanently revoke an agent |
update_policy_root |
Update the agent's policy merkle root |
get_agent_account |
Read agent data directly from the blockchain |
is_agent_active |
Check if an agent is registered and not revoked |
hash_action |
SHA-256 hash a string into a 32-byte action hash |
Builder
use AttestationBuilder;
let payload = transaction?;
let payload = tool_call?;
let payload = model_invocation?;
Program
- Program ID:
G11dBAzLQaADtHHM2AZNz3ThCDnkY5nhX3Ujddu1CMM1 - Network: Solana Devnet (default)
- PDA Seed:
["prova_agent", operator_pubkey]
License
Apache-2.0