Back homeInstall Veto.
Install Veto.
Wrap your agent.
Add the TypeScript SDK, wrap the agent's tool path, then move to the integration guide for your framework.
Install
$npm i veto-sdk
Other package managers
pnpm add veto-sdk
bun add veto-sdk
yarn add veto-sdk
CLI when needed
npx veto-cli@latest
Wrap the agent's tool path.
Keep your model, framework, and tool schemas. Veto checks the exact action with tenant and actor context before execution.
import { Veto } from "veto-sdk"
const veto = await Veto.init({ apiKey: process.env.VETO_API_KEY })
const safeTools = veto.wrap(rawTools, {
context: {
tenant: session.orgId,
actor: session.userId,
},
})
await agent.run({ tools: safeTools })Pick the exact stack next.
The framework pages carry the real wiring, adapters, and edge cases.