Coming soon. A dedicated Vercel AI SDK plugin with tool-level interception is in development. In the meantime, use the Mandate TypeScript SDK directly alongside the Vercel AI SDK.
Using Mandate with Vercel AI SDK today
Mandate works with any AI framework through the TypeScript SDK. CallMandateClient.validate() before any tool that sends a transaction.
validate() call takes less than 200ms and runs your transaction against all 14 policy checks.
What the dedicated plugin will add
The planned Vercel AI plugin will intercept tool calls automatically, so you do not need to add manualvalidate() calls. It will wrap your tool definitions and enforce Mandate policies at the framework level before execution.
Next Steps
SDK Overview
Install and configure the Mandate TypeScript SDK.
Integrations Overview
See all available framework integrations.
Handle Errors
Catch policy blocks, approval requests, and circuit breaker errors.