Ark0N/Codeman

Manage Claude Code & Opencode in Tmux Sessions in a modern WebUI

What it solves

Codeman provides a centralized, self-hosted dashboard for managing multiple AI coding agents (such as Claude Code, OpenCode, Codex, and Gemini) across different devices. It eliminates the need to manage separate terminal sessions manually and allows users to maintain agent productivity during downtime or while away from their computers.

How it works

Codeman spawns AI CLI tools inside persistent tmux sessions and streams the terminal output to a web-based dashboard using Server-Sent Events (SSE). It uses a PTY (pseudo-terminal) to ensure that full TUIs render correctly in the browser. The system includes a respawn controller for idle detection and auto-resuming after rate limits reset, as well as a specialized QR-code authentication system for secure, password-less mobile access.

Who it’s for

Developers who use AI coding agents and want a persistent, mobile-friendly way to monitor and control them remotely, or teams who need a shared workspace for AI-driven development.

Highlights

  • Multi-CLI Support: Run Claude Code, OpenCode, Codex, or Gemini in a single dashboard.
  • Mobile-Optimized UI: Touch-optimized terminal with local echo, swipe navigation, and QR-code login.
  • Autonomous Operation: Features like idle detection, auto-resume for subscription limits, and scheduled cron jobs for agents.
  • Live Visualization: Draggable floating windows that show real-time activity and tool calls for subagents and agent teams.
  • Persistence: tmux-backed sessions ensure work is not lost during network drops or restarts.