Sdk
SDK Reference
Current TypeScript SDK exports.
The current local SDK reference is maintained on TypeScript SDK.
Current Public Exports
| Import | Provides |
|---|---|
veto-sdk | Veto, protect, ToolCallDeniedError, VetoAdmin, guard, tool registration, approvals, provider adapters |
veto-sdk/cli | Preview CLI utilities. See CLI Preview for target grammar; do not treat receipt/MCP commands as generally available until the claims manifest marks them implemented. |
veto-sdk/providers/adapters | OpenAI, Anthropic, Gemini, and MCP schema/call adapters |
veto-sdk/integrations/vercel-ai | Vercel AI SDK middleware |
veto-sdk/integrations/langchain | LangChain tool wrapping |
veto-sdk/integrations/openai-agents | OpenAI Agents integration |
veto-sdk/integrations/browser-use | Browser Use integration |
veto-sdk/rules | Local rule utility functions |
veto-sdk/kernel | Local kernel (Ollama) validation client |
veto-sdk/custom | Custom LLM provider client |
veto-sdk/compiler | AST-based policy expression compiler |
veto-sdk/extractors | Entity and content extraction utilities |
veto-sdk/policy | Policy generation utilities |
veto-receipt-protocol | Canonical veto.receipt/1 schema, JCS hashing, NDJSON helpers, and chain verification |
Receipt helpers
import {
buildDecisionReceipt,
formatReceiptNdjson,
hashDecisionReceipt,
parseReceiptNdjson,
summarizeReceipt,
verifyDecisionReceiptChain,
} from "veto-receipt-protocol";Python receipt helpers are tracked in the claims manifest and will be documented here after the SDK package surface ships.
Examples
See Quick Start, Framework Examples, and Charter SDK.

