Vercel AI SDK
Develops TypeScript AI applications and agents with streaming responses, tool use, and multiple model providers.
Description
Vercel AI SDK is an open-source TypeScript toolkit for building AI applications and agents. It provides a consistent interface to multiple model providers, reducing dependence on the details of any one provider's API. AI SDK Core supports text generation, streaming, structured outputs, and tool calls. UI utilities help developers build chat interfaces and display responses in web applications. The toolkit works with React, Next.js, Svelte, Vue, and Node.js environments. Applications can connect directly to model providers or use the separate Vercel AI Gateway service. The SDK itself is free and open source. Developers still need an application runtime and model credentials; paid model requests and optional AI Gateway usage have their own charges.