Lattice Core adds AI guardrails to any project you are already working on. Run one command and it generates version-aware rules for your AI assistant, a verify script, and watch mode that keeps everything current. Works with Cursor and Claude Code. Free forever.
Run in your project directory. Lattice auto-detects your stack.
Injects your exact stack versions into AI context. Prevents AI from using outdated or deprecated APIs.
Generates .cursor/rules.md for Cursor and CLAUDE.md for Claude Code. Both stay in sync.
Run `npm run verify` for fast checks. Add `--full` for complete validation before pushing.
Run `npm run verify -- --watch` to continuously check your code as you make changes.
Run `npx latticeai status` to view compliance score, drift detection, and check status.
Run `npx latticeai update` to refresh rules while preserving your customizations.
Get 6 AI playbooks for common tasks: feature, bugfix, refactor, test, polish, and security.
Works on Windows, macOS, and Linux. Tested across all platforms.
Automatically detects Next.js, Expo, TypeScript, and more from your package.json.
Run `npx latticeai security-scan --fix` to detect and fix exposed API keys and secrets.
npx latticeainpx latticeai init --detectNewnpx latticeai setupnpx latticeai setup --bundle <id>npx latticeai --helpnpx latticeai loginnpx latticeai logoutnpx latticeai whoaminpx latticeai@latest create --id <project-id>Newnpm run verifynpm run verify -- --fullnpm run verify -- --watchnpx latticeai verifynpx latticeai verify-rulesnpx latticeai release-checknpx latticeai security-scan --fixNewnpx latticeai statusnpx latticeai driftnpx latticeai diffNewnpx latticeai progressnpx latticeai updatenpx latticeai checknpx latticeai doctorNewnpx latticeai config showNewnpx latticeai rules explainNewnpx latticeai ciNew.cursor/rules.mdAI coding rules for Cursor. Includes stack versions, conventions, and guardrails.
CLAUDE.mdAI coding rules for Claude Code. Same content, different location.
.lattice/config.jsonLattice configuration. Stack detection, preset settings, policy version.
.lattice/prompts/6 AI playbooks: feature, bugfix, refactor, test, polish, security.
Yes! Lattice Core is completely free with no credit card required. You can use it on unlimited projects forever. We only charge for Lattice Architect (AI project planning), not for Core.
No account required. Just run `npx latticeai` in any project directory. Core works entirely locally and does not require authentication. You only need an account if you want to use Lattice Architect.
Core works with any JavaScript/TypeScript project: Next.js, React, Vue, Node.js, Expo, React Native, and more. It auto-detects your stack and generates version-aware rules automatically.
Core reads your package.json, detects your exact dependency versions, and injects them into AI rules. This prevents AI from suggesting APIs that do not exist in your installed versions.
Yes! The generated .cursor/rules.md and CLAUDE.md files are yours to edit. Run `npx latticeai update` to refresh rules while preserving your customizations.
Core adds guardrails to existing projects (free). Architect generates complete project plans for new projects (paid). Architect includes Core automatically, so you get both.
If you're starting from scratch, Lattice Architect is the better choice. Describe your project, get a complete PROJECT_GUIDE.md, tech stack, CI/CD workflows, and a custom setup command. Architect includes Core automatically.
Learn About ArchitectEverything you need to know about using Lattice Core to keep your code quality high and guide AI assistants correctly.
Read Full GuideRun one command in your project directory. Lattice Core is free forever.