@brivora/verify
5 lines of code to make any AI call verifiable.
@brivora/verify wraps any AI call with governance rules and produces a cryptographic proof of compliance. The proof is a PQC-signed Merkle root — verifiable by anyone, without trusting Brivora or any intermediary.
24 built-in governance packs covering EU AI Act, SOC 2, HIPAA, NIST AI RMF, CCPA, and 16 more frameworks across 6+ jurisdictions.
5-stage governance pipeline
Section titled “5-stage governance pipeline”DEFINE -> OBSERVE/PRE-EVALUATE -> EXECUTE -> POST-EVALUATE -> PROVE- DEFINE — Load governance pack (regulatory rules)
- OBSERVE — Capture pre-execution state, run pre-flight checks
- EXECUTE — Run the actual AI call (your function, unchanged)
- POST-EVALUATE — Evaluate governance rules against the execution result
- PROVE — Generate PQC-signed Merkle tree proof
import { verify } from '@brivora/verify';
const result = await verify.govern( () => anthropic.messages.create({ model: 'claude-sonnet-4-6', messages: [{ role: 'user', content: 'Analyze this loan application' }] }), { governance: 'eu-ai-act', audit: true });
console.log(result.output); // The AI responseconsole.log(result.proof); // PQC-signed Merkle rootconsole.log(result.valid); // trueconsole.log(result.score); // Fidelity score 0.0-1.0125 tests | 244 assertions | v0.1.0