Codeman — Mission Control for AI Coding Agents
Run eleven coding CLIs in persistent tmux sessions and watch, prompt and auto-resume them from any device.
- Source repo
- Ark0N/Codeman
- Stars
- ★ 856
- Last updated
- 4d ago [email protected]
- FARS reviewed
- Nov 30, 2026
- License
- MIT
- Primary language
- TypeScript
- FA score
- 85/100 · Good
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude CodeOpenAI API (Partial support)
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A solo developer kicks off a long refactor with Claude Code overnight using the overnight-autonomous preset, lets auto-resume carry it past the five-hour limit, and checks the result from a phone in the morning.
- Not a fit if
- Windows users who will not enable WSL; Codeman requires tmux
- Users who expect a native mobile app; phones get the web dashboard
- Website
- getcodeman.com ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-27latest release [email protected] (2026-11-27)
- Source review
- 85/100 · Good
What does this agent do, and when should you use it?
Codeman is a self-hosted mission control for AI coding CLIs, built as a Node.js 22+ / Fastify 5.x server. Each session launches Claude Code, OpenCode, Codex, Antigravity, Gemini, Pi, Grok, DeepSeek Harness, OMP, GitHub Copilot CLI or jcode through a real PTY inside its own tmux session, and streams that terminal to a browser or phone with xterm.js over SSE. Beyond the terminal it manages sessions: multi-layer idle detection with respawn cycling, auto-resume after a subscription limit resets, an Orchestrator that plans, gates and verifies phases, cron-scheduled jobs, floating subagent windows and a six-tile live grid. Sessions can run locally, inside hardened Docker containers, or over SSH in a remote host's tmux, and they survive server restarts and network drops. Access is loopback-only by default, with one-time QR tokens, Tailscale certificates or an opt-in multi-user account mode; a signed, notarized native macOS app (Rust around WebKit, under 5 MB) wraps the same dashboard. An MCP server, codeman agent verbs and the codeman skill let one agent spawn, prompt and collect results from another.
Startup: codeman web binds a port (3000 by default, loopback only), and the installer can register it as a systemd user unit or a launchd LaunchAgent. Creating a session means picking a case (a working directory you can create, link or clone from GitHub) and a CLI; Codeman spawns that CLI with node-pty inside a tmux session in that directory, then pipes PTY output through a 16 ms server batch and SSE into an xterm.js terminal in the browser. Keystrokes are delivered exactly-once, so a dropped connection neither loses nor duplicates a prompt. Autonomy: the Respawn Controller detects idleness from completion messages, an AI idle check, output silence and token stability, then sends a continue prompt and rotates /clear and /init; it can also parse a Claude usage-limit reset time, wait it out and send continue, with a circuit breaker and a 0-100 health score guarding against thrash. Orchestration: the Orchestrator runs an idle → planning → approval → executing → verifying → completed state machine, exposed as POST /api/orchestrator/start, /approve and /status, persisting state in state.json; Cron jobs spawn a session and send a prompt on once/interval/daily/weekly schedules. Visibility: floating windows stream each subagent's tool calls, TeamWatcher polls ~/.claude/teams/ to match Claude Code agent teams to their lead session, and Ctrl+Shift+G opens a 2/4/6-tile live grid. Integrations: Docker cases run non-root with --cap-drop ALL and no-new-privileges, remote cases run inside the target host's tmux with auto-reconnect, and custom models go through POST /api/model-endpoints then POST /api/sessions/:id/custom-model to restart a CLI against any OpenAI-compatible endpoint. Outward interfaces: codeman mcp (an MCP server), codeman agent (session-to-session verbs) and codeman tui (a full-screen terminal dashboard).
- A solo developer kicks off a long refactor with Claude Code overnight using the overnight-autonomous preset, lets auto-resume carry it past the five-hour limit, and checks the result from a phone in the morning.
- A small team keeps several agents on separate cases on a Mac mini or home server and reaches them over Tailscale with a real certificate and no password prompt.
- Someone who cannot sit at the desk answers Claude permission prompts and idle questions from push notifications, the Approvals Inbox or the phone home screen.
- An engineer runs unfamiliar repositories in a hardened Docker case (non-root, no new privileges, sealed profile available) while host CLI logins still work inside.
- A developer points a case at a remote dev box or GPU machine, so the agent lives in the remote tmux and the laptop is only a window that reconnects after SSH drops.
- A meta-agent workflow where a Claude Code session uses the codeman skill or an MCP client to spawn workers in other CLIs, prompt them, wait and read their answers back.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
curl -fsSL https://getcodeman.com/install | bashcurl -fsSL https://getcodeman.com/install | bash -s -- --tailscale --service
- Ports
3000- Environment variables
CODEMAN_PASSWORD- Config files
~/.codeman/app~/.codeman/web.log- Runtime
- Node.js 22+
- Install notes cover
- Windows · macOS · Linux · WSL · Docker
How do you install or deploy this agent?
Prerequisites: Node.js 22+, tmux, a build toolchain (node-pty ships no Linux prebuilds and compiles from source), and at least one AI coding CLI installed and signed in. On macOS and Linux the installer pulls dependencies, clones to ~/.codeman/app, builds, and ends on a URL with a QR code for your phone:
curl -fsSL https://getcodeman.com/install | bashThen start the server and open the printed URL:
codeman web
# Open http://localhost:3000 and start your first sessionFor CI or headless installs, answer the setup questions from the command line instead:
curl -fsSL https://getcodeman.com/install | bash -s -- --tailscale --serviceWindows requires WSL, because Codeman depends on tmux:
wsl bash -c "curl -fsSL https://getcodeman.com/install | bash"If you prefer Docker Compose, clone the repository and run the script; the first run asks for a data folder, port and password:
git clone https://github.com/Ark0N/Codeman.git && cd Codeman
bash docker/Start-Codeman.shOn a Mac you can skip the terminal with the signed, notarized native app (universal, macOS 11.3+; installing Codeman from the app needs macOS 15 or a tmux already present): https://github.com/Ark0N/Codeman/releases/latest/download/Codeman.dmgHow do you use this agent?
Start the server and choose how it is reachable. A hand-started server stays on loopback; use --https or Tailscale for other devices, and note that binding 0.0.0.0 requires CODEMAN_PASSWORD:
codeman web --port 8080 --https
codeman web -H 0.0.0.0
codeman web -d # detach; logs to ~/.codeman/web.log
codeman web --status
codeman service install # systemd user unit / launchd LaunchAgentIn the dashboard click + New Session, pick a case and a CLI (Claude, OpenCode, Codex, Antigravity, Gemini, Pi, Grok, DeepSeek, OMP, Copilot, jcode or a plain Terminal), then type prompts straight into the xterm terminal and press Enter. For unattended work pick a Respawn preset and optionally enable auto-resume; for multi-phase goals drive the Orchestrator from its panel or over HTTP:
curl -X POST http://localhost:3000/api/orchestrator/start
curl -X POST http://localhost:3000/api/orchestrator/approve
curl http://localhost:3000/api/orchestrator/statusFor a small team, create accounts and run in multi-user mode so each person gets a login and workspace:
codeman users add alice --admin
codeman web --multiuserYou can also drive it from a plain terminal:
codeman tui --list
codeman tui 2Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
FARS trust-control audit
- data-flow disclosure
- sensitive-data handling
What are this agent's strengths and limitations?
- Eleven coding CLIs share one session model, monitoring layer and mobile UI, so switching agents does not mean switching toolchains.
- tmux persistence plus exactly-once input delivery and full-scrollback replay survive server restarts, network drops and machine sleep.
- Autonomy is built in rather than scripted: idle detection, circuit breaker, 0-100 health score, auto-resume on usage-limit reset, an Orchestrator with approval gates and per-phase verification, and cron jobs.
- The mobile path is engineered, not shrunk: a local-echo overlay hides round-trip latency, one-time QR tokens rotate every 60 seconds and are consumed atomically, and push notifications can carry Approve/Deny buttons.
- Self-hosted and loopback by default, MIT licensed, no telemetry, with opt-in Docker isolation (non-root, --cap-drop ALL, sealed profile) and remote SSH sessions.
- Drivable by agents as well as humans: an MCP server (
codeman mcp),codeman agentverbs and the codeman skill let one agent orchestrate others.
- The runtime bar is real: Node.js 22+, tmux and a compiler toolchain, and on Windows only through WSL.
- The software is free but you must bring at least one signed-in coding CLI, and each CLI's model or subscription costs are on you and configured separately.
- The browser UI needs Safari 16.4-class WebKit (macOS 13.3+ for Codeman's page), and installing Codeman from the Mac app needs macOS 15 or an existing tmux.
- Custom model endpoints are HTTP-API-only with no picker yet, verified only for Claude, OpenCode, Pi, Grok and OMP, with documented gaps for Codex, Gemini and DeepSeek and no mechanism for Antigravity.
- The Approvals Inbox covers only Claude Code, Codex and DeepSeek Harness prompts; other CLIs still send you back to the terminal, and multi-user mode adds account and per-user workspace administration.
- Exposing it beyond your machine is your responsibility: a 0.0.0.0 bind requires a password, and Tailscale or self-signed HTTPS is recommended for other devices.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Codeman — Mission Control for AI Coding Agents This agent | 85 · Good | CLIFree + model costs | ★ 856 | 4d ago | TypeScript | Codex · Claude Code |
| Dinotty | 63 · Some gaps | Self-hosted serviceFree | ★ 740 | 2d ago | TypeScript | Codex · Claude Code |
| ReevesAgents | 67 · Some gaps | — | ★ 112 | today | TypeScript | Claude Code |
| OpenRig | 79 · Good | CLIFree + model costs | ★ 9k | today | TypeScript | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
least_privilege scores 1: sessions launch with --dangerously-skip-permissions by default, granting maximal privilege to anyone who reaches the dashboard; auto/normal/allowedTools modes and Docker isolation mitigate but the default is maximal, so deducted. user_confirmation scores 2: the installer asks before every system change, destructive commands need a double-press, and tunnel exposure needs explicit acknowledgement, but a non-loopback bind without a password only warns loudly rather than blocking. data_flow_transparency scores 3: the Security page explicitly enumerates outbound requests (Codex usage poll, web push, webhooks, the on-by-default Copilot quota read, voice dictation, Read My Mind). sensitive_data_handling scores 3: webhook URL kept in a 0600 file, backups 0700/0600, downloads block .env/credentials/~/.ssh, attachments use an id registry, tokens never logged. dependency_security scores 2: docs claim lockfile integrity is checked in CI and sensitive transitive deps are pinned, but no audit tooling or concrete vulnerability handling is visible in the packet. external_effects scores 2: self-update, tunnels, webhooks and push are documented and mostly opt-in, but the self-updater trusting an unsigned git tag (H2 still open) is a concrete weakness. rollback scores 2: the installer stashes rather than discards local changes, re-runs resume, and uninstall plus config backups exist, but there is no rollback story for executed sessions or external side effects. source_attribution scores 2: MIT and copyright are present and the USENIX paper and Cloudflare OS inspiration are cited, but publisher identity is unverified and attribution stops at the repository level.
self_consistency scores 3: version 1.52.0 matches across package.json, CLAUDE.md and marketplace.json, the SKILL.md mirror is pinned byte-identical, and docs corroborate each other. dependency_availability scores 2: requires Node 22+, node-pty compiles from source, and the no-admin path downloads runtimes with SHA-256 checks, but the build chain is heavy and needs a local toolchain. failure_messages scores 2: there is a symptom gallery, error codes and detailed logging, but no systematic user-facing failure-message inventory, so not full marks.
audience_and_scenarios scores 3: covers phones, a native Mac app, Docker, SSH, multi-user and eleven CLIs. capability_boundaries scores 3: SKILL.md states the CODEMAN_MUX=1 guard, that offline history reads need no server, and that pi/shell workers do not get the skill. trigger_precision scores 2: the skill description is detailed but the trigger conditions are broad with no precise exclusion rules. environment_fit scores 3: good fit across macOS/Linux/WSL, Docker and Tailscale.
information_architecture scores 3: docs/wiki, architecture-invariants and the CLAUDE.md/AGENTS.md split are clearly organized. install_notes scores 3: extremely detailed, covering no-admin, CI/headless, Docker and the Mac app. naming_stability scores 3: SemVer policy and the stable /api/v1 surface are explicitly defined. examples_and_faq scores 3: many examples, recipes and troubleshooting. known_limitations scores 3: the Security page has a dedicated 'what Codeman does not protect against' section and the review flags open items. license scores 3: MIT with a LICENSE file. versioning_changelog scores 3: changesets, CHANGELOG and a versioning policy. maintenance_responsibility scores 2: single author with an unverified publisher; active commits and CI exist but responsibility is not clearly assigned.
output_usability scores 3: dashboard, terminal, phone and push form a complete usable output. marginal_value scores 3: multi-session orchestration, idle re-prompting and limit auto-resume add clear value. cost_benefit scores 2: self-hosted with no telemetry is a plus, but it needs tmux, Node and a build toolchain, so deployment cost is non-trivial.
claim_traceability scores 3: the security review cites file:line and commit hashes with remediation status. cross_source_corroboration scores 3: README, security-architecture, wiki Security and the review corroborate each other. fact_inference_separation scores 3: the review distinguishes pre-fix vs post-fix state and marks contested findings (e.g. H2 at 2/3).
- Sessions launch with --dangerously-skip-permissions by default, so anyone reaching the dashboard can run arbitrary commands; a non-loopback bind without a password only warns rather than blocks, so set CODEMAN_PASSWORD or use Tailscale.
- The self-updater trusts an unsigned git tag (H2 still open), a supply-chain risk; prefer signed tags or a pinned SHA.
- Publisher identity is unverified and maintenance responsibility is unclear; review before adoption.
- The Copilot quota read is on by default and hits api.github.com every 10 minutes; disable it in settings to match privacy expectations.
- node-pty compiles from source and needs a local make/C++/python3 toolchain, so installation may fail.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
[email protected] Codeman 1.52.0
Release notes excerpt
Thanks - @HadrienKerlero for two big ones: the iPhone keyboard fix (#839, nine review rounds) and the Reload history action (#815, eighteen rounds), and for the reports that started both (#830, #814). - @DodgyBadger for the Files panel that loads one folder at a time (#848), built on the design from #759. - @kkalisz for three fixes: the login lockout after a restart (#838), exited agents on tmux 3.8 (#840, five review rounds), and the terminal dashboard's window size (#853). …View on GitHub ↗ -
Release notes excerpt
Patch Changes - 7a3bbce: ### Thanks - @HadrienKerlero for two big ones: the iPhone keyboard fix (#839, nine review rounds) and the Reload history action (#815, eighteen rounds), and for the reports that started both (#830, #814). - @DodgyBadger for the Files panel that loads one folder at a time (#848), built on the design from #759. - @kkalisz for three fixes: the login lockout after a restart (#838), exited agents on tmux 3.8 (#840, five review rounds), and the terminal dashboard's window size (#853). …View on GitHub ↗ -
[email protected] Codeman 1.51.1
Release notes excerpt
Thanks - @kkalisz for Send on Enter in the phone's input field (#820), codeman tui <name> (#834), and a password-protected Codeman that installs as an app (#826). - @ArizeSky for web tabs that render the DeepSeek Harness web UI and Vite dashboards (#825), and for closing a session-cookie leak on the web tab's WebSocket leg (#827). - @JDProfresh for tracking a 174 GiB log flood down to a chokidar retry loop and fixing it (#818), and for wheel forwarding that any CLI entry can ask for (#831). - @aakhter for the tmux 3.7 key-table fix (#821) and for Start-Codeman.sh on WSL (#822). …View on GitHub ↗
FAQ
Do I pay for Codeman or need an API key for it?
Is it safe to reach from another network or a phone?
What happens to running agents if the server restarts or SSH drops?
Can I use models other than Claude?
POST /api/model-endpoints saves any OpenAI-compatible endpoint (local llama.cpp, Ollama, vLLM, or a gateway such as OpenRouter) and POST /api/sessions/:id/custom-model applies it to a session. This is verified for Claude, OpenCode, Pi, Grok and OMP; Codex, Gemini and DeepSeek have documented gaps and Antigravity has no mechanism.Can I run untrusted repository work without exposing host credentials?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.