🎉 BETA — Full Lattice Core FREE for everyone while we test

Beta — Lattice Core free while we test

AI Guardrails for Production Code

Stop shipping outdated dependencies. Lattice enforces version-aware rules, generates CI workflows, and provides curated bundles that work first try.

$ npx latticeai
Cursor Claude Code Windows / Mac / Linux
# Lattice Guardrails - v0.4.0
Stack: Next.js 16 + TypeScript + Supabase
latticeVersion: "0.4.0"
policyVersion: "1.0.0"
required_checks:
- lint: required
- typecheck: required
- test: required
- build: required
✓ All checks passed
Ready to merge • CI enforced

Why Lattice?

AI assistants ship code fast. Lattice ensures it's production-ready from day one.

⚠️

Outdated Dependencies

AI uses Next.js 15 when 16 is current. React 18 when 19 is stable. Version-aware rules prevent this.

🔄

Inconsistent Code Quality

Every AI session starts fresh with no memory. Lattice injects project context so quality stays consistent.

Automated Enforcement

Lattice generates project rules, enforces them locally with `verify`, and blocks bad merges in CI — automatically.

How Lattice Works

Three steps. One command each.

1

Setup

Run one command. Lattice auto-detects your stack and configures everything.

$ npx latticeai
2

Verify

Check your code meets quality gates. Fix issues before they ship.

$ npm run verify
3

Ship

Push to GitHub. CI blocks bad code automatically. Merge with confidence.

$ git push

Commands Reference

npx latticeaiInteractive setup wizard. Detects your stack, generates rules, CI, and prompts.
npx latticeai --bundle nextjs-saasCreate a new project from a curated bundle with everything pre-configured.
npm run verifyRun preset checks (startup: lint + typecheck). Fast for iteration.
npm run verify -- --fullRun ALL checks: lint, typecheck, test, build. Use before pushing.
npm run verify -- --watchWatch mode. Re-runs checks automatically when files change.
npx latticeai statusView project health: compliance score, drift detection, check status.
npx latticeai updateRefresh rules to latest Lattice version. Preserves your customizations.
npx latticeai bundle rollbackRestore project to a previous state if something breaks.

Lattice Core Features

The complete enforcement layer. All included free during beta.

One-Command Setup

Run `npx latticeai` for interactive setup. Generates rules, configs, and CI in seconds.

Cursor + Claude Code

Works with both major AI coding platforms. Generates .cursor/rules.md AND CLAUDE.md.

Version-Aware Rules

Injects current stack versions into AI context. Prevents "Next.js 15" when 16 is current.

CI Enforcement

Auto-generated GitHub Actions workflow runs `verify` on every PR. Blocks bad merges.

Cross-Platform

Works on Windows, macOS, and Linux. Tested on all three in CI.

Bundle Rollback

Accidentally broke something? Roll back to any of the last 5 bundle versions.

Update Command

Run `npx latticeai update` to refresh rules while preserving your customizations.

Release Readiness Check

Run `release-check` to validate docs, monitoring, analytics, tests, and secrets before deploy.

Version-Pinned Bundles

5 curated starters with Next.js 16 and Expo 54. Tested combinations that work first try.

Production-Ready Bundles

Start with version-pinned, tested stacks. No configuration hell.

🌐
Popular

Next.js SaaS

Next.js 16 + Auth + Supabase + Stripe + Sentry

TypeScriptTailwindJest
📱

Expo Mobile

Expo 54 + React Native 0.79 + EAS Build

TypeScriptExpo RouterSentry
🌐

Next.js Landing

Lightweight Next.js 16 for marketing sites

TypeScriptTailwindPostHog
🌐

Next.js + tRPC

Next.js 16 + tRPC + Prisma for type-safe APIs

TypeScriptZodPrisma
📱

Expo + Supabase

Expo 54 + Supabase backend

TypeScriptAuthRealtime
+

More Coming Soon

Django, Rails, Vue, and more...

Find Your Perfect Stack

Answer 2 quick questions and get a personalized bundle recommendation.

Step 1 of 2

What are you building?

Try Lattice Core Free

Full access during beta. No credit card, no restrictions. Just run one command.

$ npx latticeai

Auto-detects your stack. One confirmation, then generates everything you need.

✓ rules.md

AI context with version-aware rules

✓ CI Workflow

GitHub Actions for enforcement

✓ Prompt Templates

6 context-aware prompts

Already have a project? npx latticeai setup auto-detects your stack.