Ship AI chat in minutes, not months

An open-source, production-ready AI chat foundation. Authentication, 120+ models, streaming, tool calling — everything you need to launch.

ChatJS — AI chat interface

Access 120+ models from leading AI providers

OpenAIAnthropicGooglexAIMeta

Tech Stack

Built on the best tools

A modern, type-safe stack chosen for developer experience and production reliability.

Next.js
Next.js
TypeScript
AI SDK
AI SDK
Better Auth
Drizzle ORM
PostgreSQL
Redis
Vercel Blob
shadcn/ui
Tailwind CSS
Zod
Zustand
Zustand
tRPC
Biome
Motion

Everything you need, out of the box

Production features that would take months to build, ready in minutes.

Platform

120+ Models

Claude, GPT, Gemini, Grok, Llama — one unified interface. Switch providers mid-conversation without losing context.

Canvas

Create and edit rich documents, code files, and spreadsheets with version history, inline diffs, and real-time collaboration.

Parallel Responses

Send one message to multiple models at once. Compare quality, tone, and accuracy across providers side-by-side.

Authentication

Built-in OAuth with Google, GitHub, and Vercel. Session management, anonymous mode, and rate limiting.

MCP Support

Extend capabilities with external tools and services via the Model Context Protocol.

Branching

Fork any conversation to explore different directions without losing context.

Built-in Tools

Deep Research

Multi-step research agent that synthesizes the web into comprehensive reports.

Reasoning

Models that support reasoning can think before answering. Collapsible thinking sections and automatic model splitting.

Code Execution

Python in a secure sandbox with pandas, numpy, matplotlib, and more pre-installed.

Web Search

Real-time search with inline citations grounding every conversation.

Image Generation

Create and edit images with AI, inline in any conversation.

Video Generation

AI-powered videos with configurable aspect ratios and durations.

Why developers use ChatJS

A practical starting point for shipping AI chat products

ChatJS gives you a credible baseline for building AI chat apps fast: real product infrastructure, flexible model support, and room to grow beyond a demo.

01

Ship an AI chat MVP fast

Start from a working Next.js AI chat app starter instead of wiring authentication, model routing, and streaming from scratch.

02

Prototype across multiple model providers

Compare OpenAI, Anthropic, Google, xAI, and open models behind one interface without rebuilding your app shell.

03

Move from side project to production

Keep the same codebase as you add auth, observability, tool calling, document workflows, and deployment polish.

FAQ

Questions developers ask before adopting an AI chat starter

These answers cover the common evaluation points for teams looking for a Next.js AI chat template they can extend in production.

What is ChatJS?

ChatJS is an open-source Next.js AI chat app starter that gives you a production-ready foundation with authentication, streaming UI, tool calling, and support for 120+ models.

Who is ChatJS for?

It is aimed at developers and product teams building AI copilots, internal assistants, customer chat products, or multi-model playgrounds that need to ship quickly without starting from zero.

Can I use ChatJS with multiple AI providers?

Yes. The project is designed for multi-provider workflows, so you can evaluate and route across model vendors without rebuilding your frontend and app infrastructure.

Is ChatJS suitable for production use?

Yes. The starter includes the core building blocks teams usually need before launch, including auth, model integrations, streaming responses, and a modern type-safe stack.

Get started in under five minutes

Scaffold a new project with a single command. Customize it, deploy it, ship it.

Terminal
$ npx @chat-js/cli@latest create my-app