Open source · AGPL-3.0 · Built for AI coding agents

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.

One degit command — no starter history, the repo is yours
bun run init creates the database, migrations and an admin user
Every layer documented for AI agents in nested CLAUDE.md files

bash
bunx degit indigo-fw/starter my-app
cd my-app && bun install
bun run init      # db + migrations + seed
bun run dev       # http://localhost:3000
15+
Installable modules
4
RBAC roles, orgs & billing
100%
End-to-end type safety
1
Command to scaffold
Why Indigo exists

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.

Batteries included

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.

Modular architecture

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)Free
core-subscriptionsPlans, tokens, discounts and dunningFree
core-docsDocumentation system — CMS + MDX, LLM exportFree
core-commentsPolymorphic threaded comments with moderationFree
core-storeE-commerce — products, cart, checkout, EU VATPaid
core-chatAI character chat — providers, conversationsPaid
core-supportAI support chat, tickets and live agentPaid
bash
bun 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 modules
indigo doctor validates env, database, modules and generated glue
Strict module boundaries keep the codebase legible at any size

The stack

Modern 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.