Agent-native boilerplate · Open source
You let the agent drive. Hand it a full-stack Next.js 15 codebase where auth, billing, and a real admin dashboard are already wired — and an AGENTS.md it reads before it touches a file. Clone it, prompt it, ship.
MIT licensed · Next.js 15 · Drizzle · Tailwind v4 · shadcn
— The stack, assembled
No wiring weekend. The parts your agent expects are in place and talking to each other from the first clone.
React 19
ui runtime
Next.js 15
front-end
Tailwind v4
styling
NestJS
api
shadcn/ui
components
Drizzle
orm
PostgreSQL
database
LemonSqueezy
billing
— Provably agent-native
An agent ships correct code only when the repo is legible to it. This one is laid out for exactly that.
$ npx degit kbtanvir/eg-saas-starter my-app && cursor my-app> "add a teams table with seat-based billing"✓ entity, API, hook, and UI — placed exactlywhere AGENTS.md says they belong.+ api/src/teams/team.entity.ts+ api/src/teams/teams.module.ts+ frontend/hooks/use-teams.ts+ frontend/app/(app)/teams/page.tsx✓ types green · app boots
An AGENTS.md at the root — conventions, paths, the one seam to flip. Read first, every time.
Entity → API → hook → UI. One home each. The agent never guesses where a file goes.
Brand, schema, and env behind known files. Rename the ship and it's yours.
Types pass and the app boots the second you land — a baseline, not a pile of TODOs.
— Crew manifest
One repo, three kinds of builder. The agent is the pilot — but the cockpit fits whoever's flying.
Primary · Pilots
Cursor, Claude Code, and vibe coders who ship by prompt. AGENTS.md is the manual your co-pilot actually reads — so features land in the right place, first try.
Solo · Weekend
One idea, one weekend, a real product. Auth and billing are done — skip the plumbing and go hunt your first paying customer.
Repeatable
Spin up client SaaS from the same battle-tested baseline every time. Rebrand at one seam, hand off a codebase you'd actually defend.
— Everything but your idea
Every part of a SaaS that every SaaS needs — so the only thing left to build is the part only you can.
Email + password, JWT + refresh, protected routes. Login to logout, no glue code.
LemonSqueezy plans, checkout, plan up/downgrade, and webhooks that actually fire.
Sidebar, data-table, charts, ⌘K, dark mode — not a placeholder, the real thing you clone.
Drizzle schema → shared types → typed hooks. Rename a column, the build names every fix.
Transactional mail plus a queue, workers, retries, and cron for the heavy lifting.
Vitest, Playwright, and a pipeline that's passing the moment you land.
Every convention above is written where your agent reads it. That's the line between a starter and a co-pilot.
Why I built it
Every SaaS I start begins with the same three weeks: auth, billing, a dashboard, an AI seam. So I stopped rebuilding it. SaasHangar is the bay I park every new idea in — and I laid it out so my agent does most of the wiring while I work on the part that's actually mine.
It's the real thing I use, not a demo dressed up for a landing page. Clone it and see.
— kbtanvir, EG
— Comms check
Straight answers, no flight-deck jargon.
The OSS slim is MIT — clone it, ship it, keep it, no strings. Indie ($129 once) adds the NestJS API, provider-agnostic email, real multi-provider AI, plus a blog and SEO. Agency ($329 once) adds multi-tenant workspaces, the agent commands engine, and white-label rights. Both one-time — no subscription.
The repo is laid out for an AI agent to extend: an AGENTS.md flight manual at the root, one predictable home per file type, and a single seam to swap mock AI for real.
Either. The conventions live in AGENTS.md, which both read. Anything that follows the file map works the same.
It helps, but the patterns are deliberately predictable — a controller returns a DTO, a service runs a query, every feature mirrors the last. Your agent fills in most of it.
Next.js 15 + React 19 + Tailwind v4 + shadcn on the front; NestJS 11 + Drizzle + PostgreSQL on the back; LemonSqueezy for billing.
Yes — it's the same starter I use for my own apps. Bring your env vars and deploy the Next app + Nest API anywhere Node runs.
— The marketplace
Every rig is a production build — free live demo, one-time price, source you own. No subscription, ever.