back to home

nrwl / nx

The Monorepo Platform that amplifies both developers and AI agents. Nx optimizes your builds, scales your CI, and fixes failed PRs automatically. Ship in half the time.

28,279 stars
2,677 forks
493 issues
TypeScriptRoffRust

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing nrwl/nx in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/nrwl/nx)
Preview:Analyzed by RepoMind

Repository Summary (README)

Preview

Nx Logo

Smart Monorepos · Fast Builds

NPM Version GitHub Stars License Discord X (Twitter)


Docs  •  Changelog  •  Blog  •  Courses  •  YouTube


Nx is a monorepo solution for TypeScript and polyglot codebases. Built with Rust for performance, extensible via TypeScript. Caches what didn't change, runs only what's affected, and comes with an integrated CI solution. Start simple, scale as you grow.

Quick Start

Visit the Nx quickstart docs to get started.

Why Nx?

  • Incremental by design - Run npx nx init in any npm/pnpm/yarn workspace. Nx picks up your existing package.json scripts, caches their outputs, and runs only what's affected. No changes to your setup required.
  • AI-native tooling - The Nx CLI is optimized for autonomous AI agents so they get the context they need and can operate just like a human. Learn more »
  • Polyglot plugin system - Optional plugins auto-discover tasks, configure cache inputs/outputs, and scaffold code based on your actual tooling. Works with Vite, Webpack, Jest, Vitest, ESLint, Gradle, Maven, .NET, Go, and more.
  • Integrated CI solution - Connect Nx to your CI provider (GitHub Actions, GitLab, Azure, etc.) to enable remote caching, task distribution across machines, affected-only runs, and automatic e2e test splitting. Learn more »
  • Self-healing CI - An AI agent on your CI pipeline that detects failures, analyzes root cause, proposes a fix, and verifies it automatically. Local agents connect to CI via MCP to autonomously detect and fix failures. Learn more »

Who uses Nx?

From startups to Fortune 500 companies. See our Nx success stories »

Want to help?

If you want to file a bug or submit a PR, read up on our guidelines for contributing.

Core Team

Victor SavkinJason JeanBenjamin CabanesJack Hsu
Victor SavkinJason JeanBenjamin CabanesJack Hsu
vsavkinFrozenPandazbcabanesjaysoo
James HenryJon CammisuliMax KlessJuri Strumpflohner
James HenryJon CammisuliMax KlessJuri Strumpflohner
JamesHenrycammisuliMaxKlessjuristr
Philip FulcherCaleb UkleColum FerrySteven Nance
Philip FulcherCaleb UkleColum FerrySteven Nance
philipjfulcherbarbados-clemensColy010llwt
Miroslav JonašLeosvel Pérez EspinosaZachary DeRoseCraigory Coppola
Miroslav JonašLeosvel Pérez EspinosaZachary DeRoseCraigory Coppola
meeroslavleosvelperezZackDeRoseAgentEnder
Chau TranNicole OliverRares MateiAltan Stalker
Chau TranNicole OliverRares MateiAltan Stalker
nartcnixalloverrarmateiStalkAltan
Josh VanAllenAustin FahslLouie Weng
Josh VanAllenAustin FahslLouie Weng
joshvanallenfahslajlourw