vercel/chatbot

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

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 29 minutes ago
Added to GitGenius on June 29th, 2023
Created on May 19th, 2023
Open Issues & Pull Requests: 27 (+0)
Number of forks: 6,730
Total Stargazers: 20,868 (+0)
Total Subscribers: 138 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 9.5 days
Mean response time: 110.2 days
90th percentile: 422.0 days
Tracked items: 423

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 13% of issues opened in the past year have been closed. Three people close 81% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 13
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 3 days
Stale 30+ days: 10
Stale 90+ days: 5

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (5)
  • enhancement (3)
  • documentation (2)
  • help wanted (1)
  • question (1)
  • spam (1)
  • updated (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

The Vercel Chatbot repository is a free, open-source template designed to accelerate development of AI-powered chatbot applications. Built with Next.js and the Vercel AI SDK, it provides a production-ready foundation that developers can customize and deploy quickly. The project is written in TypeScript and serves as both a functional chatbot application and a reference implementation for building conversational AI interfaces.

The template leverages Next.js App Router for advanced routing and performance optimization, incorporating React Server Components and Server Actions to enable server-side rendering capabilities. The AI SDK provides a unified interface for text generation, structured object creation, and tool calling across multiple language model providers including OpenAI, Anthropic, Google, xAI, and others, all accessible through the Vercel AI Gateway. The user interface is built with shadcn/ui components styled using Tailwind CSS, with accessibility primitives sourced from Radix UI to ensure flexible and inclusive design patterns.

Data persistence is handled through multiple Vercel storage solutions. Neon Serverless Postgres manages chat history and user data storage, while Vercel Blob handles efficient file storage operations. Authentication is implemented via Auth.js, providing simple and secure user management. The template includes support for multiple AI models configured through a unified interface, with included models spanning Mistral, Moonshot, DeepSeek, OpenAI, and xAI. For Vercel deployments, authentication to the AI Gateway is handled automatically through OIDC tokens, while non-Vercel deployments require manual configuration of the AI_GATEWAY_API_KEY environment variable.

The most frequently tagged issues involve bugs, enhancements, and documentation improvements.

The template is designed for local development and cloud deployment, with setup instructions provided for running instances locally through the Vercel CLI. Developers can link local instances to their Vercel and GitHub accounts to automatically pull environment variables, with the application running on localhost:3000 by default. The project is classified across multiple AI and conversational domains including dialogue systems, natural language processing, conversational AI, customer support automation, and virtual assistant functionality, reflecting its broad applicability across different chatbot use cases.