Who openrig is for#
Developers running multi-week projects with specialized agents
OpenRig fits developers who need several agents working on distinct parts of a codebase over time: a UI owner, a backend maintainer, a QA reviewer. Each specialist retains context and decision history across sessions, so a `dev-app@factory` agent that built a shared client last month still has that decision when asked about it today.
Skip if:
Single-session tasks or one-shot code changes. If your project fits in a single agent context window and completes in one run, the YAML setup and daemon overhead add more friction than they remove.
Teams exploring cross-runtime agent coordination
OpenRig is the only open source tool that treats Claude Code and Codex as peer specialists in the same topology. Teams curious about combining both runtimes can start with the `first-project` starter (two Codex seats) or `conveyor` (four seats mixing both) before writing custom RigSpecs. The TUI shows what both runtime types are doing in one view.
Skip if:
All agents use the same runtime. If your team runs only Claude Code or only Codex, simpler multi-agent approaches without cross-runtime coordination overhead are available.
Developers building agent-managed infrastructure rigs
The `secrets-manager` starter ships a HashiCorp Vault instance operated by a specialist agent that boots Vault, monitors health, and responds to queries. This pattern, software packaged alongside the agents that manage it, suits developers who want to give an agent permanent ownership over a service rather than a task.
Skip if:
Teams that need multi-user access or a network-accessible management API. OpenRig runs locally as a single-user daemon; the TUI and CLI are not multi-tenant.
The problem it solves#
Running multiple AI coding agents on a real project breaks down quickly. You open Claude Code for the backend, Codex for the frontend, and another for review, but each session starts cold with no memory of the others and no shared work queue. When the project spans weeks, you spend as much time re-briefing agents as reviewing their output.
The underlying challenge is that individual tools manage one conversation at a time. Assigning a task to a named specialist with durable persistence requires either careful manual setup or a dedicated orchestration layer. Inter-agent messaging means copy-pasting context between terminals. Topology state does not survive a reboot. The coordination overhead scales with the number of agents, making long-horizon projects impractical without a tool built for this.
How it solves it#
Declarative YAML topology definition
Define agent teams as RigSpec files: pods (groups of seats), named addresses like `dev-owner@first-project`, edges between seats, and continuity policies. Boot the entire topology with `rig up <name>`. Predefined starters include `first-project` (two seats for a focused first run), `product-team` (orchestrators, implementation, QA, design, and two reviewers), and `conveyor` (four seats mixing Claude Code and Codex in an intake-to-review handoff).
Lead-agent delegation with tracked work queues
A lead agent takes your brief and assigns bounded tasks to named specialists via `rig queue`. Each task keeps its seat owner and progress visible for later follow-up. Agents can message teammates directly with `rig send` for quick questions without creating a tracked assignment. Work assigned to a seat survives the conversation that created it and remains visible in `rig queue list`.
Persistent seats with stable addresses and retained context
Each seat in a rig holds a stable address (e.g., `dev-app@factory`) with retained authored context and decision history. The conversation occupying a seat can change while its identity and queue ownership stay in place. `rig down --snapshot` captures full topology state to disk; `rig up <name>` restores from the latest snapshot and reports per-node outcomes: resumed, fresh, or failed.
Terminal UI with topology graph and seat detail
The TUI shows rig topology as a graph and a table of seats with runtime, model, context usage, and current state. Navigate with keyboard, mouse, or the command bar. Views include Projects, Specs, Feed, Terminals, and System. With herdr or cmux installed, all agent terminals open alongside the dashboard in one integrated workspace.
MCP server for agent-managed topology
Agents manage their own team through the built-in MCP server. Tools include `rig_up`, `rig_ps`, `rig_send`, and `rig_chatroom_send`, letting a lead agent launch new seats, inspect team state, and broadcast across the group without human intervention. This enables automated coordination loops: a lead can spin up a temporary subagent, assign it work, wait for results, and fold them back into the main task.
Strengths and trade-offs#
Strengths
- Apache 2.0 license with full self-hostingOpenRig is Apache 2.0 licensed. Run it on your own machine or server with no per-execution fees and no data leaving your infrastructure. Unlike Conductor's managed SaaS offering, you own the topology definitions, agent state, and execution environment. Commercial use is unrestricted under Apache 2.0.
- Coordinates Claude Code and Codex as peer specialists in the same teamMost multi-agent setups stay within a single execution environment. OpenRig connects Claude Code and Codex as peers in the same topology, letting each handle what it does best. The lead agent delegates across both runtimes, so teams can put Claude Code on contextual reasoning and long sessions while Codex handles targeted implementation tasks.
- Local-first state with no cloud dependencyThe daemon stores topology state, context usage, and provider telemetry in SQLite under `~/.openrig`. No cloud account is required for the core tool. Snapshots and restores work entirely on disk. The only external calls are to the AI providers your agents already authenticate with, so data stays on your infrastructure.
- Active project with documented versioningThe repository has 980 GitHub stars and 104 forks, with the last commit pushed on 2026-09-27. Issues receive acknowledgment within one day per the contributing guide. Releases include structured migration guides, such as the v0.5.9 layout boundary migration with its own scripted verifier, signaling a project that handles upgrades as a first-class concern.
Trade-offs
- -Requires Node.js 20+, tmux, and authenticated AI sessionsRunning OpenRig requires Node.js 20, 22, or 24, tmux, and authenticated Claude Code and/or Codex sessions. Setup writes hooks and trust settings to `~/.claude.json`, `~/.codex/config.toml`, and workspace files. The README explicitly recommends backing up those files before first use. On a machine with existing Claude Code or Codex configuration, reviewing the 'What OpenRig changes on your machine' table before setup is essential.
- -Automatic system-level writes at daemon startupDaemon startup writes Claude Code workspace trust, Codex hook configuration, and trust hashes for relay commands, and sets `permissions.defaultMode` to `acceptEdits` in Claude's settings. These changes happen on every daemon startup, not just during initial setup. Users on shared machines or with custom AI configurations should review the full change table in the README before first use.
- -React web UI is in maintenance modeThe older React web UI is in maintenance mode with best-effort support only. Active development focuses on the TUI, CLI, and MCP server. Teams expecting a browser-based management interface will need to work with the terminal UI instead; the TUI does not have a web equivalent that receives new features.
openrig vs alternatives#
OpenRig vs Conductor
OpenRig and Conductor both coordinate automated workflows, but they operate at different abstraction levels. Conductor (offered commercially as Orkes) is a general-purpose workflow engine: you define tasks as a directed graph, workers execute each node, and the engine tracks state across steps. OpenRig is specifically designed for coding-agent teams: it manages Claude Code and Codex sessions as persistent specialists with retained context, stable seat addresses, and work queues that survive reboots.
| Feature | OpenRig | Conductor |
|---|---|---|
| License | Apache 2.0 | Apache 2.0 (OSS) / Proprietary (Orkes SaaS) |
| Self-hosting | Yes (local daemon, SQLite) | Yes (OSS) or managed (Orkes cloud) |
| Agent types | Claude Code, Codex, Pi | Any worker via SDK |
| Topology definition | YAML RigSpec | JSON workflow DSL or code SDK |
| Persistent seat identity | Yes | No (stateless workers) |
| Cross-agent messaging | rig send, rig queue | Not native; requires workflow steps |
| Management UI | Terminal UI (TUI) | Web dashboard (Orkes) |
OpenRig is the better choice for teams building coding-agent workflows where persistent context matters. A dev-app@factory seat that made an architectural decision last month retains that decision the next time it is asked about it; Conductor workers are stateless by design and hold no memory between executions.
Conductor is the better fit when you need a general-purpose workflow engine where any worker language or service participates. If your orchestration spans non-coding agents, microservices, external APIs, and human approval gates in a broader system, Conductor's worker model and retry infrastructure cover ground OpenRig does not target. The Orkes SaaS tier adds monitoring, access control, and enterprise support that a self-hosted OpenRig instance would need to build separately.
Quick start#
Install OpenRig globally via npm (requires Node.js 20+ and tmux), then preview and apply setup before launching your first rig.
```bash
npm install -g @openrig/cli
rig setup --dry-run
rig setup
rig up first-project --cwd .
rig tui --shared
```What it's built on#
- Languages
- JavaScriptTypeScript
FAQ#
Does OpenRig support both Claude Code and Codex in the same team?
Yes. OpenRig defines seat types for Claude Code, Codex, terminal nodes, and a Pi adapter. A single rig topology can mix all of them in different pods. The conveyor starter demonstrates a four-seat mixed Claude Code and Codex topology. Each runtime keeps its own authentication; OpenRig manages them as one coordinated team.
Is OpenRig free to use?
Yes. OpenRig is Apache 2.0 licensed and fully self-hosted. There are no execution fees or usage limits beyond what your underlying AI providers charge for their API calls. The npm package and all starter rigs are included at no cost.
What happens to agent work after a machine reboot?
rig down --snapshot captures the full topology state to disk. rig up <name> restores from the latest snapshot and reports per-seat outcomes: resumed, fresh, or failed. Agent context and queue assignments are stored in the local SQLite database under ~/.openrig and survive restarts.
How is OpenRig different from running multiple Claude Code sessions manually?
Manual sessions share no addressing, messaging, or work queue. With OpenRig, each seat has a stable address, agents can message each other with rig send, task ownership is tracked in rig queue, and the TUI shows all seats in one view. Agent context and queue state persist across reboots; manual sessions start fresh every time.
What are the prerequisites before running rig setup?
You need Node.js 20, 22, or 24, tmux, and authenticated Claude Code and/or Codex sessions. Review the 'What OpenRig changes on your machine' section in the README before running rig setup, since the command writes trust settings and provider hooks to your home directory. rig setup --dry-run previews what will change without applying it.
Similar open-source tools#
rakazo
AI teammates you own: your keys, your model, your machine.
Codex-X
Visual desktop companion for OpenAI Codex configuration
autoclip
AI highlight extraction from long videos, no cloud upload
OpenSpec
Spec-driven development for AI coding assistants
tradingview-mcp
MCP bridge for AI-assisted TradingView chart analysis
cli
Official Lark/Feishu CLI with 200+ commands and AI Agent Skills
