Back to templates

Template details

Next.js AI Chatbot

A full-featured, hackable Next.js AI chatbot built by Vercel.

About this template

A full-featured, hackable Next.js AI chatbot built by Vercel.

Next.js App Router

  • Advanced routing for seamless navigation and performance
  • React Server Components (RSCs) and Server Actions for server-side rendering and increased performance

AI SDK

  • Unified API for generating text, structured objects, and tool calls with LLMs
  • Hooks for building dynamic chat and generative user interfaces
  • Supports OpenAI (default), Anthropic, Cohere, and other model providers

shadcn/ui

  • Styling with Tailwind CSS
  • Component primitives from Radix UI for accessibility and flexibility

Data Persistence

  • Vercel Postgres powered by Neon for saving chat history and user data
  • Vercel Blob for efficient file storage

NextAuth.js

  • Simple and secure authentication