Skip to content
StackPick

Agent frameworks · ranked 01

Vercel AI SDK

Also known as AI SDK

TypeScript toolkit for streaming, tool calls, and chat UI.

Last reviewed

Last updated

Vercel AI SDK is #1 of 7 in Agent frameworks. Editorial score 8.5: Ease 8, Power 8, Price 9, Vibe-coder fit 9. Initial editorial estimate. Not a measured benchmark.

Who it is for Streaming AI features in a TypeScript web app.Agent frameworks: The harness around a model.

The Vercel AI SDK is an open-source TypeScript toolkit for building AI apps: streaming responses, tool calling, structured output, and UI hooks for React and other frameworks. It is provider-agnostic. It is the default harness in this directory for an indie web app that needs an assistant or a small agent.

What shipped in Vercel AI SDK

Best use cases

  • Chat and tool calls in Next.js
  • Swapping model providers without rewriting the UI
  • A first agent that does not need a heavy framework

Pros

  • + Open source and free
  • + The React hooks match how the rest of the app is built
  • + Works with more than one model provider

Who should skip it

Skip Vercel AI SDK when one of these listed limits is the constraint.

  • − Long-running multi-agent systems will want a thicker framework
  • − You still pick and pay a model provider

All comparisonsAll best-of lists

Pricing

Free

Vercel AI SDK is listed as Free. Open source and free. Model provider fees are separate. Rates: check site.

Alternatives to Vercel AI SDK

All alternatives to Vercel AI SDK

Listed alternatives: Mastra, LangChain, Pydantic AI. Mastra is listed for “TypeScript agents you keep in your repo”. LangChain is listed for “A general LLM app framework with a huge ecosystem”. Pydantic AI is listed for “Typed Python agents”.

Also in Agent frameworks: CrewAI, LangGraph, LlamaIndex.

Agent frameworks

8.0

Mastra

TypeScript framework for agents, workflows, and evals.

Best for TypeScript agents you keep in your repo

Agent frameworks

6.7

LangChain

The original LLM application framework, plus a hosted LangSmith side.

Best for A general LLM app framework with a huge ecosystem

Agent frameworks

7.6

Pydantic AI

Python agent framework from the Pydantic team, typed end to end.

Best for Typed Python agents

Release notes

Release history
  1. Vercel AI SDK

    Inkling 2 Mini on AI Gateway

    On November 24, 2026, Thinking Machines' Inkling 2 Mini became available on Vercel AI Gateway. The small multimodal reasoning model is built for agentic coding, tool use, and knowledge work, with text and image inputs and text output. It has 26.4 billion total parameters and 3.4 billion active per token. The model runs its middle layers more than once for every token, so it can reason further before writing anything down and often reach an answer with fewer reasoning tokens. Like Inkling 2 Small, it is strongest on long-running agentic tasks. The context window is 1 million tokens, and reasoning effort can be set from none through max. The model name is thinkingmachines/inkling-2-mini. Call it through the AI SDK, the Chat Completions API, fx, or a coding agent connected to AI Gateway, including Claude Code, Codex, and Cursor after npx vercel ai-gateway setup.

    Source for Inkling 2 Mini on AI Gateway (opens in a new tab)
  2. Vercel AI SDK

    Agents can manage AI Gateway through Vercel MCP

    On November 24, 2026, an agent connected to Vercel MCP can manage AI Gateway in plain language. It can create, list, inspect, update, and restore virtual models, which are reusable model IDs with saved settings. It can view, add, and update team-wide routing rules that send a request to another model or block it. It can view and set spending budgets for the team, projects, and members, and configure defaults. A virtual model named coding-agent is called as vmc/coding-agent. Its model or settings can change later without updating the clients that call it or redeploying the app. The connection needs team-level access and the AI Gateway permissions. The caller's Vercel team permissions still apply.

    Source for Agents can manage AI Gateway through Vercel MCP (opens in a new tab)
  3. Vercel AI SDK

    Extraction models on AI Gateway

    On November 23, 2026, Vercel AI Gateway added extraction models. They pull named fields out of text, images, and PDFs. ScaleDown Extract-1 (scaledown/extract-1) is the first. It returns text values or lists of text values, with a confidence score from 0 to 1 for each match, including individual list items. For text input it can also return character offsets. A field that is not found has a null value. Extraction is available through the AI SDK only. With ai 7.0.176 or later, experimental_extract sends the request. A PDF or image is passed as a file part. Extraction requests appear in AI Gateway logs and spend tracking.

    Source for Extraction models on AI Gateway (opens in a new tab)

41 more in the release history

Newsletter

Get the weekly AI tool shortlist

One email when rankings change or a tool ships something that matters. No spam, unsubscribe anytime.