← Back to Leaderboard
Omvschwarz

mvschwarz/openrig

Local tmux-based orchestration for persistent Claude Code and Codex teams

Engineering Health (Methodology)
A+ · 95/100
Maintenance Activity
● Updated today
Latest Release
v0.7.27
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption20/25
Release Cadence20/20
License Clarity20/20
Self-HostedCLIMCP1 README badge views (30d)
Total Stars
★ 9,035
24h Growth
+2
7d Growth
+38
Forks
789

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

mvschwarz/openrig Star History (2026-04-11 - 2026-12-04) ALL-TIME STAR HISTORY (2026-04 – 2026-12) +9k in 237d · avg +38/day 9.5k 4.8k 0 2026-04-11: ★ 12026-05-02: ★ 292026-05-23: ★ 392026-06-13: ★ 452026-07-04: ★ 502026-07-25: ★ 572026-08-15: ★ 612026-09-05: ★ 662026-09-26: ★ 5842026-10-17: ★ 7,6742026-11-03: ★ 8,5582026-11-18: ★ 8,8722026-12-04: ★ 9,035 ★ 9k 2026-04 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

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.

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.
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.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-HostedCLIMCP
# 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 →
RepositoryStars7d TrendStackLicenseCore Positioning
openrig ★9k+38TypeScriptApache-2.0Local tmux-based orchestration for persistent Claude Code and Codex teams
herdr54.1k+871RustApache-2.0Rust terminal multiplexer for persistent, multi-machine coding-agent workspaces
cc-switch159.1k+1.7kRustMITTauri desktop manager for AI coding providers, local routing, and MCP config
claude-code-router38.5k+101TypeScriptMITLocal 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.

Raw .md ↗
curl -sL https://repoforai.com/repo/mvschwarz/openrig.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

mvschwarz/openrig Star History on RepoForAI

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?

Use 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?

OpenRig's orchestration layer runs on Node.js, SQLite, and tmux; it does not itself require a GPU or a local model. There is no fixed VRAM requirement to size against. Budget CPU and RAM for the concurrent harness sessions and any builds or tests they run. A GPU requirement would come from a separately chosen local model or workload.

Can our company self-host OpenRig and use it commercially?

Apache-2.0 permits commercial use of OpenRig, subject to its terms, including applicable license and notice obligations when redistributing it. Provider accounts and tools have separate terms. For a workplace rollout, review agent permissions, executable hooks, trust settings, and which data can reach the provider; a local daemon does not make the workflow offline.

When is OpenRig worth using instead of raw tmux or a single coding CLI?

A tmux script is simpler if all you need is to start and arrange a few sessions. OpenRig is useful when roles need stable addresses, owned tasks, shared guidance, and a topology you can snapshot and restore. Compared with running directly in Claude Code or Codex, the gain is a coordination layer across sessions and harnesses; the cost is another service and configuration to maintain.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining mvschwarz/openrig? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature mvschwarz/openrig on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

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

Saved in your browser · Export Markdown RFC tables or jump into /vs compare