Ship AI SaaS
without the setup.
Chat, RAG, AI credits, billing and organizations, already built on Next.js 16. With rules your coding agent can't break.
$200 once · lifetime license · full source
$ agent: add a "rename document" action $ pnpm verify ✗ lint/noRestrictedImports app/(app)/knowledge/actions.ts Database access only under src/server/** ✗ rag/service.test.ts cross-organization read returned 1 row $ agent: moved query to server/rag/service.ts, filtered with ownedBy() $ pnpm verify ✓ lint ✓ types ✓ tests
What's inside
The parts every AI product needs, done properly.
Not a demo with a login page. Each feature has its own service, tests against real Postgres, and a decision record explaining why it's built that way.
Assistant chat
Streaming agent with tool calls, manager approvals, durable runs that recover after a crash, and multi-tab replay.
Knowledge (RAG)
Upload documents, Python extraction, chunking, embeddings and hybrid search the assistant cites.
AI credits
An append-only ledger in USD micros. Every model call is metered, reserved before it runs and settled once.
Billing & plans
Polar subscriptions, plan entitlements and quotas that hold under concurrent requests.
Organizations
Members, roles, invitations, onboarding, an admin console, audit log and account deletion.
Ship it further
Embeddable chat widget, voice agent, app connectors, an MCP server, API keys and signed webhooks.
Agent-ready
Your coding agent extends it. The rules keep it honest.
An AGENTS.md tells Claude Code, Codex or Cursor where code goes. Lint rules and tests make the important parts impossible to get wrong quietly.
Boundaries that fail the build
Database access outside the server layer, provider SDKs outside the AI core, or server code in a client bundle: Biome refuses it.
Tenancy that's tested
Every organization-owned query is checked by cross-organization tests, so a new feature can't leak another customer's data.
One command to prove it
pnpm verify runs lint, types, drift checks and the test suite in under a minute, so the agent checks its own work.
Stack
Boring where it should be.
Modern, well-supported tools you'd pick yourself, already wired together.
- Next.js 16
- React
- TypeScript
- Better Auth
- Drizzle
- Postgres + pgvector
- Mastra
- FastAPI
- Trigger.dev
- Polar
- Tailwind
- Playwright
- Vitest
- Biome
Pricing
One license. Every project.
Pay once and get the full source as a private GitHub repository. Waitlist members hear first when it opens.
- Full source code, all of it
- Unlimited projects, yours or your clients'
- Lifetime updates through the repository
- Docs site and decision records
FAQ
Questions
When does it launch?
Soon. Join the waitlist and you'll get one email when it's available. No newsletter.
Which AI providers does it support?
OpenAI, Anthropic, Google, Groq and Mistral for chat, plus Ollama for local models, routed through one gateway with per-model prices so every call is costed.
Can I use it for client work?
Yes. One license covers unlimited projects, including ones you build for clients.
Do I need to use a coding agent?
No. It's a normal Next.js codebase. The rules and tests help humans as much as agents.
Start on the product, not the plumbing.
Get an email the day Shipbase opens.