NTM

Open sourcev1.40.0Linux and macOS

Run a swarm of coding agents in tmux.

NTM starts Claude Code, Codex, Grok Build and nine other coding-agent CLIs in named tmux panes and runs them as one team. It reads every pane to tell which agents are busy, idle or out of quota, gives each idle agent the next task from your dependency graph, keeps agents off each other’s files, and saves enough state to pick up after a crash. You can attach to any pane and type into it. Scripts and other agents can drive all of it through JSON.

$ curl -fsSL …/install.sh | bash -s -- --easy-mode
api__cc_1[BlueLake]working

▶ bd-3u9 Retry webhook sends with backoff

● Read(internal/webhook/sender.go)

└ Read 214 lines

● Update(internal/webhook/sender.go)

└ Updated with 9 additions and 3 removals

● Bash(go test ./internal/webhook/...)

api__cc_2[GreenCastle]working

▶ bd-26s Dry-run mode for refunds

● Read(internal/refunds/plan.go)

└ Read 214 lines

● Update(internal/refunds/plan.go)

└ Updated with 9 additions and 3 removals

● Bash(go test ./internal/refunds/...)

api__cc_3[RedStone]working

▶ bd-3co Detect conflicts on restore

● Read(internal/ledger/restore.go)

└ Read 214 lines

● Update(internal/ledger/restore.go)

api__cod_1[AmberRiver]idle

Finished. 1 file changed, tests green.

 

›

api__cod_2[SilverPond]working

▶ bd-2aw Idempotency keys on /charges

• Explored

└ Read charges.go

• Edited internal/api/charges.go (+14 -2)

• Ran go test ./internal/api/...

└ ok 0.51s

api__grok_1[JadeCanyon]working

▶ bd-41k Split invoice renderer

▸ read internal/billing/invoice.go

▸ plan: 3 edits, 1 new test

api__omp_1[CoralFox]working

▶ bd-1qz Fix flaky settlement test

✓ read internal/settle/batch.go

✓ edit batch.go +7 −1

✓ bash go test ./internal/settle

PASS

⎋ Working…

[api] 0:agents*12 ready · 7 panes

Compose the swarm

Claude Code--cc3
Codex--cod2
Grok Build--grok1
Oh My Pi--omp1

The command

ntm spawn api --cc=3 --cod=2 --grok=1 --omp=1

ntm --robot-terse

S:api|A:7/7|W:6|I:1|E:0|C:36%|B:R12/I6/B4|M:0|^:0|!:0

6 working 1 idle 0 rate limited

0 tasks closed12 ready

A simulated session. Pane titles, Agent Mail names, states and the status line follow NTM’s formats; the agents’ output is illustrative. Change the mix and the window re-tiles. When an agent goes idle it is handed the next ready task.

01Sessions

One command starts the whole swarm.

ntm spawn payments --cc=3 --cod=2 --omp=1 creates a tmux session named payments, splits it into panes, launches each agent with its own model, persona and Agent Mail identity (a name such as BlueLake that other agents can message), and titles every pane by type and number: payments__cc_1, payments__cod_2. Add agents to a running swarm with ntm add, run two labelled swarms against one repository, or give every agent its own git worktree with --worktrees.

Built-in harnesses

Twelve agent CLIs, one table.

Everything in NTM that launches, prompts, compacts, rotates or restarts an agent reads the same declarative table. Each row says how that CLI wants to be driven: whether Enter has to be pressed twice, how to ask it to quit, its compact command, its context window, and whether a prompt has to wait for an empty composer, which seven of them require. For six of them NTM also reads the screen again after every send to confirm that the prompt was submitted.

Read capabilities.go

Every built-in harness, as NTM declares it

capabilities.gointernal/tmuxRead from the source
Agent CLIProviderEnterExitCompactWaits for an empty composerContext windowSend checked on screen
Claude Code--ccAnthropiconceCtrl+C twice/compact✓200K✓
Codex CLI--codOpenAItwice/exit–✓128K✓
Gemini CLI--gmiGoogletwiceEsc, then Ctrl+C––1M–
Antigravity CLI--agyGoogletwiceEsc, then Ctrl+C–✓1M–
Grok Build--grokxAIonceCtrl+C twice–✓256K✓
Opencode--ocopencodeonceCtrl+C twice–✓200K✓
Oh My Pi--ompomponceEsc, Ctrl+C, Ctrl+D/compact✓200K✓
Pi Agent--pipionceCtrl+C twice/compact✓200K✓
Cursor--cursorcursoronceCtrl+C––200K–
Windsurf--windsurfwindsurfonceCtrl+C––200K–
Aider--aideraideronceCtrl+C––128K–
Ollama--ollamaollamaonceCtrl+C––128K–
Rows come from agent.AllHarnesses() and the last column from the Verify…SubmissionContext functions in internal/tmux, read when this page was built. Custom agents can be added as TOML plugins with their own readiness patterns. Cursor, Windsurf, Aider and Ollama are recognised from a few generic screen patterns, so expect less precise state readings for them than for the others.

Thundering herd

Agents that start together shouldn’t chase one task.

Boot five agents at once with “pick the best ready task” and all five ask bv in the same second and get the same answer. Only one of them can claim it. --stagger-mode=fixed --stagger-delay=90s sends each agent its first prompt 90 seconds after the one before, so each has claimed something before the next starts looking. --stagger-mode=smart spaces them using rate-limit timing NTM has learned.

Spawn options in the README

Change the spacing and watch who gets which task

internal/cli/spawn.goWorked example

Each agent reads the ready queue a few seconds after its prompt arrives and goes for the top task. Only one claim on a task can succeed; the others have to look again, which costs them a turn. The same --spawn-stagger-* flags pace --robot-spawn and assignment prompts.

02Pane state

NTM reads each pane the way you would.

An agent CLI is a full-screen terminal program with no API for its state. NTM captures each pane and reads what the agent is showing: a spinner and a running timer mean it is working, a quiet composer means it is idle, a quota message means it is rate limited, a provider error block means its last turn failed. Every reading carries a confidence and a recommendation such as DO_NOT_INTERRUPT or SAFE_TO_RESTART, and assignment, restarts and context rotation act on it.

The parser

Paste a screen and see what NTM decides.

NTM’s reading of the screen comes from its own internal/agent package, compiled to WebAssembly and running in this tab. Change the capture and it reads it again: delete the spinner line and a working agent goes idle; type in “You’ve hit your limit” and it is rate limited.

Read parser.go

Pick a screen, then edit it and watch the reading change

internal/agentagent/testdataRuns NTM in your browser

NTM reads

Working

DO_NOT_INTERRUPT

The agent is producing work. NTM won’t type into this pane, restart it or rotate it while it does.

Confidence0.60
Parsed as
cc
Context left
not shown on screen
Evidence
running

Verdict computed by internal/agent when this page was built

The screens are captures from NTM's parser tests (internal/agent/testdata); the Oh My Pi ones were taken from a live omp v18.2.3 session. The pane's agent type is passed as a hint, as NTM does when it knows what it launched. The recommendation follows a fixed order: rate limited first, then error, then working, then idle.

Operator views

A dashboard to watch, a palette to steer.

ntm dashboard puts every pane’s state, its context usage, the ready-work pipeline, alerts, file locks and recent sends on one terminal screen. ntm palette keeps your standing prompts in a markdown file and sends one to every agent, one agent type or the panes you pick, with a single key. ntm web serves a browser dashboard over the same API.

The palette's prompt file

The terminal dashboard, on a seven-pane session

Screenshot
NTM's terminal dashboard: a pane list with activity badges (idle, error, unknown), the selected Codex pane's profile and context usage (1,091 of 128,000 tokens), a Beads pipeline listing ready tasks by priority, active alerts including rate limiting and an error in agent output, and a command history of recent sends.
A screenshot from January 2026 (ntm dashboard on a Claude, Codex and Gemini session). It is very wide: scroll it sideways. The panel set has grown since; the dashboard now has quota, cost estimate, CASS, mail, pipeline, approval, worktree and network panels too.

ntm palette · who receives the prompt

  • 1all agents
  • 2Claude
  • 3Codex
  • 4Gemini
  • 5Antigravity
  • 6pick panes
  • 7Oh My Pi
  • 8Grok
  • 9OpenCode
  • 0Pi

03Delivery

A prompt is sent when the agent has it.

tmux send-keys types into a pane and returns. It can’t tell whether the agent was ready for input, whether an autocomplete menu swallowed the Enter, or whether the pane now runs a different program. NTM’s send path checks each of those before it reports a delivery, and with --op-id a retried send replays its recorded outcome instead of typing the prompt a second time.

ntm send

Seven steps between your prompt and Enter.

Pick an agent and a prompt, then break something. The steps follow NTM’s send path: the transport rules are the ones in needsBufferSend, and the identity fence and submission checks are the ones ntm send, --robot-send and the REST API all share.

Read the send path

Choose an agent and a prompt, then add trouble

Agent
Prompt
Trouble

    A worked example drawn by the page, following internal/tmux/session.go (needsBufferSend, the guarded key sends and the Verify…SubmissionContext functions) and internal/dispatch. Gemini CLI, Antigravity, Cursor, Windsurf, Aider and Ollama have no post-send screen check yet; their sends are reported once tmux accepts the keys.

    Idempotent sends

    Retry a send without sending twice.

    An agent that drives NTM will retry when a call times out. With --op-id (or an Idempotency-Key header over REST) NTM records the operation in SQLite before it touches a pane, bound to a hash of the session, targets and message. A retry with the same id gets the recorded outcome back and types nothing. Reusing the id for a different message is an error, and a crash after dispatch reports the outcome as unknown rather than sending again.

    Read send_idempotency.go

    Send, then retry the way a flaky client would

    
    

    0 prompts typed into panes 0 calls

    Receipts store a SHA-256 of the message and its length, never the text. ntm --robot-send-receipt=deploy-42 reads one back. Per target, the admission state is one of submitted, rejected, not_attempted or unknown.

    04Work and files

    Agents take their next task from the graph.

    If a repository tracks its work in Beads (br), an issue tracker that keeps tasks and their dependencies in the repo itself, NTM can choose the work for every idle agent. bv ranks ready tasks by what they unblock and where they sit in the dependency graph. NTM claims a task in the same SQLite transaction that checks it is still open, unblocked and not gated, reserves the files the task names, and sends it to the pane. Agent Mail reservations and a pre-commit guard keep two agents from editing the same files.

    ntm assign --watch --strategy=dependency

    Idle agents get the task that unblocks most.

    Press play. Three agents work through a small graph. Each idle agent is given the ready task that unblocks the most other work. A task labelled human-gated waits for a person however highly it ranks, an epic is never sent to a worker, and two tasks that share a mutex: label never run at the same time.

    Assignment in the README

    Play, or step through it one assignment at a time

    internal/bvWorked example
        • ready
        • in progress
        • closed
        • waiting on a dependency
        • gated for a person
        A worked example drawn by the page. The rules are NTM's: bv --robot-plan supplies the ranking, and NTM claims inside one transaction on Beads' SQLite database, checking open status, blockers, operator-gated labels, deferred and template flags, and mutex: groups (internal/bv/bv.go). Built-in gate labels are operator-gated, human-gated, needs-operator and business-input; a project can add its own but not remove these.

        Agent Mail reservations

        Two agents, one file, one owner.

        Before an agent edits a part of the tree it reserves it through Agent Mail, and NTM renews the lease while the task is open. The pre-commit hook that ntm init installs runs ntm guards check --staged, which refuses a commit that touches somebody else’s reservation and names the holder. Taking a reservation away from another agent needs a second person’s approval by default.

        Read guards_check.go

        Play out a conflict, one step at a time

        guards_check.goWorked example
          Guard output is quoted from internal/cli/guards_check.go. Leases last an hour and are renewed 15 minutes before they lapse while the task is open. Force-release is gated by automation.force_release (never, approval or auto; approval by default), and an approval is spent once, on the exact reservation it names.

          05Safety

          Destructive commands stop at the hook.

          Every Claude Code agent NTM launches gets a PreToolUse hook that checks each shell command against NTM’s policy before it runs, and Claude Code runs that hook even under --dangerously-skip-permissions. The policy splits chained commands, looks inside $(…) and backticks, and applies the strictest verdict it finds, so a git reset --hard hidden in a substitution is stopped like the plain command.

          ntm safety check

          Type what an agent might run. NTM’s policy decides here.

          The verdict comes from NTM’s own internal/policy package with its default rules, compiled to WebAssembly and running in this tab. It is the same check ntm safety check runs and the Claude Code hook calls. Try chaining a safe command in front of a dangerous one, or wrapping it in $(…).

          Read policy.go

          Pick an example or type your own command

          internal/policyRuns NTM in your browser

          Blocked

          Hard reset loses uncommitted changes

          Verdict computed by internal/policy when this page was built

          Blocked by default

          • Hard reset loses uncommitted changes
          • Removes untracked files permanently
          • Force push can overwrite remote history
          • Force push via +refspec can overwrite remote history
          • Critical recursive deletion
          • Force delete branch loses unmerged work
          • Losing stashed work

          Need approval

          • Interactive rebase rewrites history
          • Amending rewrites history
          • Recursive force delete
          • Force release another agent's reservation

          Explicitly allowed

          • Safe force push (prevents overwriting others' work)
          • Soft reset preserves changes
          • Mixed reset preserves working directory
          The default rules, as policy.DefaultPolicy() defines them; ntm policy edit changes them per user or project. In a pane, a command needing approval is refused with the reason rather than queued. Other agents: with [integrations.dcg] enabled = true, NTM also checks command lines it sends to Codex, Gemini and other panes, but it can’t intercept commands those agents decide to run themselves.

          ntm approve

          Some actions need a second person.

          Force-releasing another agent’s file reservation files a durable approval request instead of running. A different operator grants it with ntm approve <id>, and re-running the original command consumes the approval and executes exactly once. The reservations figure above walks through it, including the refusal when an agent tries to approve its own request.

          • Self-approval is refused. NTM compares the operating-system user, tmux pane, SLB session and Agent Mail name of the requester and the approver, so a second shell does not count as a second person.
          • An approval names one operation. It is bound to the exact reservation it was granted for. If the reservation changes after approval, the result is target_changed and a fresh approval is needed.
          • Races resolve in SQLite. Pending-to-approved is a guarded update, so an approval cannot overwrite a denial that landed first.
          • Policy decides how strict. ntm policy automation --force-release takes never, approval (the default) or auto, and the REST endpoint and dashboard follow the same setting.

          06Durability

          After a crash, nothing runs twice by accident.

          NTM writes down what it is about to do before it does it. A pipeline records a prompt as sending before it pastes it and a command’s launch before it starts it; a checkpoint keeps each pane’s scrollback, launch command and git state; a saved session can resume each agent’s own conversation. On resume, finished work keeps its results, and anything whose outcome is uncertain waits for a person to look.

          ntm pipeline resume

          Pull the plug anywhere. Then resume.

          A pipeline sends prompts to agents, runs commands and posts mail. Start the run, crash it at any moment, then resume it the way NTM does (--mode=continue). Each step reports what resume does with it and why. Switch to “A retry loop” to see what a script that simply runs the pipeline again would do at the same moment.

          Pipeline recovery in the README

          Run it, crash it, resume it

          internal/pipelineWorked example
            A worked example drawn by the page, following internal/pipeline: delivery, command, selector, mail and reservation receipts, and the continue, restart-failed and force-iter resume modes. An uncertain receipt is settled only by ntm pipeline recover … --accept-delivery (or --accept-command, --accept-selector) after a person has checked, and that records an observation without sending anything.

            ntm rotate context

            When context runs low, compact first, then hand off.

            NTM reads context usage from each agent’s transcript or status bar and forecasts when it runs out: a warning above 70% with under 15 minutes left, urgent above 75% with under 8. It tries the agent’s own compaction first and checks that usage really dropped. If that isn’t enough, it rotates: a replacement pane gets a handoff, then the task, the Agent Mail identity and the file reservations, and only then is the old pane retired.

            Read the forecast rules

            Run a long task and watch the context meter

            1. idle
            2. draining
            3. handing_off
            4. verifying
            5. active

            Context rotation is opt-in in the config. Each phase of a rotation is journaled, so an interrupted one stops for ntm rotate context recover … --action=accept or --action=abort instead of starting again. Both panes are fenced against new work while ownership moves.

            Durable state

            What NTM writes down as it works.

            These are the records NTM keeps, and what each one lets you get back. Its runtime store alone has 48 SQLite tables.

            ntm checkpoint save

            Each pane’s scrollback, layout and recorded launch command (model, persona, reasoning effort, account profile), plus a git patch of the working tree, assignments and a triage summary. Optional AES-256-GCM encryption at rest. Restore into the same session or a new one with --as.

            ntm sessions save

            Each pane’s working directory and launch settings, and, where the agent CLI allows it, a binding to that agent’s own conversation. ntm sessions resume relaunches each agent into the conversation it was having; ambiguous or changed inputs stop the resume instead of guessing.

            Handoffs

            The goal, the immediate task, decisions made and next steps. A plain ntm spawn of the same session delivers the latest handoff to the new agents before your prompt, with no other tools installed.

            Pipeline receipts

            An intent and an outcome for every prompt, command, selector, mail and reservation step. Resume reuses settled results and stops on uncertain ones; cleanup never deletes a run with an unresolved receipt.

            Audit log

            Hash-chained: every entry carries the SHA-256 of the one before, and ntm audit verify checks the chain. That makes edits evident; it is not a signature.

            Timelines and history

            Session timelines, prompt history and an attention feed with a cursor, so a dashboard or an agent can ask for everything since the last event it saw.

            07Robot mode and API

            Anything you can do, an agent can do in JSON.

            NTM is built to be run by agents as much as by people. Each of its 178 --robot-* commands prints one JSON envelope with success and timestamp, and error_code and hint when something fails; it exits 0 on success, 1 on an error and 2 when a feature isn’t available. ntm --robot-capabilities describes every command, parameter and schema, so an agent can learn the whole surface from the binary. ntm serve offers the same operations over REST, server-sent events and WebSockets.

            ntm --robot-capabilities

            178 commands, one contract.

            This is the list the binary reports about itself, read when this page was built. Search it, or filter by area. Session-scoped commands take the session as their value (--robot-send=payments); modifiers such as --panes, --limit and --since are shared across commands.

            Robot mode in AGENTS.md

            Search the robot surface, then open a command

            --robot-capabilitiesRead from the source

            178 commands

              From robot.GetCapabilities(). Exit codes: 0 success, 1 error (success: false with an error_code such as SESSION_NOT_FOUND or TIMEOUT), 2 unavailable (NOT_IMPLEMENTED, skip it gracefully). Critical arrays such as sessions and panes are always present, and empty means “checked, found nothing”.

              --robot-format=toon

              The same answer in fewer tokens.

              An agent pays for every token it reads. Robot output can also come as TOON, a tab-separated encoding with schema headers for uniform arrays, or as markdown tables. These are envelopes from NTM’s committed token corpus, with TOON produced by its production renderer; the counts use the estimator the token tests use.

              Compare one envelope in both encodings

              token_corpusRead from the source
              JSON514
              TOON354
              Saved31%
              {
                "success": true,
                "timestamp": "2026-08-16T12:00:00Z",
                "version": "1.0.0",
                "output_format": "json",
                "schema_id": "ntm:robot:status:v1",
                "schema_version": "1.0.0",
                "generated_at": "0001-01-01T00:00:00Z",
                "overall_status": "degraded",
                "system": {
                  "version": "1.24.0",
                  "commit": "abcdef1234567890",
                  "build_date": "2026-08-01T00:00:00Z",
                  "go_version": "go1.24",
                  "os": "darwin",
                  "arch": "arm64",
                  "tmux_available": true
                },
                "sessions": [
                  {
                    "name": "proj-a",
                    "attached": true,
                    "agent_count": 2,
                    "health": {
                      "status": "healthy"
                    }
                  },
                  {
                    "name": "proj-b",
                    "agent_count": 3,
                    "health": {
                      "status": "warning",
                      "reason": "agent idle \u003e10m with pending work"
                    }
                  },
                  {
                    "name": "proj-c",
                    "attached": true,
                    "agent_count": 4,
                    "health": {
                      "status": "critical",
                      "reason": "agent idle \u003e10m with pending work"
                    }
                  }
                ],
                "summary": {
                  "total_sessions": 3,
                  "total_agents": 9,
                  "attached_count": 2,
                  "claude_count": 6,
                  "codex_count": 3,
                  "gemini_count": 0,
                  "antigravity_count": 0,
                  "grok_count": 0,
                  "cursor_count": 0,
                  "windsurf_count": 0,
                  "aider_count": 0,
                  "opencode_count": 0,
                  "omp_count": 0,
                  "pi_count": 0,
                  "ollama_count": 0,
                  "agents_by_state": {
                    "active": 6,
                    "idle": 3
                  },
                  "agents_by_type": {
                    "claude": 6,
                    "codex": 3
                  },
                  "ready_work": 6,
                  "in_progress": 1,
                  "health_score": 0.88,
                  "health_status": "healthy",
                  "alerts_active": 0,
                  "mail_unread": 0,
                  "mail_urgent": 0
                },
                "beads": {
                  "available": true,
                  "project": "ntm",
                  "total": 110,
                  "open": 40,
                  "ready": 6,
                  "closed": 65
                }
              }
              Estimated tokens, at about 3.5 characters per token (internal/tokens); the corpus fixes its timestamps so the files never change. Across the whole corpus, the test suite holds TOON to at least 29.4% fewer tokens than JSON and markdown to at least 73.8% fewer. --robot-terse packs a session’s state into one line.

              ntm serve

              275 operations over REST, SSE and WebSockets.

              ntm serve runs the same operations as a local HTTP server, documented by an OpenAPI 3.1.0 file with 853 schemas that NTM generates from its own router, so the document can’t list a route the server lacks. Swagger UI is built into the binary and works offline. Events stream over SSE at /events and WebSockets at /api/v1/ws.

              Read openapi.json

              Operations per area of the API

              openapi.jsonRead from the source
              • sessions51
              • beads19
              • mail17
              • pipelines12
              • robot12
              • ensemble11
              • accounts10
              • memory8
              • reservations8
              • scanner8
              • policy7
              • approvals6
              • cass6
              • saved-sessions6
              • workflows6
              • safety5
              • legacy-sessions4
              • attention4
              • 42 more areas75
              Methods

              GET 157 · POST 102 · DELETE 8 · PATCH 4 · PUT 4

              Authentication

              Local loopback by default. API keys, OIDC (RS256, PS256, ES256, ES384, EdDSA) or mutual TLS for remote use, with role-based scopes.

              WebSockets

              A credential buys a 30-second, single-use ticket, so tokens never appear in URLs or logs.

              Limits

              Per-IP and per-principal token buckets, 100 requests per second with a burst of 200 by default.

              Counted from docs/openapi.json when this page was built. ntm web serves the browser dashboard together with the same API.

              08Reasoning ensembles

              Ask a hard question several ways at once.

              ntm ensemble gives one question to several agents, each told to reason in a different mode, then merges what they find. The catalog has 80 reasoning modes in twelve families, from deductive logic to failure-mode analysis, and nine built-in ensembles combine them for jobs such as project diagnosis, bug hunts and architecture review. Findings can be exported to Beads as tasks.

              ntm ensemble

              Eighty reasoning modes, nine built-in ensembles.

              Every square is a reasoning mode from the catalog; 28 are in the default core tier, the rest are advanced. Pick a built-in ensemble to see which modes it puts on the question and how it merges their answers.

              Read ensembles.go

              Pick an ensemble, or point at a mode

              internal/ensembleRead from the source

              AFormal

              BAmpliative

              CUncertainty

              DVagueness

              EChange

              FCausal

              GPractical

              HStrategic

              IDialectical

              JModal

              KDomain

              LMeta

              Point at or tap a square to read the mode.

              From the embedded mode catalog and EmbeddedEnsembles, read when this page was built. Each mode runs in its own pane with its own instructions; ntm ensemble synthesize merges the outputs and ntm ensemble export-findings turns them into Beads.

              09Design

              Why the control plane is tmux.

              Most coding agents ship as interactive terminal programs, and the person running them needs to watch, take over and hand back at any moment. tmux gives every agent a real terminal you can attach to from any machine over SSH, and the session outlives a dropped connection. NTM’s design record keeps tmux as the control plane for those reasons and puts its effort into making a terminal dependable to drive: composer gating, identity fencing, transcript-based context accounting, and parsers tested against real captures.

              ADR-0002

              What tmux gives you, and what NTM adds.

              NTM doesn’t replace tmux: every pane is still an ordinary tmux pane you can attach, zoom into and type in. A headless agent protocol was considered and deferred until agent CLIs offer one that keeps a person able to watch and step in.

              Read ADR-0002

              The same jobs, with plain tmux and with NTM

              You need to…tmux by itselfWith NTM
              Run agents side by sideYes, by hand: split panes and start each CLI yourself.ntm spawn with counts per agent type, named panes, models, personas, worktrees.
              Know which agents are workingLook at each pane.Parsed from every pane, with a confidence, as JSON or on the dashboard.
              Know a prompt went insend-keys returns when the keys are typed.Readiness check, transport choice, identity fence and, for six CLIs, a check of the screen afterwards.
              Choose the next taskYou decide and type it.Graph-ranked, claimed atomically, gated labels respected.
              Keep agents off each other’s filesNothing.Reservations, renewal and a commit guard that names the holder.
              Stop a destructive commandNothing.A policy hook in every Claude Code pane; dcg checks for text sent to others.
              Recover after a crashPanes are gone; tmux-resurrect can bring back the layout.Checkpoints, saved sessions with native resume, receipts that refuse unsafe replays.
              Let a program drive ittmux commands and string parsing.178 robot commands and a REST API with one JSON contract.
              NTM also runs agents in tmux on another machine over SSH; workflows keep track of which host each pane lives on. It is Linux- and macOS-first and local by design: there is no hosted service.

              Graceful degradation

              Besides your agent CLIs, only tmux is required.

              NTM works with tmux and your agent CLIs alone. Each of these tools adds something when it is installed; when one is missing, NTM says so and carries on without it. ntm deps -v lists what it found.

              ToolWith itWithout it
              Beads (br)The task database NTM claims work from, atomically, in its SQLite file.No task assignment; sessions and sending still work.
              bvGraph ranking of ready work: what unblocks most, critical path, bottlenecks.ntm work and auto-assignment report it missing, with an install hint.
              Agent MailAgent identities, messages, file reservations and build slots.No reservations; the commit guard warns and lets commits through unless strict mode is on.
              CASSRelevant snippets from past agent sessions added to prompts, marked as untrusted data.Prompts go out without history context.
              cass-memory (cm)Procedural rules injected into sends and handoffs with --with-memory.Sends go out unchanged and the skip is noted in the JSON.
              dcgA second destructive-command check, also on text NTM sends to non-Claude panes.That check is skipped; the Claude policy hook still runs.
              CAAMPicks which subscription seat a new pane uses, and switches accounts on rate limits.Panes launch on whatever account their command names.
              SLBMirrors two-person approval requests.NTM keeps its own approval records.
              ranoConnections per agent process, in the dashboard’s network panel.The panel says why it is empty instead of showing zero traffic.
              ptClassifies agent processes as useful, waiting, idle, stuck or zombie.No process triage signal.
              UBSScans staged files in the pre-commit hook.The scan passes with a note.
              rchSends agents’ builds to remote workers through a Claude Code hook.Builds run locally.

              Install

              Install it and start a swarm.

              NTM needs tmux and whichever agent CLIs you want to run. All twelve harnesses are built in; Beads, bv, Agent Mail, CASS and the rest add features when they are installed and stay out of the way when they are not. ntm deps -v tells you what it found.

              Install script (Linux, macOS)

              curl -fsSL "https://raw.githubusercontent.com/Dicklesworthstone/ntm/main/install.sh?$(date +%s)" | bash -s -- --easy-mode

              Homebrew

              brew install dicklesworthstone/tap/ntm

              Docker

              docker run --rm -it ghcr.io/dicklesworthstone/ntm:1

              From source (Go 1.26.11+)

              git clone https://github.com/Dicklesworthstone/ntm.git && cd ntm && go install ./cmd/ntm
              # Shell integration, then check what NTM can see
              eval "$(ntm shell zsh)"
              ntm deps -v
              
              # A project directory and a mixed swarm in it
              ntm quick payments --template=go
              ntm spawn payments --cc=2 --cod=1 --grok=1
              
              # Watch it, and give it something to do
              ntm dashboard payments
              ntm send payments --cc "Map the auth layer and propose a refactor plan."
              
              # What an agent would call instead
              ntm --robot-snapshot

              v1.40.0 is the current release. NTM has shipped 66 releases since December 2025, across 6,504 commits; the changelog lists every one. Facts on this page were read from commit 1559fe2aad (2026-12-03) when the site was built.