Vercel AI SDK
Add Airweave search to your Vercel AI SDK agents with a single function call.
The @airweave/vercel-ai-sdk package currently uses the legacy search API. It will be updated to support the new three-tier search API (instant, classic, agentic) in a future release.
The @airweave/vercel-ai-sdk package provides an airweaveSearch tool that integrates seamlessly with the Vercel AI SDK.
Before you start you’ll need:
Set your API key as an environment variable. You can copy your API key from the Airweave dashboard.
Full TypeScript types are included:
Each search result includes: