Ship your SaaS in days,
not months
The Django + Next.js SaaS Boilerplate with AI-Powered Chat. Authentication, multi-tenancy, plans with metered AI credit, streaming AI chat and a measured knowledge base, all wired up and ready to go.
Everything you need to launch
Stop rebuilding auth, billing, and infrastructure. Start building what makes your product unique.
Authentication
Email sign-up with activation, one-hour JWTs that refresh and rotate, rate-limited sign-in, and email changes confirmed at the new address.
Multi-Tenancy
Workspaces with owners, admins and members, plus teams. People join by invitation, and ownership can be handed over.
Plans & Billing
Free, Pro, Team and Business plans defined in code and synced to Stripe, with trials, a billing portal and per-plan limits.
Metered AI Credit
Every AI call is priced and counted against the workspace's monthly credit: replies, embeddings, search, titles and paid tools.
Streaming Chat
Replies stream as they're written, with Stop, edit and regenerate, file and image attachments, and answer ratings.
Pluggable AI Agents
LangGraph, PydanticAI or your own framework, with web search, maps, weather and knowledge-base tools.
Knowledge Base & RAG
Hybrid search with query rewriting and reranking over PDFs, Office files, web pages and YouTube, with cited answers.
Measured RAG Quality
Benchmarked on 1,000 papers and 3,045 questions, with the commands to measure it again on your own documents.
Ready for Production
Docker, Celery workers with memory caps, per-user rate limits on AI endpoints, Langfuse tracing and Sentry.
RAG you can measure
The knowledge base is benchmarked end to end on Open RAG Bench: 1,000 arXiv papers, 3,045 labelled questions and 300 graded answers. The same commands run on your own documents.
93.4%
of questions find the right paper first
83.4%
find the right passage in the top five
97%
of answers stick to what was retrieved
99.7%
of citations point to a real search result
Built on a modern stack
Production-grade technologies chosen for reliability, performance, and developer experience.
Python 3.12
Modern Python with type hints
Django 5
Battle-tested web framework
Django REST Framework
Powerful API toolkit
PostgreSQL + pgvector
Database with vector search
Celery + Redis
Async task queue
Docker
Containerized development & deployment
Ready to build?
Stop wasting weeks on boilerplate. Get a production-ready SaaS foundation with AI built in.