NTM - Named Tmux Manager
A Go control plane that turns tmux into a local hub for spawning, coordinating, and supervising multiple AI coding agents.
At a Glance
About NTM - Named Tmux Manager
NTM (Named Tmux Manager) is a single Go binary from Dicklesworthstone that turns tmux into a local control plane for multi-agent software development. It spawns labeled sessions of coding agents such as Claude Code, Codex, Antigravity CLI, Oh My Pi, OpenCode and Grok Build, and adds work triage, safety policy, coordination, and durable state on top. The latest release listed is v1.38.1.
What It Is
NTM is a command-line orchestrator for running several AI coding agents in parallel inside named tmux sessions. Plain tmux provides panes, while NTM adds session naming, pane layout, agent startup, labels, prompt dispatch, interrupts, health checks, and inspection. Operators can use a dashboard and command palette, broadcast prompts, search pane history, diff agent outputs, and extract code.
Coordination and Work Triage
NTM integrates with the br and bv tools to triage a work graph, pick next tasks, analyze impact, and assign work to specific panes or agent types. Agents coordinate through Agent Mail, advisory file reservations, and optional per-agent Git worktrees, with reservations enforced at commit time by a pre-commit guard. A coordinator can renew leases, digest progress, and recover assignments when a pane disappears.
Safety, Pipelines, and Recovery
A policy system defines what is allowed, blocked, or approval-gated, with durable approvals including two-person workflows. Claude agents launched by NTM get a PreToolUse hook that checks Bash commands against the policy. Reusable recipes, workflows, and executable pipelines support resume, recovery receipts, and cleanup. Checkpoints, saved sessions, timelines, audit logs, and spawn-time handoff injection support recovery.
Automation Surfaces
NTM exposes machine-readable --robot-* commands and a local server with REST, SSE, WebSocket, and OpenAPI endpoints. An embedded web dashboard is available through ntm web, with API key, OIDC, or mTLS authentication for remote use. Configuration is TOML at user and project level, and custom agent types can be added as plugins.
Setup Path
Installation uses a shell install script, and tmux is required along with the CLIs of the agents you want to run. ntm deps -v checks the environment. The license is MIT with a rider that grants no rights to OpenAI, Anthropic, and their affiliates.
Community Discussions
Be the first to start a conversation about NTM - Named Tmux Manager
Share your experience with NTM - Named Tmux Manager, ask questions, or help others learn from your insights.
Pricing
Free
Free to use under MIT license with an OpenAI/Anthropic rider that denies rights to restricted parties; not OSI open source.
- License: MIT with OpenAI/Anthropic Rider (custom restriction, not OSI-approved)
- No rights granted to OpenAI, Anthropic, their affiliates or anyone acting on their behalf
- Single Go binary; requires tmux
- Agent CLIs and their provider subscriptions or API keys are external costs
Capabilities
Key Features
- Spawn and label multi-agent tmux sessions
- Prompt broadcast, interrupt, and pane monitoring
- Graph-aware work triage and assignment via br/bv
- Agent Mail coordination and file reservations
- Per-agent Git worktree isolation
- Safety policy with durable approvals and command guards
- Executable pipelines and workflows with resume and recovery
- Checkpoints, saved sessions, timelines, and audit logs
- Robot JSON CLI surfaces
- REST, SSE, WebSocket, and OpenAPI local server
- Embedded web dashboard with API key, OIDC, and mTLS auth
- Custom agent plugins
- Multi-project swarm execution
