AI SDKs
Vercel AI SDK
Agentic adapter for the Vercel AI SDK.
- package:
@agentic/ai-sdk
- exports:
function createAISDKTools
- source
- Vercel AI SDK docs
Install
Usage
This example also requires you to install @ai-sdk/openai
.
Running this example
You’ll need a free API key from weatherapi.com
to run this example. Store it in a local .env
file as WEATHER_API_KEY
.
You’ll need an OpenAI API key
to run this example. Store it in a local .env
file as OPENAI_API_KEY
.