AI SDK 6
Introducing agents, tool execution approval, full MCP support, tool calling with structured output, DevTools, reranking, standard JSON schema support, provider tools, image editing, and so much more.
Next.js AI Chatbot now supports artifacts:
• Dynamic code execution
• Image generation
• Spreadsheets
• ... and more!
Open-source and free to get started.
AI SDK 5
Introducing type-safe chat, agentic loop controls, data parts, speech generation and transcription, Zod 4 support, global provider, and raw request access.
Introducing Chat SDK: a production-ready chatbot template, developed from everything we've learned building @v0.
Ships with:
• Custom artifacts
• In-browser code execution
• Authentication, persistence, multi-modal
• Documentation to extend & make it your own
AI Elements are new beautifully designed React components for the AI SDK.
Open source and built on shadcn/ui, they're easy to integrate and fully customizable.