AI SDK
  • Docs
  • Cookbook
  • Providers
  • Showcase
  • Playground

AI SDK 4.2 is now available!

Read Announcement
AI SDK by Vercel
Foundations
Overview
Providers and Models
Prompts
Tools
Streaming
Agents
Getting Started
Navigating the Library
Next.js App Router
Next.js Pages Router
Svelte
Vue.js (Nuxt)
Node.js
Expo
Guides
RAG Chatbot
Multi-Modal Chatbot
Slackbot Guide
Natural Language Postgres
Get started with Computer Use
OpenAI Responses API
Get started with Claude 3.7 Sonnet
Get started with Llama 3.1
Get started with OpenAI GPT-4.5
Get started with OpenAI o1
Get started with OpenAI o3-mini
Get started with DeepSeek R1
AI SDK Core
Overview
Generating Text
Generating Structured Data
Tool Calling
Prompt Engineering
Settings
Embeddings
Image Generation
Transcription
Speech
Language Model Middleware
Provider & Model Management
Error Handling
Testing
Telemetry
AI SDK UI
Overview
Chatbot
Chatbot Message Persistence
Chatbot Tool Usage
Generative User Interfaces
Completion
Object Generation
OpenAI Assistants
Streaming Custom Data
Error Handling
Smooth streaming japanese text
Smooth streaming chinese text
Stream Protocols
AI SDK RSC
Overview
Streaming React Components
Managing Generative UI State
Saving and Restoring States
Multistep Interfaces
Streaming Values
Handling Loading State
Error Handling
Handling Authentication
Migrating from RSC to UI
Advanced
Reference
AI SDK Core
AI SDK UI
AI SDK RSC
Stream Helpers
AI SDK Errors
Migration Guides
Troubleshooting

AI SDK RSC

AI SDK RSC is currently experimental. We recommend using AI SDK UI for production. For guidance on migrating from RSC to UI, see our migration guide.

Overview
Learn about AI SDK RSC.
Streaming React Components
Learn how to stream React components.
Managing Generative UI State
Learn how to manage generative UI state.
Saving and Restoring States
Learn how to save and restore states.
Multi-step Interfaces
Learn how to build multi-step interfaces.
Streaming Values
Learn how to stream values with AI SDK RSC.
Error Handling
Learn how to handle errors.
Authentication
Learn how to authenticate users.
Previous
Stream Protocols
Next
Overview
On this page
AI SDK RSC
Elevate your AI applications with Vercel.
Trusted by OpenAI, Replicate, Suno, Pinecone, and more.
Vercel provides tools and infrastructure to deploy AI apps and features at scale.

Resources

DocsCookbookProvidersShowcaseGitHubDiscussions

More

PlaygroundContact Sales

About Vercel

Next.js + VercelOpen Source SoftwareGitHubX

Legal

Privacy Policy

© 2025 Vercel, Inc.