# Repository Briefing: Ark0N/Codeman
> Source: https://repoforai.com/repo/Ark0N/Codeman (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/Ark0N/Codeman
- **Official Docs / Website**: https://getcodeman.com
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A+ (94/100 · Maintenance 35/35 · Adoption 19/25 · Releases 20/20 · License 20/20)
- **Latest Release**: codeman@1.52.1 (2026-12-03) — https://github.com/Ark0N/Codeman/releases
- **Review Snapshot**: 2026-12-03 (Note: codeman@1.52.1 on 2026-12-03 shipped after this review; verify latest release notes)
- **Deployment / Stack Signals**: Docker, Self-Hosted, MCP, CLI
- **Momentum**: 859 ★ total (+1 24h / +9 7d) · 135 forks
- **Topics**: `agent`, `ai-agents`, `claude`, `claude-ai`, `claude-code`, `claude-code-plugin`, `claude-skills`, `codex`, `deepseek`, `developer-tools`, `docker`, `gemini-cli`
- **When to Use**: Best for: Individuals and small teams that already use terminal-based coding agents and want to supervise persistent sessions from a phone or another computer. Skip if: You only need one terminal over SSH, want an all-in-one local inference server, or need a managed workspace with verified isolation between mutually untrusted tenants.

## Overview
```text
### Architecture & Core Mechanics
Codeman is a TypeScript control plane for interactive coding CLIs, not a model server. `codeman web` starts the web service. Each session selects a CLI and a working directory, called a case, and runs in a real PTY backed by tmux. The terminal output path uses SSE, with xterm.js rendering the terminal in the browser. The runtime includes Fastify, `node-pty`, and `@xterm/addon-serialize`; tmux keeps the running process independent of the browser connection.

The dashboard can supervise local, Docker, or remote SSH sessions from the same interface. The Codeman skill, `codeman agent`, and the `codeman-mcp` server expose session-level coordination: start workers in different CLIs, prompt them, wait, and collect responses. The common abstraction is the terminal session, not a normalized model API; provider authentication and model behavior remain with the selected CLI.

### Key Capabilities & Differentiators
The dashboard supports eleven agent CLIs, including Claude Code, Codex, OpenCode, Gemini, DeepSeek Harness, and GitHub Copilot CLI, plus a plain shell. It can send a follow-up prompt when a session goes idle, cycle sessions through the respawn controller, schedule jobs, and resume after usage limits reset. Live subagent and teammate transcripts provide more visibility than the parent terminal alone.

The phone UI is geared toward handling approval prompts and checking progress: local echo shows typed input without waiting for a network round trip, swipe gestures switch sessions, and push alerts flag approvals and idle states. Single-use QR login codes rotate every 60 seconds. A local working directory can be reused as a named case, and optional multi-user mode adds named accounts and per-user case spaces.

### Trade-offs & Limitations
Compared with tmux over SSH, Codeman adds cross-device session switching, mobile notifications, and session automation at the cost of running and securing a web service. Compared with a hosted coding workspace, it lets operators choose the runtime host and agent CLI, but leaves host maintenance and CLI credentials in their hands. The control plane has no inherent GPU requirement; capacity depends more on concurrent agents, their build and test workloads, and any separately hosted local models.

Treat remote access to the dashboard as terminal access. Prefer loopback or private tailnet access, and require authentication for a LAN bind. Docker cases run as sibling containers through the host Docker socket, so the Codeman service still needs to be trusted with that socket. Per-user case spaces are useful for collaboration, but should not be assumed to provide process-level isolation between mutually untrusted users.

### Hardware & Deployment Guide
The native server path supports macOS and Linux, with Windows via WSL. It requires Node.js 22 or newer and tmux; Linux builds need a native toolchain for `node-pty`. `codeman web` defaults to `127.0.0.1:3000`; systemd or launchd can manage startup, and Tailscale Serve can provide private HTTPS while the service stays on loopback. The universal Mac app can install or connect to the server, but its dashboard requires Safari 16.4-era WebKit even though the app itself launches on macOS 11.3.

On Linux with Docker Compose v2, `bash docker/Start-Codeman.sh` configures storage, port, and password and builds an image with Claude Code, Codex, Gemini CLI, and OpenCode. Update through App Settings or rerun the script after pulling changes so the image, volumes, and entrypoint are refreshed together. Version 1.52.0 includes an iPhone keyboard fix, a Reload history action, and a Files panel that loads one folder at a time.
```

## Key Capabilities
```text
- Terminal lifecycle: tmux keeps live sessions independent of browser connections; xterm.js renders them with scrollback replay.
- CLI coverage: Eleven agent CLIs plus a plain shell, with local, Docker, and SSH execution options.
- Session automation: Idle re-prompting, respawn cycles, scheduled jobs, and resumption after usage limits reset.
- Agent coordination: `codeman-mcp` and `codeman agent` can start workers, send prompts, wait, and collect replies.
- Mobile access: Local input echo, swipeable sessions, push alerts, and single-use QR login codes that rotate every 60 seconds.
- Mac client: A signed, notarized Rust/WebKit app for Apple Silicon and Intel that can connect to a local or remote server.
```

## Quick Start / Clone
```bash
curl -fsSL https://getcodeman.com/install | bash
```
