Vercel AI SDK
VercelThe AI SDK is a TypeScript toolkit for building AI applications and agents, with one interface for calling models from OpenAI, Anthropic, Google and many other providers. It covers text and structured-output generation, tool calling, a ToolLoopAgent class for agents that call tools in a loop, and UI hooks that stream chat and tool results into React, Svelte and Vue apps. Vercel builds it.
Openness
5 high confidence- license
- Apache-2.0 (OSI)
- source
- public
- core features withheld
- no — the tree at 2ebc78b holds 10,076 paths under a root Apache-2.0 LICENSE with no ee/, enterprise/, commercial/ or proprietary/ path, and the client for the AI Gateway is itself an Apache-2.0 package in it; the AI Gateway that plain model strings route to is a separately sold Vercel service, and the provider packages call model APIs directly
- commercial
- Vercel-AI-Gateway
The AI SDK is Apache-2.0 licensed, and every package in it, including the client for Vercel's AI Gateway, builds from the public repository. Plain model strings route through the paid AI Gateway by default, but that is a hosted service sold beside the SDK, and the provider packages reach each model API directly without it.
- https://raw.githubusercontent.com/vercel/ai/main/LICENSE recorded 2026-11-12
The root LICENSE reads "Copyright 2023 Vercel, Inc." and "Licensed under the Apache License, Version 2.0".
- https://raw.githubusercontent.com/vercel/ai/main/packages/ai/README.md recorded 2026-11-12
The README calls the AI SDK "a provider-agnostic TypeScript toolkit" and says "By default, the AI SDK uses the Vercel AI Gateway" and "You can also connect to providers directly using their SDK packages". It describes no paid edition of the SDK itself.
- https://raw.githubusercontent.com/vercel/ai/main/packages/gateway/package.json recorded 2026-11-12
The manifest for @ai-sdk/gateway, the AI Gateway client the ai package depends on, declares "license": "Apache-2.0" and is built from the same repository.
- https://registry.npmjs.org/ai/latest recorded 2026-11-12
The npm record for ai 7.0.170 declares "license": "Apache-2.0", the repository https://github.com/vercel/ai with directory packages/ai, and depends on @ai-sdk/gateway, @ai-sdk/provider and @ai-sdk/provider-utils.
Adoption
5 medium confidenceAdoption is read from npm downloads of the ai package over the trailing month. CI runs and installs pulled in by other packages add to the count, so it measures install volume rather than developers, and the separate provider packages are not added to it.
- https://api.npmjs.org/downloads/point/last-month/ai recorded 2026-11-12
npm downloads point API: 155,765,041 downloads for ai over 2026-10-12 to 2026-11-10.
Capability
4 medium confidenceThe AI SDK gives agents a tool-calling loop, structured output and streaming interfaces behind one provider-neutral API. It sits a step below LangGraph, whose graph-structured runs checkpoint their state and resume where they stopped.
- https://raw.githubusercontent.com/vercel/ai/main/packages/ai/README.md recorded 2026-11-12
The README documents generateText with structured output, an Agents section built on ToolLoopAgent with tools, and the AI SDK UI hooks for Next.js, React, Svelte and Vue; it publishes no benchmark figure.
Verified 2026-11-12, except some scores, still awaiting re-confirmation