Getting started
Introduction
What shipwithagent is, what's in the box, and how these docs are organized.
01What shipwithagent is
shipwithagent is a Next.js SaaS starter built for AI coding agents. Sign-in, workspaces, billing, metered AI, admin and a customer API are already built and tested, and the repo ships with the rules, skills and checks an agent needs to extend it correctly.
You run one setup command, then point Claude Code, Cursor, Codex or Copilot at your actual product instead of the plumbing.
02What's included
| Area | What you get |
|---|---|
| Sign-in | Passwords, magic links, email codes, passkeys, two-factor, Google, GitHub and Apple |
| Workspaces | A personal workspace for everyone, teams with roles and email invites |
| Billing | Stripe or Polar: flat and per-seat plans, trials, one-time products, credits |
| AI kit | Chat, agent and document Q&A, metered with credits |
| Customer API | Workspace API keys, a REST API with OpenAPI, and an MCP server |
| Admin | Users, teams, subscriptions, credits, impersonation and an audit log |
| Marketing | Landing, pricing, MDX blog and legal pages, sitemap, two languages |
| Ops | Security headers, Sentry, PostHog, background jobs, Docker and CI |
03Stack
Next.js 16 (App Router), React 19, Better Auth, Drizzle ORM on Postgres with pgvector, Stripe or Polar, Resend, the AI SDK through Vercel AI Gateway, Inngest, Sentry, PostHog, next-intl, Vitest and Playwright.
04Where to go next
- Quick start: run it locally in three commands.
- Work with your agent: the rules, skills and checks your agent uses.
- Add a feature: scaffold your first product feature.