Vercel AI SDK

by Vercel

Provider-agnostic TypeScript toolkit for AI apps and agents

Visit ai-sdk.dev FreeOpen source

The AI SDK from Vercel is an open-source TypeScript library for building AI applications and agents. It gives one API for text generation, structured output, streaming, and tool calling across many model providers, plus an agent loop, an MCP client, and UI hooks for React, Svelte, Vue, and other frameworks.

Key features

  • Unified API across model providers
  • Streaming and structured output
  • Tool calling and agent loop (ToolLoopAgent)
  • MCP client
  • UI hooks such as useChat for React, Svelte, and Vue

Similar tools

  • OpenAI Agents SDK

    Lightweight framework for multi-agent workflows with handoffs and tracing

    by OpenAIFreeOpen sourceCLI
  • Claude Agent SDK

    Build custom agents on the same agent loop and tools as Claude Code

    by AnthropicFreeCLI
  • MCP TypeScript SDK

    Official TypeScript SDK for building MCP servers and clients

    FreeOpen sourceCLI
  • FastMCP

    Fast, Pythonic framework for building MCP servers and clients

    by PrefectFreeOpen sourceCLI
  • MCP Python SDK

    Official Python SDK for Model Context Protocol servers and clients

    FreeOpen sourceCLI
  • MCP Inspector

    Official visual testing tool for Model Context Protocol servers

    FreeOpen sourceWeb, CLI

Built a tool like Vercel AI SDK? Submit it for review