📁 ai-sdk/docs/ai-sdk-core

File: ai-sdk-core.md | Updated: 11/15/2025

Source: https://ai-sdk.dev/docs/ai-sdk-core

AI SDK

Menu

v5 (Latest)

AI SDK 5.x

AI SDK by Vercel

AI SDK 6 Beta

Foundations

Overview

Providers and Models

Prompts

Tools

Streaming

Getting Started

Navigating the Library

Next.js App Router

Next.js Pages Router

Svelte

Vue.js (Nuxt)

Node.js

Expo

Agents

Agents

Building Agents

Workflow Patterns

Loop Control

AI SDK Core

Overview

Generating Text

Generating Structured Data

Tool Calling

Model Context Protocol (MCP) Tools

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 Resume Streams

Chatbot Tool Usage

Generative User Interfaces

Completion

Object Generation

Streaming Custom Data

Error Handling

Transport

Reading UIMessage Streams

Message Metadata

Stream Protocols

AI SDK RSC

Advanced

Reference

AI SDK Core

AI SDK UI

AI SDK RSC

Stream Helpers

AI SDK Errors

Migration Guides

Troubleshooting

AI SDK Core

Copy markdown

AI SDK Core

===============================================================

Overview

Learn about AI SDK Core and how to work with Large Language Models (LLMs).
Generating Text

Learn how to generate text.
Generating Structured Data

Learn how to generate structured data.
Tool Calling

Learn how to do tool calling with AI SDK Core.
Prompt Engineering

Learn how to write prompts with AI SDK Core.
Settings

Learn how to set up settings for language models generations.
Embeddings

Learn how to use embeddings with AI SDK Core.
Image Generation

Learn how to generate images with AI SDK Core.
Transcription

Learn how to transcribe audio with AI SDK Core.
Speech

Learn how to generate speech with AI SDK Core.
Provider Management

Learn how to work with multiple providers.
Middleware

Learn how to use middleware with AI SDK Core.
Error Handling

Learn how to handle errors with AI SDK Core.
Testing

Learn how to test with AI SDK Core.
Telemetry

Learn how to use telemetry with AI SDK Core.

On this page

AI SDK Core

Deploy and Scale AI Apps with Vercel.

Vercel delivers the infrastructure and developer experience you need to ship reliable AI-powered applications at scale.

Trusted by industry leaders:

  • OpenAI
  • Photoroom
  • leonardo-ai Logoleonardo-ai Logo
  • zapier Logozapier Logo

Talk to an expert

📁 Children

Directory listing - 16 item(s) total (page 2 of 2)