chatbot
A full-featured, hackable Next.js AI chatbot built by Vercel
What is chatbot?
A full-featured, hackable Next.js AI chatbot built by Vercel
Overview of chatbot
What it is
Chatbot (formerly AI Chatbot) is a free, open-source template built with Next.js and the AI SDK by Vercel. It provides a full-featured, hackable foundation for building powerful chatbot applications.
Key features
- Next.js App Router with advanced routing, React Server Components, and Server Actions for server-side rendering and performance.
- AI SDK offering a unified API for generating text, structured objects, and tool calls with large language models, plus hooks for dynamic chat and generative user interfaces.
- Supports multiple model providers including OpenAI, Anthropic, Google, xAI, and others via the Vercel AI Gateway.
- Styling with Tailwind CSS and component primitives from Radix UI via shadcn/ui for accessibility and flexibility.
- Data persistence using Neon Serverless Postgres for chat history and user data, and Vercel Blob for file storage.
- Authentication via Auth.js for simple and secure user login.
Use cases
- Building and deploying custom chatbot applications.
- Prototyping AI-powered conversational interfaces with multiple model backends.
- Creating generative user interfaces that respond to user input in real time.
- Integrating with various AI model providers through a unified gateway.
Getting started
First, set up environment variables by linking your local instance to Vercel and downloading them: bash npm i -g vercel vercel link vercel env pull Then install dependencies, run database migrations, and start the development server: bash pnpm install pnpm db:migrate pnpm dev Your app will be running on localhost:3000.
License and pricing
Chatbot is open source and free to use. The license is not stated in the repository metadata.
Based on the project's public README and repository metadata.