Official TypeScript implementation of the VEX Protocol. Designed to wrap agent tool-calls in a cryptographically verifiable envelope.
npm install @provnai/vex-sdkimport { 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}`); // ALLOWEDNote: This SDK natively integrates with @provncloud/sdk for hardware-rooted trust.
🛡️⚓🚀