selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Codeman logo

Self-host Codeman

xterm-zerolag-input@0.4.2

Dashboard for running AI coding agents on your own hardware

ReleaseOpen SourceMIT
Updated8 hours ago
LanguageTypescript
Setup difficultyModerate
MobileResponsive
ThemeDark mode
Stars
821
Port
3000 (Web dashboard and API server)
Requires
Node.js
Install with Docker Compose
Tile grid with six live agent sessions side by side (DeepSeek Harness, Claude Code, Pi, Codex, OpenCode, shell)Codeman dashboard tour showing session tabs per case, one-click Run for new agents, live plan usage in headerDesktop dashboard with session tabs across projects, live terminal, plan-usage chips in headerMobile view showing session tabs, live Claude Code terminal, and keyboard accessory barMobile — answering an agent's plan prompt with the keyboard accessory bar and Enter buttonCodeman dashboard tour: session tabs per case, one-click Run for new agents, live plan usage in the header

What is Codeman?

Codeman is a self-hosted web dashboard that runs AI coding agents in tmux sessions on your own hardware. It streams live terminals to any browser or phone with a zero-lag local echo overlay, QR code login, and push notifications. The interface displays every agent in tabs or a tile grid with live status, token usage, and background sub-agent visualization. Key capabilities include autonomous respawn with auto-resume after usage limits, an orchestrator for multi-agent workflows, scheduled cron jobs, Docker and SSH isolation for cases, a file viewer with inline previews, and an MCP server for programmatic control. You can install it via a one-line script, Docker Compose, or npm; it binds to loopback by default with optional Tailscale or Cloudflare tunnel exposure, and is MIT-licensed with no telemetry.

Should you self-host Codeman?

Codeman scores 61/100 on selfhost.directory (how scoring works) and ranks #39 of 166 in Developer Tools. It has 821 GitHub stars.

It shipped 10 stable releases in the past year. The latest, codeman@1.46.0, came out on 27 October 2026. New versions land roughly every 2 days.

Setup is moderate: expect some configuration beyond a single command. It is MIT-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is openhands (87/100, 92 068 stars). It scores higher overall, so compare the two before you pick. See Codeman vs openhands side by side.

Features

  • File viewer with inline previews
  • Session persistence via tmux
  • Tile grid (6 sessions side-by-side)
  • Zero-lag remote typing

Codeman README

How to install Codeman

Install Codeman with Docker Compose

Docker (or Podman)
Environment variables
CODEMAN_APPDATA_PATH, CODEMAN_CASES_PATH, CODEMAN_HOST, CODEMAN_PORT, CODEMAN_IMAGE, CODEMAN_PASSWORD, CODEMAN_USERNAME, CODEMAN_ALLOWED_HOSTS, GEMINI_API_KEY, DOCKER_SOCKET, TZ, PUID, PGID, CODEMAN_RUNTIME_USER

cp docker/.env.example docker/.env

edit .env and set CODEMAN_PASSWORD

bash docker/Start-Codeman.sh

Runs Codeman in a container, spawns Docker cases as sibling containers via host socket; re-run script to update

Codeman releases & version history

FAQ

How much does Codeman cost?

Nothing. Codeman is MIT-licensed open source with no telemetry, no account, and no cloud component; it runs entirely on your own hardware.

Is it safe to expose Codeman to the network?

It binds to loopback only by default. To expose it, set a password and reverse-proxy it, or use Tailscale. DNS-rebinding protection, Origin/CSRF guard, and rate-limited auth are always on.

How does Codeman compare to Herdr?

Herdr is terminal-first with a background server and combined agent list. Codeman is web-first with the same persistent sessions streamed to any browser, real phone UI, tabs that blink when agents need you, push notifications, QR login, and zero-lag typing over high-latency links.

Can I run multiple Claude Code sessions at once?

Yes. Every session is its own tmux session and browser tab. Tabs turn yellow/red when an agent needs you, and the tile grid shows up to six live terminals side by side.

Does Codeman support Codex, Gemini, Grok, DeepSeek and the other CLIs too?

Yes, all 11 CLIs run as first-class session types side by side: Claude Code, OpenCode, Codex CLI, Antigravity CLI, Gemini CLI, Pi, Grok Build, DeepSeek Harness, OMP, GitHub Copilot CLI, plus plain shell.

Can I use Claude Code from my phone?

Yes. Scan a single-use QR code to log in, get push notifications when an agent needs you, and type with zero perceived lag thanks to a Mosh-inspired local echo overlay.

Will Claude Code keep running if I close my laptop?

No, closing the laptop lid puts it to sleep and suspends all processes. Install Codeman on a machine that stays on (Mac mini, home server, VPS) — agents run in persistent tmux sessions there, so closing your laptop changes nothing.

More in Terminal

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…