Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

VEX SDK for TypeScript (v1.6.0) 🛡️js

Cognitive Routing & Silicon-Rooted Evidence

Official TypeScript implementation of the VEX Protocol. Designed to wrap agent tool-calls in a cryptographically verifiable envelope.

Installation

npm install @provnai/vex-sdk

🚀 Usage

import { VexAgent, vexMiddleware } from '@provnai/vex-sdk';

const agent = new VexAgent({
    identityKey: process.env.VEX_IDENTITY_KEY!,
    vanguardUrl: 'https://vanguard.provn.ai'
});

// Use with Vercel AI SDK or custom tool loops
const securedResult = await agent.execute(
    'transfer_funds',
    { amount: 1000, currency: 'USD' },
    'Authorize emergency liquidation'
);

console.log(`VEX Outcome: ${securedResult.outcome}`); // ALLOWED

Note: This SDK natively integrates with @provncloud/sdk for hardware-rooted trust. 🛡️⚓🚀