What is n-dx?
n-dx is a CLI toolkit in the En Dash Toolkit that connects codebase analysis, structured planning, and AI-driven task execution into a single repeatable development loop.
Instead of treating AI coding as isolated prompts or file edits, n-dx operates at the project level. It analyzes the structure of a codebase, generates a structured product specification, and then executes tasks against that spec—keeping development organized, traceable, and repeatable.
Why We Built It
Most AI development tools generate code quickly, but they don’t maintain a clear understanding of the project they’re working on. Without a shared source of truth, each session starts from scratch and codebases accumulate technical debt faster than teams can manage it.
We built n-dx to introduce structure into AI-assisted development. By maintaining a living product specification derived from the codebase itself, teams can keep planning, implementation, and system understanding aligned.
A Closed Development Loop
n-dx organizes development into a continuous loop:
- Analyze – map the codebase structure and architecture
- Plan – generate and maintain a structured PRD with epics and tasks
- Execute – autonomously implement tasks and update progress
Each cycle begins with understanding the current codebase and ends with shipped work, with the PRD acting as the persistent source of truth throughout the process.
Built for Real Codebases
n-dx is designed for teams working on existing systems, not just prototypes.
It helps developers:
- understand unfamiliar repositories quickly
- bring structure to fast-moving or “vibe-coded” projects
- maintain a living plan alongside the code
- keep AI development sessions connected through persistent state
The result is faster iteration without sacrificing maintainability or architectural clarity.
A Practical CLI Tool
n-dx is CLI-first and fits directly into existing development workflows. Developers can point it at a repository and start the loop with just a few commands.
The system works with multiple LLM providers and keeps its project state directly in version control, making progress visible and traceable without introducing new planning tools or complex infrastructure.