Rule your code
in the Age of AI.
n-dx connects codebase analysis, structured planning, and autonomous task execution into one repeatable loop — CLI-first, with a web dashboard when you need it. The PRD is the source of truth — every cycle begins with understanding what's in the code and ends with shipped work.
Static analysis engine that maps your codebase into a machine-readable context. File inventory, import graph, architectural zone detection via Louvain community detection, and React component catalog.
- File inventory with roles & metadata
- Import dependency graph
- Louvain community detection for zones
- AI-readable
CONTEXT.mdoutput
PRD management with hierarchical epics, features, tasks, and subtasks. Scan your project to generate proposals, track progress, and validate dependencies.
- Hierarchical task tree (epic → subtask)
- AI-driven proposal generation
- Dependency tracking & validation
- MCP server for Claude integration
Autonomous agent that picks the next task, builds a brief, and drives Claude in a tool-use loop. Records runs with full transcripts.
- Autonomous task execution
- Tool-use loop with Claude Code
- Run history & transcripts
- Configurable model & turn limits
AI coding tools
don't think in projects.
Most AI development tools operate at the file or prompt level. They generate code but don't track what was built, why it was built, or what comes next. The result: fast output, slow progress, and codebases that accumulate debt faster than teams can address it.
n-dx operates at the project level. A living PRD drives every cycle, so work is structured, traceable, and repeatable — regardless of which model or provider is doing the execution.
A self-cleaning loop from
analysis to execution to visualization.
Run the loop once to get started. Run it again to stay current. The PRD reflects the codebase at every step — no manual tracking required.
sourcevision scans your codebase — files, imports, zones, components — and produces a machine-readable context that all downstream tools consume. Run any time the codebase changes.
rex reads the analysis and generates a structured PRD. Review proposals, accept them, and maintain a live task tree with epics, features, dependencies, and acceptance criteria — updated each cycle.
hench picks the next task, builds a brief with full codebase context, and ships it — writing code, running tests, committing results. Mark complete. Pick the next. Repeat.
Run ndx start to launch the web dashboard — interactive zone maps, a live task tree with completion stats, and auto-refresh as data changes. Share it with your team or export a static build.
Where n-dx fits in
the development workflow.
Built for teams working on real codebases — not greenfield prototypes. Each scenario below represents a common inflection point where structured tooling returns measurable value.
sourcevision maps file inventory, import graphs, and architectural zones automatically. New contributors get a machine-readable picture of the full codebase on first run — without reading every file.
When a prototype becomes a product, code sprawl follows. n-dx detects patterns and anti-patterns across zones, generates a prioritized cleanup backlog in the PRD, and executes fixes autonomously with guardrails.
Describe what needs to be built in plain language. rex structures it into epics, features, acceptance criteria, and task dependencies. hench executes from that structure — every run traceable back to the spec.
Run ndx self-heal 3 . to automatically re-analyze, accept recommendations, execute tasks, and acknowledge completions — iterating N times. The PRD stays current without manual tracking.
Run it. Ship it.
Let the spec keep score.
n-dx is CLI-first — point it at a directory, run two commands, and the loop starts. When you want to see the big picture, ndx start launches a web dashboard with interactive zone maps, a live task tree, and auto-refresh as data changes.
-
✓
ndx analyze . && ndx recommend --accept . && ndx work --auto .— the full workflow in three commands -
✓Already use Claude Code or Codex? n-dx layers on top — log in on first run and you're set
-
✓Every run is logged with full transcripts, token usage, and file diffs
-
✓PRD state in
.rex/prd.json— version controlled, diff-able, readable -
✓Natural language task input:
ndx add "user auth with OAuth" .
Structured output.
Traceable progress.
n-dx gives engineering teams a shared source of truth that doesn't require a separate planning tool. The PRD is generated from the codebase and stays in sync — automatically. The web dashboard makes progress visible to the whole team without status meetings.
-
✓Epics, features, and tasks generated from real codebase structure — not top-down invention
-
✓Notion sync keeps the PRD available to non-technical stakeholders without manual updates
-
✓CI integration:
ndx ciruns analysis and validates PRD health on every push -
✓Open source, zero per-seat cost — works with the Claude Code or Codex subscription your team already has
-
✓Token budgets and guardrails configurable per project — cost stays predictable
The only tool that owns
the full loop.
Most AI development tools address one layer of the problem. n-dx connects all three — and keeps them in sync.
| Tool | n-dx | Claude Code | Aider | OpenHands | Goose | MetaGPT | 8090 | Devin |
|---|---|---|---|---|---|---|---|---|
| Codebase analysis | ● | ● | ● | ◐ | ● | ○ | ● | ◐ |
| Structured PRD / task tree | ● | ○ | ○ | ○ | ○ | ● | ● | ○ |
| Autonomous execution loop | ● | ● | ◐ | ● | ● | ◐ | ● | ● |
| Works with existing AI subscription | ● | ● | ● | ● | ● | ● | ○ | ○ |
| Persistent state across sessions | ● | ○ | ○ | ◐ | ◐ | ○ | ● | ○ |
| Open source | ● | ○ | ● | ● | ● | ● | ○ | ○ |
| CLI-first / local | ● | ● | ● | ● | ● | ● | ○ | ○ |
● Full ◐ Partial ○ No · Based on public documentation as of Q1 2026.
One command to initialize.
Two to run the loop.
Requires Node.js 18+. Works with Claude Code and Codex — configure your LLM vendor on first run.
Questions? Let's talk.
Whether you're evaluating n-dx for your team or want to discuss a specific use case — we'd love to hear from you.