Skip to Content

The AI layer for building frameworks and agents

A unified TypeScript SDK for building AI applications.


Model Support

Compatible with GPT-6, Claude Fable, Gemini, and Grok.

Unified Interface

Standardized interaction across diverse AI model providers.

Streaming Ready

Built-in support for modern streaming and real-time data.

Agentic Framework

Advanced tools for building autonomous agents and workflows.

Easy Installation

Get started quickly with a simple npm install command.

The framework agnostic AI toolkit

We are in good company.

Explore the documentation

Multi-provider support

Switch providers with one line of code.

Streaming that just works

Real-time responses without custom parsing.

Built-in fallbacks

Reliable production behavior by default.

AI SDK Features

Explore our core capabilities for modern AI development.


Text Generation

A unified API for generating text, structured objects, and building intelligent agents.

Speech Services

High-quality speech synthesis and recognition tools for your applications.

Transcription

Accurately convert spoken language into text with our advanced transcription models.

Image Generation

Create stunning visuals effortlessly using our integrated image generation capabilities.

Video Generation

Produce dynamic video content automatically from simple text prompts and instructions.

“OpenCode uses AI SDK.”

Dax Raad, CEO & Founder, OpenCode


Build with the AI SDK today

Discover our collection of templates to accelerate your AI development projects.


Chatbot Starter Template

Learn how to build a full-featured AI chatbot with persistence, multi-modal chat, and more.


Build a Slackbot Agent

Learn how to build a Slackbot that responds to direct messages and mentions in channels.


Build a SQL Agent

Learn how to build an app that interacts with a PostgreSQL database using natural language.