Build Powerful AI Chatbots with Next.js
A full-featured, hackable template built with Next.js and the AI SDK. Get streaming responses, document artifacts, and multi-provider AI support out of the box.
User
Create a document about AI
Assistant
I’ll create a document for you…
Quick Start
Get your AI chatbot running in minutes
Install dependencies
Set up environment variables
.env.local:Start the development server
Key Features
Everything you need to build production-ready AI chatbots
Streaming Responses
Document Artifacts
Multi-Provider Support
Authentication
Persistent Storage
Extensible Tools
Explore by Topic
Deep dive into specific areas
Deployment
Deploy your chatbot to Vercel with one-click deployment or custom hosting
Learn moreCustomization
Customize themes, add AI tools, and integrate custom models to match your needs
Learn moreAPI Reference
Explore the complete API documentation for routes, database schemas, and types
Learn moreAdvanced Guides
Learn about AI tools, streaming, rate limiting, and migration strategies
Learn moreBuilt With Modern Technologies
Next.js
App Router
Vercel AI SDK
AI Gateway
shadcn/ui
Components
PostgreSQL
Database
Ready to Build?
Start building your AI chatbot today with our comprehensive template and documentation