{"repo":"vercel/chatbot","free":true,"listed":false,"github":"https://github.com/vercel/chatbot","clone":"git clone https://github.com/vercel/chatbot.git","description":"A full-featured, hackable Next.js AI chatbot built by Vercel","language":"TypeScript","stars":20835,"topics":["ai","nextjs","shadcn-ui","vercel","chatgpt","react","redis"],"license":null,"category":"databases-storage","readme_excerpt":"Chatbot Chatbot (formerly AI Chatbot) is a free, open-source template built with Next.js and the AI SDK that helps you quickly build powerful chatbot applications. Read Docs · Features · Model Providers · Deploy Your Own · Running locally Features - 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, Anthropic, Google, xAI, and other model providers via AI Gateway - shadcn/ui - Styling with Tailwind CSS - Component primitives from Radix UI for accessibility and flexibility - Data Persistence - Neon Serverless Postgres for saving chat history and user data - Vercel Blob for efficient file storage - Auth.js - Simple and secure authentication Model Providers This template uses the Vercel AI Gateway to access multiple AI models through a unified interface. Models are configured in lib/ai/models.ts with per-model provider routing. Included models: Mistral, Moonshot, DeepSeek, OpenAI, and xAI. AI Gateway Authentication For Vercel deployments : Authentication is handled automatically via OIDC tokens. For non-Vercel deployments : You need to provide an AI Gateway API key by setting the AI GATEWAY API KEY environment variable in your .env.local file. With the AI SDK, you can also switch ","default_branch":null,"files":null,"tree":[],"storefront":"/r/vercel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vercel/chatbot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}