Free Next.js AI Agent Boilerplate
A clean, streaming AI chat starter — MIT licensed, no signup, no email wall. Built on Next.js 16, Tailwind v4 and the Vercel AI SDK v5, with Claude, GPT and Gemini support behind a single environment variable.
Same code both ways. Email gets you a permanent link and update notifications; GitHub gets you the repo, no strings.
Running in three commands
- 1
npm installInstalls Next 16, Tailwind v4 and the AI SDK.
- 2
cp .env.example .env.localThen paste one API key — Anthropic, OpenAI or Google.
- 3
npm run devStreaming chat on localhost:3000. That's it.
What's included — and what isn't
Included, free
- ✓Token-by-token streaming chat
- ✓Working stop button
- ✓Provider switch (Claude/GPT/Gemini)
- ✓Tailwind v4 dark theme
- ✓One route handler, no backend
Not included (that's the paid kit)
- ✕Authentication
- ✕Database + row-level security
- ✕Payments and entitlement
- ✕Tool-calling agent engine
- ✕Dashboard with run history
Need auth, database and payments too?
That's the two weeks the free kit doesn't save you. The Premium Agentic Boilerplate has Supabase Auth, Polar payments with verified webhooks, a multi-step agent engine and a full dashboard — wired together and working.
Get the Premium Kit — $79 once