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

AreaWhat you get
Sign-inPasswords, magic links, email codes, passkeys, two-factor, Google, GitHub and Apple
WorkspacesA personal workspace for everyone, teams with roles and email invites
BillingStripe or Polar: flat and per-seat plans, trials, one-time products, credits
AI kitChat, agent and document Q&A, metered with credits
Customer APIWorkspace API keys, a REST API with OpenAPI, and an MCP server
AdminUsers, teams, subscriptions, credits, impersonation and an audit log
MarketingLanding, pricing, MDX blog and legal pages, sitemap, two languages
OpsSecurity 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