Ship your SaaS, not your boilerplate
Indigo is an open-source, AI-agent-driven SaaS framework for Next.js. CMS, auth, billing, real-time, and a modular architecture — production-grade from the first commit.
From zero to a running product in one command
No wiring auth to billing. No re-inventing a CMS. No gluing a job queue to a database. Indigo ships the boring 80% — so you build the 20% that is your product.
bun run init creates the database, migrations and an admin userCLAUDE.md filesbunx degit indigo-fw/starter my-app
cd my-app && bun install
bun run init # db + migrations + seed
bun run dev # http://localhost:3000
Starting a SaaS shouldn't mean rebuilding the same plumbing
Every serious web app needs the same foundation. Indigo treats that foundation as a solved problem so your team never pays for it twice.
The problem
Teams burn the first month wiring auth, payments, a CMS, email, jobs and real-time together — fragile glue code that is never the product.
The Indigo answer
A cohesive, type-safe foundation where every piece already knows about the others. Extend through config and modules, not forks.
Built for agents
Nested CLAUDE.md docs and a config-driven architecture let AI coding agents read, navigate and extend the codebase on their own.
Everything a SaaS needs — on day one
The free, always-present core. No license, no upsell, no setup tax.
Integrated CMS
Config-driven content types, revision history, media library, SEO, sitemaps and RSS.
Auth & organizations
Better Auth with RBAC, organizations, social login and team management.
Real-time
WebSocket transport with Redis pub/sub for live, multi-instance updates.
Background jobs
BullMQ workers on Redis, with a database-queue fallback when Redis is absent.
Type-safe data
Drizzle ORM on PostgreSQL with UUID keys, end-to-end typed through tRPC.
i18n & SEO
Multi-locale proxy routing, hreflang, canonical URLs and JSON-LD baked in.
Install only what your product needs
Modules are self-contained git subtrees — routers, schema, seeds and admin pages included. Add and remove them with one command.
core-paymentsPayment provider abstraction (Stripe)Freecore-subscriptionsPlans, tokens, discounts and dunningFreecore-docsDocumentation system — CMS + MDX, LLM exportFreecore-commentsPolymorphic threaded comments with moderationFreecore-storeE-commerce — products, cart, checkout, EU VATPaidcore-chatAI character chat — providers, conversationsPaidcore-supportAI support chat, tickets and live agentPaidbun run indigo add core-store
bun run indigo visualize
bun run indigo doctor
A framework AI agents can actually drive
Indigo is config-driven and open-closed by design — new content types, modules and features register themselves instead of editing shared code.
indigo visualize generates live architecture diagrams from your modulesindigo doctor validates env, database, modules and generated glueModern foundations, no compromises
Next.js 16 · React 19 · TypeScript · tRPC · Drizzle ORM · PostgreSQL · Better Auth · Tailwind CSS v4 · BullMQ · Redis · WebSocket · Bun · Zod
Build your next SaaS on Indigo
Open source under AGPL-3.0, with a commercial license for proprietary use. Clone it, explore the demo, ship your product.