finds.dev← search

// the find

vercel/chatbot

★ 20,484 · TypeScript · NOASSERTION · updated May 2026

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

Vercel's official Next.js chatbot template — a full-stack chat app with streaming, multi-model support, artifact generation (code, text, sheets, images), and Auth.js authentication. It's a production-grade starting point, not a toy. Best suited for developers who want to ship a ChatGPT-style interface fast and are comfortable living in the Vercel/Neon ecosystem.

1. The artifact system is genuinely well-designed — code, text, spreadsheet, and image artifacts each have separate client/server modules with diff views and version history, which is more thought-out than most clones. 2. Multi-model routing via Vercel AI Gateway is handled cleanly in lib/ai/models.ts; swapping providers is a real one-liner. 3. Playwright e2e tests cover auth, chat, and model selector — unusual for a template repo and actually useful. 4. RSC and Server Actions are used correctly throughout, not bolted on as an afterthought.

1. The local dev setup requires linking to a Vercel account just to pull env vars — if you want to run this outside Vercel, you're immediately fighting the tooling. AI Gateway auth is Vercel-OIDC-only without manual key setup. 2. Neon Serverless Postgres and Vercel Blob are hard-wired as the storage layer; swapping to a self-hosted Postgres means touching multiple files with no abstraction boundary. 3. The rate limiting in lib/ratelimit.ts appears to be Vercel KV-dependent — no Redis, no KV store, no rate limiting, with no fallback or warning. 4. The weather tool is the only example tool, which is fine for a demo but leaves you to figure out the pattern for any real tool integration from scratch.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →