mvschwarz/openrig
Local tmux-based orchestration for persistent Claude Code and Codex teams
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & 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.
rig, the TUI, and MCP talk over local HTTP to a Hono daemon that persists team state in SQLite.omp-tui mode.rig discover and rig adopt bring existing tmux sessions into a managed rig.workshop, or use the seven-agent factory.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.
One coding session is enough, you need a turnkey web-first service, or your workflow must run entirely offline without a signed-in provider.
Quick Start & Installation
# 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
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| openrig ★ | 9k | +38 | TypeScript | Apache-2.0 | Local tmux-based orchestration for persistent Claude Code and Codex teams |
| herdr | 54.1k | +871 | Rust | Apache-2.0 | Rust terminal multiplexer for persistent, multi-machine coding-agent workspaces |
| cc-switch | 159.1k | +1.7k | Rust | MIT | Tauri desktop manager for AI coding providers, local routing, and MCP config |
| claude-code-router | 38.5k | +101 | TypeScript | MIT | Local model gateway for routing coding agents across providers |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/mvschwarz/openrig.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about openrig
Can I bring an existing agent session into OpenRig without starting over?
rig discover to identify existing Claude Code or Codex sessions in tmux, then rig adopt to bring them under management. You can still attach directly to a local seat. A hosted member instead joins through MCP and does not get a local pane.What hardware does a multi-agent rig need?
Can our company self-host OpenRig and use it commercially?
When is OpenRig worth using instead of raw tmux or a single coding CLI?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy