Loading...
Loading...
Named Tmux Manager - Multi-agent orchestration for Claude Code, Codex, and Gemini in tiled tmux panes. Visual dashboards, command palette, context rotation, robot mode API, work assignment, safety system. Go CLI.
npx skill4agent add dicklesworthstone/agent_flywheel_clawdbot_skills_and_integrations ntm# Install
curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/ntm/main/install.sh | bash
# Add shell integration
echo 'eval "$(ntm init zsh)"' >> ~/.zshrc && source ~/.zshrc
# Interactive tutorial
ntm tutorial
# Check dependencies
ntm deps -v
# Create multi-agent session
ntm spawn myproject --cc=2 --cod=1 --gmi=1
# Send prompt to all Claude agents
ntm send myproject --cc "Explore this codebase and summarize its architecture."
# Open command palette (or press F6 after `ntm bind`)
ntm palette myprojectntm spawn myproject --cc=3 --cod=2 --gmi=1 # 3 Claude + 2 Codex + 1 Gemini
ntm quick myproject --template=go # Full project scaffold + agents
ntm create myproject --panes=10 # Empty panes only
ntm spawn myproject --profiles=architect,implementer,tester| Flag | Agent | CLI Command |
|---|---|---|
| Claude Code | |
| Codex CLI | |
| Gemini CLI | |
ntm add myproject --cc=2 # Add 2 more Claude agents
ntm add myproject --cod=1 --gmi=1 # Add mixed agentsntm send myproject --cc "Implement user auth" # To all Claude
ntm send myproject --cod "Write unit tests" # To all Codex
ntm send myproject --gmi "Review and document" # To all Gemini
ntm send myproject --all "Review current state" # To ALL agents
ntm interrupt myproject # Ctrl+C to all| Command | Alias | Description |
|---|---|---|
| | List all tmux sessions |
| | Attach to session |
| | Show pane details with agent counts |
| | Unzoom, tile layout, attach |
| | Zoom to specific pane |
| | Interactive visual dashboard |
| | Kill session ( |
ntm palette myproject # Open palette
ntm bind # Set up F6 keybinding
ntm bind --key=F5 # Use different keyCtrl+PCtrl+F| Key | Action |
|---|---|
| Navigate |
| Quick select |
| Select command |
| Back / Quit |
| Help overlay |
| Pin/unpin |
| Favorite |
ntm dashboard myproject # Or: ntm dash myprojectr| Key | Action |
|---|---|
| Navigate panes |
| Quick select |
| Zoom to pane |
| Refresh |
| View context |
| Open Agent Mail |
| Quit |
ntm copy myproject:1 # Copy specific pane
ntm copy myproject --all # Copy all panes
ntm copy myproject --cc # Copy Claude panes only
ntm copy myproject --pattern 'ERROR' # Filter by regex
ntm copy myproject --code # Extract code blocks only
ntm copy myproject --output out.txt # Save to file
ntm save myproject -o ~/logs # Save all outputsntm activity myproject --watch # Real-time activity
ntm health myproject # Health status
ntm watch myproject --cc # Stream output
ntm extract myproject --lang=go # Extract code blocks
ntm diff myproject cc_1 cod_1 # Compare panes
ntm grep 'error' myproject -C 3 # Search with context
ntm analytics --days 7 # Session statistics
ntm locks myproject --all-agents # File reservations| State | Icon | Description |
|---|---|---|
| WAITING | ● | Idle, ready for work |
| GENERATING | ▶ | Producing output |
| THINKING | ◐ | Processing (no output yet) |
| ERROR | ✗ | Encountered error |
| STALLED | ◯ | Stopped unexpectedly |
ntm checkpoint save myproject -m "Before refactor"
ntm checkpoint list myproject
ntm checkpoint show myproject 20251210-143052
ntm checkpoint delete myproject 20251210-143052 -f/compact| Color | Usage | Status |
|---|---|---|
| Green | < 40% | Plenty of room |
| Yellow | 40-60% | Comfortable |
| Orange | 60-80% | Approaching threshold |
| Red | > 80% | Needs attention |
[context_rotation.recovery]
enabled = true
prompt = "Reread AGENTS.md so it's still fresh in your mind. Use ultrathink."
include_bead_context = true # Include project state from bvntm --robot-status # Sessions, panes, agent states
ntm --robot-context=SESSION # Context window usage
ntm --robot-snapshot # Unified state: sessions + beads + mail
ntm --robot-tail=SESSION # Recent pane output
ntm --robot-inspect-pane=SESS # Detailed pane inspection
ntm --robot-files=SESSION # File changes with attribution
ntm --robot-metrics=SESSION # Session metrics
ntm --robot-plan # bv execution plan
ntm --robot-dashboard # Dashboard summary
ntm --robot-health # Project healthntm --robot-send=SESSION --msg="Fix auth" --type=claude
ntm --robot-spawn=SESSION --spawn-cc=2 --spawn-wait
ntm --robot-interrupt=SESSION
ntm --robot-assign=SESSION --assign-beads=bd-1,bd-2
ntm --robot-replay=SESSION --replay-id=IDntm --robot-bead-claim=BEAD_ID --bead-assignee=agent
ntm --robot-bead-create --bead-title="Fix bug" --bead-type=bug
ntm --robot-bead-show=BEAD_ID
ntm --robot-bead-close=BEAD_ID --bead-close-reason="Fixed"ntm --robot-cass-search="auth error" --cass-since=7d
ntm --robot-cass-context="how to implement auth"
ntm --robot-cass-status| Code | Meaning |
|---|---|
| Success |
| Error |
| Unavailable/Not implemented |
ntm work triage # Full triage with recommendations
ntm work triage --by-label # Group by domain
ntm work triage --quick # Quick wins only
ntm work alerts # Stale issues, priority drift, cycles
ntm work search "JWT auth" # Semantic search
ntm work impact src/api/*.go # Impact analysis
ntm work next # Single best next actionntm --robot-assign=myproject --assign-strategy=balanced # Default
ntm --robot-assign=myproject --assign-strategy=speed # Maximize throughput
ntm --robot-assign=myproject --assign-strategy=quality # Best agent-task match
ntm --robot-assign=myproject --assign-strategy=dependency # Unblock downstream| Agent | Best At |
|---|---|
| Claude | Analysis, refactoring, documentation, architecture |
| Codex | Feature implementation, bug fixes, quick tasks |
| Gemini | Documentation, analysis, features |
ntm profiles list # List profiles
ntm profiles show architect # Show details
ntm spawn myproject --profiles=architect,implementer,tester
ntm spawn myproject --profile-set=backend-teamarchitectimplementerreviewertesterdocumenterntm mail send myproject --to GreenCastle "Review API changes"
ntm mail send myproject --all "Checkpoint: sync status"
ntm mail inbox myproject
ntm mail read myproject --agent BlueLake
ntm mail ack myproject 42ntm hooks guard install # Prevent conflicting commits
ntm hooks guard uninstall[notifications]
enabled = true
events = ["agent.error", "agent.crashed", "agent.rate_limit"]
[notifications.desktop]
enabled = true
[notifications.webhook]
enabled = true
url = "https://hooks.slack.com/..."agent.erroragent.crashedagent.rate_limitrotation.neededsession.createdsession.killedhealth.degraded| Type | Severity | Description |
|---|---|---|
| High | Agent enters unhealthy state |
| Medium | Agent performance degrades |
| Medium | API rate limit detected |
| High | Restart attempt failed |
| Critical | Restart limit exceeded |
ntm --robot-alerts
ntm --robot-dismiss-alert=ALERT_ID# ~/.config/ntm/hooks.toml
[[command_hooks]]
event = "post-spawn"
command = "notify-send 'NTM' 'Agents spawned'"
[[command_hooks]]
event = "pre-send"
command = "echo \"$(date): $NTM_MESSAGE\" >> ~/.ntm-send.log"pre-spawnpost-spawnpre-sendpost-sendpre-addpost-addpre-shutdownpost-shutdownntm safety status # Protection status
ntm safety check "git reset --hard"
ntm safety install # Install git wrapper + Claude hook
ntm safety uninstall| Pattern | Risk | Action |
|---|---|---|
| Loses uncommitted changes | Block |
| Overwrites remote history | Block |
| Catastrophic deletion | Block |
| Database destruction | Block |
ntm send myproject --cc "design the database schema"
ntm send myproject --cod "implement the models"
ntm send myproject --gmi "write tests"ntm send myproject --all "implement a rate limiter"
ntm view myproject # Compare side-by-sidentm send myproject --cc "implement feature X"
ntm send myproject --cod "review Claude's code"
ntm send myproject --gmi "write tests for edge cases"ntm config init # Create ~/.config/ntm/config.toml
ntm config show # Show current config
ntm config project init # Create .ntm/config.toml in projectprojects_base = "~/Developer"
[agents]
claude = 'claude --dangerously-skip-permissions'
codex = "codex --dangerously-bypass-approvals-and-sandbox"
gemini = "gemini --yolo"
[tmux]
default_panes = 10
palette_key = "F6"
[context_rotation]
enabled = true
warning_threshold = 0.80
rotate_threshold = 0.95| Variable | Description |
|---|---|
| Base directory for projects |
| Color theme: |
| Icon set: |
| Disable animations |
| Enable performance profiling |
| Theme | Description |
|---|---|
| Detect light/dark |
| Default dark, warm |
| Light variant |
| Arctic-inspired |
| No color |
| Agent | Color |
|---|---|
| Claude | Mauve (Purple) |
| Codex | Blue |
| Gemini | Yellow |
| User | Green |
| Width | Behavior |
|---|---|
| <120 cols | Stacked layout |
| 120-199 cols | List/detail split |
| 200-239 cols | Wider gutters |
| 240+ cols | Full detail |
<project>__<agent>_<number>myproject__cc_1myproject__cod_2myproject__gmi_1eval "$(ntm init zsh)"| Category | Aliases |
|---|---|
| Agent Launch | |
| Session | |
| Agent Mgmt | |
| Navigation | |
| Dashboard | |
| Output | |
| Utilities | |
# One-liner (recommended)
curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/ntm/main/install.sh | bash
# Homebrew
brew install dicklesworthstone/tap/ntm
# Go install
go install github.com/Dicklesworthstone/ntm/cmd/ntm@latest
# Docker
docker pull ghcr.io/dicklesworthstone/ntm:latestntm upgrade # Check and install updates
ntm upgrade --check # Check only
ntm upgrade --yes # Auto-confirm| Keys | Action |
|---|---|
| Detach |
| Scroll/copy mode |
| Toggle zoom |
| Navigate panes |
| Open NTM palette (after |
| Tool | Integration |
|---|---|
| Agent Mail | Message routing, file reservations, pre-commit guard |
| BV | Work distribution, triage, assignment strategies |
| CASS | Search past sessions via robot mode |
| CM | Procedural memory for agent handoffs |
| DCG | Safety system integration |
| UBS | Auto-scanning on file changes |