Codeman
Ark0N · Ark0N/Codeman
Hệ thống quản lý tự host cho các tác nhân AI lập trình, cho phép người dùng chạy và giám sát nhiều tác nhân như Claude Code hoặc Codex từ mọi thiết bị với các phiên làm việc liên tục và tác vụ tự động.
Self-hosted mission control for AI coding agents: run Claude Code, OpenCode, Pi, Codex, and Antigravity & Gemini CLI 24/7, from any device, watch every subagent live
Xem trước
Bạn có thể làm gì với nó
- Chạy Claude Code liên tục ở chế độ nền trên một server.
- Giám sát tiến độ trực tiếp của nhiều tác nhân AI lập trình từ điện thoại.
- Lên lịch cho các tác nhân AI thực hiện các tác vụ lập trình hoặc tự động nhắc lại khi rảnh rỗi.
Kiểm tra an toàn
Dùng được, nhưng nên đọc ghi chú trước.
- ●Gói npm tự chạy script khi cài đặt.
package.json - ●Trình cài đặt tải script từ xa và chạy thẳng bằng shell.
README.md
Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.
Trích từ README
Mission control for AI coding agents
Claude Code • OpenCode • Codex • Antigravity • Gemini • Pi • Grok • DeepSeek • OMP • Terminal - One Dashboard • Any Device
⭐ Like Codeman? Give it a star on GitHub! It takes one click and helps more people find the project. ⭐
English • 简体中文
Codeman is a self-hosted mission control for AI coding agents. It spawns Claude Code, OpenCode, Codex, Antigravity, Gemini, Pi, Grok, DeepSeek Harness, or OMP inside persistent tmux sessions, streams the real terminal to any browser, and keeps agents productive after you walk away: it re-prompts on idle, resumes when a usage limit resets, runs scheduled jobs, and shows every background agent working in real time.
Get started in one line (macOS & Linux, Windows via WSL):
curl -fsSL https://getcodeman.com/install | bash
codeman web
# Open http://localhost:3000 and start your first session
The installer asks before every system change, and re-running the same line updates in place. Full details: Quick Start - Installation.
- One dashboard, nine CLIs - run Claude Code, OpenCode, Codex, Antigravity, Gemini, Pi, Grok, DeepSeek, or OMP per session (plus plain shell), locally, in Docker, or over SSH, with your own dashboards open as web tabs beside them
- Truly phone-friendly - a touch-optimized terminal with instant local echo, QR login, swipe navigation, and push notifications
- Runs while you sleep - idle detection + respawn cycling and auto-resume when a subscription limit resets, for 24+ hour unattended runs
- See your agents think - live floating windows for every subagent and teammate, with real-time transcripts
- Nothing gets lost - tmux persistence across restarts and network drops, exactly-once input delivery, full-scrollback replay
- Self-hosted and private - loopback-only by default, MIT licensed, no telemetry, runs entirely on your machine
Quick Start - Installation
curl -fsSL https://getcodeman.com/install | bash
This installs Node.js, tmux and a build toolchain if missing (node-pty ships no Linux prebuilds, so it compiles from source), clones Codeman to ~/.codeman/app, and builds it. It looks at what is already on the machine, asks at most three questions, then does all the work unattended and ends on the URL with a QR code for your phone. A few things worth knowing:
- Three questions, all up front. How the dashboard is reached, optionally what to call this machine on your tailnet, and whether to run Codeman as a background service (systemd/launchd, auto-start on boot; Enter says yes). Everything that needs you, including one consent for all missing packages, one sudo password, and the Tailscale login, happens before the build, so you can walk away while it compiles.
- How it's reachable, your choice. Tailscale (loopback bind fronted by
tailscale serve, so you gethttps://<machine>.<tailnet>.ts.netwith a real certificate and your tailnet as the login, no password needed), any device on your network (0.0.0.0, with a strongly recommended password prompt), or this machine only (127.0.0.1, safest). Skipping the password on a network bind requires an explicit confirmation and ends with a loud warning. The highlighted default reflects what is already on the machine (Tailscale when it is already connected, your existing binding on a re-run), and a bare Enter never pulls in new software. If another app already owns:443on your node, Codeman goes underhttps://<machine>.<tailnet>.ts.net/codemanor on a second port instead of replacing it. A barecodeman webstarted by hand still defaults to loopback. - The name is yours to choose. By default the URL uses the machine's existing tailnet name. Answering yes to the second question renames the machine to
codeman-<hostname>(which also renames it for SSH, so the default is no);install.sh namedoes it later. - Re-run to update. The same one-liner updates a finished install in place: local changes in
~/.codeman/appare stashed (never discarded), and a running service is restarted and verified. If a first install was interrupted, re-running resumes the full setup instead.install.sh statusprints the URLs and the QR code again;install.sh update,install.sh tailscaleandinstall.sh uninstallalso exist. - Flags for the impatient.
curl -fsSL https://getcodeman.com/install | bash -s -- --tailscale --serviceanswers the questions from the command line (--lan,--local,--run,--no-start,--name <n>,--port <n>,--yestoo). CI / headless: without a terminal attached, steps that would change your system abort with instructions instead of running silently; setCODEMAN_NONINTERACTIVE=1to approve them for automation.
You'll need at least one AI coding CLI installed — Claude Code, OpenCode, Codex, Antigravity, Gemini CLI, Pi, Grok Build, DeepSeek Harness, or OMP (any combination works; Gemini CLI is enterprise-only since Google's consumer cutover, and Antigravity is its successor). The installer detects whichever of the nine is present; if none is found, it offers to install any of them from a menu (DeepSeek excepted, since its npm package installs only a launcher with no runnable profile), or you can skip and install one yourself later. After insta