Vercel AI SDK
Official docs outline
12 sections- Introduction
The AI SDK as a TypeScript toolkit with unified provider APIs.
- Providers and models
Provider abstraction, model ids, and switching between providers.
- Generating text
generateText and streamText with prompts, messages, and streaming.
- Generating structured data
Schema-based object generation with Zod.
- Tools and tool calling
Defining tools, multi-step calls, and tool results.
- Agents
Agent loops, stop conditions, and building workflows.
- AI SDK UI and chatbots
The useChat hook, message streaming, and building chat UIs.
- Embeddings
embed and embedMany for semantic search and RAG.
- Language model middleware
Intercepting and modifying model calls for caching, logging, or guardrails.
- Model Context Protocol tools
Using MCP servers as tool sources.
- Image generation, speech, and transcription
Multimodal generation APIs.
- Error handling and telemetry
Telemetry and observability for AI calls, plus error handling.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.