Nexity

Nexity is an open source system for starting and growing AI-native websites on Next.js + Sanity.
It is for teams where every website change lands on a developer. Nexity gives coding agents (Claude Code, Codex, Cursor) the design system, the blocks and the Sanity schema, so marketing can build new sections with AI and a developer reviews the result before it goes live.

Live demo: https://meridian.nexity.build
Quick start
Requirements: Node.js 22.12 or newer, pnpm 12.15 (corepack enable picks it up), a Sanity account (the free plan works).
npm create sanity@latest -- --template Pagepro/nexity/base
cd <your project folder>
pnpm dev
The site runs on http://localhost:3000 and the Studio on http://localhost:3000/admin.
The project comes with the agent layer: skills and reviewers in .agents/, already linked for Claude Code and Codex. Check the setup with pnpm agent:doctor. To link Cursor, take a newer version of the skills or set them up by hand, see Agent layer.
What makes Nexity different
Nexity gives a coding agent more than build instructions. It gives it the rules of your brand and reviewers that check its work.
DESIGN.md: how it looks. Tokens, section anatomy, do's and don'ts, read by every skill that touches what a visitor sees.
BRAND.md: what it says. Audience, voice, messaging.
AGENTS.md: how to build. Architecture, commands, conventions and step-by-step checklists.
- Read-only reviewers in
.agents/agents/: styling-fidelity-reviewer checks a section against DESIGN.md, sanity-schema-reviewer and groq-parity-reviewer check the schema and the queries. The create-section skill runs them.
- Skills for setting up a project, creating sections, fixing links, writing alt texts and auditing Sanity use.
- Marketing skills for any site and any CMS, read-only by default.
Details and install options: see Agent layer.
What is in the repository
Nexity Base (base/) is a pnpm monorepo with two packages:
web/: the Next.js 16 app (App Router, Tailwind CSS 4, TypeScript), with the Sanity Studio embedded at /admin.
studio/: a standalone Sanity Studio with the same schemas. Schemas live here and web/ imports them.
This repository holds the starter, a demo site built on it (theme-meridian/) and, in .agents/, the agent layer that works with them: skills and read-only agents (reviewers, auditors) for any coding agent (Claude Code, Codex, Cursor and others).
Stack
| Version |
|---|
| Next.js | 16.4 (App Router, Turbopack) |
| React | 19.3 |
| Sanity Studio | 6.20 (next-sanity 13.3, @sanity/client 8.11) |
| Tailwind CSS | 4.3, with shadcn/ui |
| TypeScript | 7.0 |
| Zod | 4.6 |
| Oxlint / Oxfmt | 1.89 / 0.74 |
| c15t (cookie consent) | 3.1 (@c15t/nextjs) |
| Resend | 6.34 |
| Node.js | 22.12 or newer |
| pnpm | 12.15 |
Versions are the minimums in each starter's package.json; both starters use the same ones.
Start here
| Entry | What you get | How to start |
|---|
base/ | Unbranded foundation. Same features as Meridian, neutral look (default Tailwind palette, Inter). Starts on an empty dataset and shows a Next steps screen until you add the first content. | npm create sanity@latest -- --template Pagepro/nexity/base |
theme-meridian/ | Demo site for Meridian, a fictional B2B brand: full design, product mocks and seed content. | npm create sanity@latest -- --template Pagepro/nexity/theme-meridian, then pnpm seed |
.agents/ | The agent layer: skills and read-only agents for setting up a project, creating sections, fixing links, writing alt texts and auditing Sanity use. | Already in every project made from a starter; pnpm agent:doctor checks it (see Agent layer) |
| Marketing skills | Audits and content skills for any site and any CMS, read-only by default. | /plugin marketplace add Pagepro/nexity, then /plugin install nexity-marketing-skills@nexity. Start from MARKETING-SKILLS-README.md |
sanity init creates or picks a Sanity project and dataset, downloads the starter folder (the agent layer included), writes web/.env.local and studio/.env with the project id and dataset, creates the API tokens, adds the localhost CORS origins and installs the dependencies.
Locally, the standalone Studio at http://localhost:3333 (also started by pnpm dev) reloads faster than /admin. Production serves only the Studio embedded at /admin.