Vercel AI SDK

The TypeScript toolkit for building AI features: streaming, tools, agents

ai-sdk.dev · Free and open source

The AI SDK abstracts every model provider behind one TypeScript API with React streaming hooks — the fastest way to put AI features in a web clone.

Capabilities

Capabilities

  • streamText/generateObject across providers, useChat React hooks, tool calling, agents
  • Free open source; swap models by changing one string

Best for

  • Any web clone with chat/AI features (the default choice in Next.js stacks)

Not for

  • Python codebases (LangChain/native SDKs)