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

- **GitHub URL**: https://github.com/mvschwarz/openrig
- **Official Docs / Website**: https://openrig.dev
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: Apache-2.0
- **Engineering Health**: A+ (95/100 · Maintenance 35/35 · Adoption 20/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.7.27 (2026-12-02) — https://github.com/mvschwarz/openrig/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Self-Hosted, CLI, MCP
- **Momentum**: 9,035 ★ total (+2 24h / +38 7d) · 789 forks
- **Topics**: `agent-harness`, `agent-orchestration`, `agent-skills`, `ai-coding`, `claude-code`, `cli`, `codex-cli`, `multi-agent`, `multi-agent-systems`, `tmux`, `typescript`
- **When to Use**: Best for: Developers and teams that repeatedly split work across builders, reviewers, and QA and want to keep those roles addressable across sessions, including when mixing Claude Code and Codex. Skip if: One coding session is enough, you need a turnkey web-first service, or your workflow must run entirely offline without a signed-in provider.

## Overview
```text
### Architecture & Core Mechanics
OpenRig is a TypeScript control plane for coding agents, not a model-serving runtime. The `rig` CLI, terminal UI, and MCP server use local HTTP to reach a Hono daemon. Domain services persist team state in SQLite and use runtime adapters to run ordinary agent sessions in tmux. Operators can attach directly to a local session instead of being limited to an orchestration dashboard.

A YAML RigSpec describes pods, connections, and continuity policies; reusable AgentSpecs describe guidance, skills, hooks, and startup contracts. A seat gives a role a stable address even if the conversation occupying it changes. MCP exposes coordination tools such as `rig_up`, `rig_ps`, and `rig_send`, and also lets hosted members join without a local pane. The older React web UI is in maintenance mode.

### Key Capabilities & Differentiators
Claude Code and Codex can run side by side in one rig. Other seat types include a plain terminal and Pi or Oh My Pi through RPC runners; Oh My Pi also has an opt-in `omp-tui` runtime. Teams can assign work through a task queue and coordinate through direct messages, broadcasts, or chatrooms. Pods share guidance and context, but each agent retains its own context window.

OpenRig can discover and adopt existing tmux sessions, grow or shrink a running topology, and save a named topology snapshot with `rig down --snapshot` for later restoration through `rig up`. The TUI offers topology tables and graphs plus views for seat details, projects, and activity. Built-in teams give you a concrete starting point: `starter` pairs a builder with a reviewer, `workshop` adds a lead and QA, and `factory` uses seven agents, including two independent reviewers.

### Trade-offs & Limitations
Compared with raw tmux or a single coding CLI, OpenRig adds named roles, persistent coordination state, and visibility across sessions. That pays off when a team survives beyond one task or mixes harnesses. For a one-off edit, direct use of a coding CLI avoids maintaining a daemon, a topology, and several sessions. The main sizing variables are concurrent harnesses and their repository workloads, not a GPU requirement imposed by OpenRig itself.

Self-hosting keeps the coordination layer local; it does not make provider-backed inference offline or remove provider terms. Setup can edit `~/.tmux.conf`, and daemon startup or seat launches can install integration files, including executable hooks and trust settings. Review those changes before rollout. If humans and agents share a seat, consider enabling the typing guard rather than assuming automatic input will pause on its own.

### Hardware & Deployment Guide
Use macOS or Linux, or WSL2 on Windows, with tmux. The root manifest specifies Node.js `^22.14.0 || ^24` and npm `>=10`; the install guidance calls for Node.js 22 on Apple silicon. Install with `npm install -g @openrig/cli`, preview setup with `rig setup --dry-run`, then select `--providers claude` or `--providers codex` if you only need one signed-in provider. Use `--no-herdr` to skip the optional terminal workspace manager.

Start the local service with `rig daemon start` and open the dashboard with `rig tui`. Instance state lives under `OPENRIG_HOME`, normally `~/.openrig`. Headless hosts can use tmux, but opening a visible desktop window depends on the host environment. Oh My Pi can occupy a seat, but it is not a kernel provider and its full onboarding path is unverified. Releases v0.7.25–v0.7.27 focused on improving handoffs to an existing Claude Code or Codex conversation and keeping the daemon responsive under load.
```

## Key Capabilities
```text
- Control plane: `rig`, the TUI, and MCP talk over local HTTP to a Hono daemon that persists team state in SQLite.
- Runtime adapters: Claude Code and Codex can share a rig; Pi and Oh My Pi use RPC runners, with an opt-in `omp-tui` mode.
- Topology lifecycle: YAML RigSpecs define pods, edges, and continuity policies; running rigs can be resized or snapshotted and restored.
- Session adoption: `rig discover` and `rig adopt` bring existing tmux sessions into a managed rig.
- Human control: The typing guard holds automatic messages and wakes for a seat you are using manually; it is off by default.
- Team templates: Start with a builder and reviewer, move to the four-role `workshop`, or use the seven-agent `factory`.
```

## Quick Start / Clone
```bash
# Claude Code
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.27/skills/rigs --skill rigs --agent claude-code
# Codex
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.27/skills/rigs --skill rigs --agent codex
# OMP (Oh My Pi): the pi target installs to .agents/skills, which OMP reads
npx skills add https://github.com/mvschwarz/openrig/tree/v0.7.27/skills/rigs --skill rigs --agent pi
```
