Skip to main content
Hero Light Stop rebuilding the same AI chat infrastructure. ChatJS gives you a production-ready foundation with authentication, hundreds of models via pluggable gateways, streaming, and tools so you can focus on what makes your app unique.

Live Demo

See what you’re building.

Get Started

Create, configure, deploy. Go from zero to production in minutes.

Why ChatJS?

Every AI chat app needs the same boring stuff: auth, message persistence, streaming, file uploads, model switching. You’ve probably built it before. Maybe twice. ChatJS packages all of that into a single, well-architected codebase. Scaffold it, customize it, ship it.
npx @chat-js/cli@latest create my-app

What’s Included

Multi-Gateway

Hundreds of models via Vercel AI Gateway or OpenRouter

Auth

GitHub, Google, anonymous. Ready to go.

Attachments

Images, PDFs, docs. Drag and drop.

Resumable Streams

Continue generation after page refresh

Branching

Fork conversations, explore alternatives

Syntax Highlighting

Beautiful code formatting with themes

Sharing

Share conversations with public links

Web Search

Real-time web search integration

Image Generation

AI-powered image creation built-in

MCP

Model Context Protocol support

Projects

Organize chats into workspaces

Code Execution

Run code snippets in sandbox

Stack