What problem does it solve?
Developers and teams need a unified, production-ready scaffold to build chat interfaces that integrate multiple LLM providers, streaming responses, persistence, and rich generative UI without stitching disparate libraries together. The Chat SDK consolidates App Router conventions, artifacts, provider configuration, and deployment patterns so teams can focus on bot logic instead of infra plumbing.
Core Features & Use Cases
- Unified Chat Framework: Next.js App Router integration with server and client components for scalable chat apps.
- Generative UI & Artifacts: Interactive workspaces (code, image, sheet, text) that stream content and support in-browser execution.
- Model Provider Flexibility: Swap between providers (xAI, OpenAI, Anthropic, Google, etc.) via AI SDK Gateway or direct integrations.
- Persistence & Storage: Built-in patterns for PostgreSQL persistence (Drizzle), Vercel Blob storage, and secure auth flows.
- Deployment Workflow: One-click Vercel deployment and local dev patterns with migrations and environment variable management.
- Use Case: Build a customer support chatbot that streams model responses, stores conversation history in Postgres, accepts file uploads via Vercel Blob, and deploys with one click to Vercel.
Quick Start
Scaffold a new Chat SDK project from the Vercel template, add your API keys and DATABASE_URL to .env.local, run the database migrations, and start the development server to preview your chatbot locally.