Skip to content

ninthwave-io/ninthwave

Ninthwave logo

Ninthwave

Orchestrate parallel AI coding into reviewable PRs.

GitHub stars Apache 2.0 License Version Agent Skills

Ninthwave orchestrator managing parallel work items with live queue and PR pipeline status

Ninthwave is the orchestration layer for parallel AI coding. Turn plans into small, reviewable PRs while keeping your existing AI tool, billing, and local control.

Why try Ninthwave?

  • Turn a spec or plan into small work items, typically ~200-400 lines of meaningful change, so both humans and agents can reason about them during review
  • Run multiple native AI coding sessions in parallel, each isolated in its own worktree
  • Coordinate the full delivery loop through Implementer, CI, Reviewer, Rebaser, merge, and Forward-Fixer
  • Launch dependent work early as stacked PRs so reviewers get clean diffs
  • Share or join a crew to spread work across teammates or multiple machines, using the hosted broker by default or a self-hosted broker when you need full control
  • Use the native tools directly, while Ninthwave's TUI shows live queue and pipeline status
  • Stay multi-tool and no-lock-in: Claude Code, OpenCode, Codex CLI, or Copilot CLI

How I use it

I always start in plan mode and run several harnesses in parallel. Once a plan is detailed enough I look at its scope: if the change feels like a single PR's worth of work, I let the harness that planned it carry on and implement it directly. If it looks bigger than that, I run it through /decompose so nw can pick up the work items.

For greenfield and rapid prototyping I leave Ninthwave in auto mode and let it run. On existing projects I stay in manual mode: I review PRs as they open, leave feedback inline, and Ninthwave actions it from there. Once I am happy with a PR I merge it manually. Dropping into a worker session is a last resort for when something is genuinely stuck.

How it works

Plan -> /decompose -> parallel native sessions -> stacked PRs -> review + feedback loop -> checks -> merge

  1. Use /decompose to turn a plan into markdown work items.
  2. Run nw to launch parallel native sessions of your AI tool.
  3. Review small PRs while the orchestrator keeps the queue moving through review, CI, and merge.

Ninthwave's orchestrator is deterministic.

For the transition states, flow diagrams, and deeper internals, see ARCHITECTURE.md.

Install

brew install ninthwave-io/tap/ninthwave

Requires gh.

Run inside cmux or tmux for the best experience. Ninthwave can launch workers in headless mode, but attachable sessions are what let you jump straight into a worker when you need to inspect or steer it. If you are not already comfortable with tmux, start with cmux.

cmux showing active Ninthwave worker sessions and in-flight task output one step away while Ninthwave runs

Ninthwave works standalone; cmux or tmux keeps active worker sessions one step away when you need to inspect, steer, or unblock work in flight.

Quick start

  1. Install Ninthwave:

    brew install ninthwave-io/tap/ninthwave
    nw init # in a repo
  2. Optional but recommended: install cmux or tmux so you can attach to worker sessions when needed.

  3. Once you have a plan, create work items with /decompose, then run:

    nw

From there, Ninthwave launches the queue, opens reviewable PRs, watches checks, and keeps the pipeline moving. Use auto mode for greenfield work or rapid prototyping; on existing projects, stay in manual mode and review each PR as it opens, leaving feedback inline for Ninthwave to action.

License

Apache 2.0. See LICENSE.