About Openrig
Openrig is an MCP server published by mvschwarz in the Agents category: build your own network of agents from Claude Code, Codex and Pi: persistent teams with roles, shared context and owned work. Conduid read 41 tools from its source: rig_add, rig_agent_validate, rig_artifact_read, rig_bind, rig_bundle_inspect, rig_capture and 35 more. No package is published for it, so it installs from a source checkout.
The repository has 9.0K stars and 785 forks, is licensed Apache-2.0, and its last commit was on 2 Dec 2026. The latest release is v0.7.22 (23 Nov 2026): OpenRig 0.7.22 is a patch for a useful first result, responsive coordination and state that tells the truth: a person's agent can wait for its task's answer, several slo… It follows v0.7.21 (21 Nov 2026), and the 5 most recent releases go back to v0.7.18 (17 Nov 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include agent-harness, agent-orchestration, ai-coding, cli, codex-cli and multi-agent.
Install
git clone https://github.com/mvschwarz/openrigTools (41)
rig_addAdd a single member to an existing pod in a running rig (the add_member converge op). Identity-migration-free: mints a fresh seat, nothing existing re-keys.| Parameter | Type | Description |
|---|---|---|
| edges | array | Optional pod-local edges (from/to are member ids within the pod; resolved against the new member + existing pod-mates) |
| member * | object | Member fragment with spec snake_case fields: id, runtime, agent_ref, profile, cwd (and optional model, codex_config_profile, restore_policy, label) |
| podNamespace * | string | Namespace of the existing pod to add the member to |
| rigId * | string | Target rig name or identifier |
| rigRoot | string | Root directory for agent resolution |
rig_agent_validateValidate an AgentSpec (agent.yaml) from YAML text| Parameter | Type | Description |
|---|---|---|
| yaml * | string | YAML text of the agent spec |
rig_artifact_read| Parameter | Type | Description |
|---|---|---|
| offset | number | The character to start from (default 0) |
| path | string | With root: the file's path inside that root |
| qitemId | string | Read this item's evidenceRef |
| root | string | A shared root's name: with path, the file to read; with qitemId, the root a relative evidenceRef is under |
rig_bindBind a discovered session to an existing node or create a new node in a pod| Parameter | Type | Description |
|---|---|---|
| discoveryId * | string | Discovery session identifier |
| logicalId | string | Existing node logical ID (mode: bind to existing) |
| memberName | string | Member name for new node (required with podNamespace) |
| podNamespace | string | Pod namespace to create node in (mode: create in pod) |
| rigId * | string | Target rig name or identifier |
rig_bundle_inspectInspect a .rigbundle file| Parameter | Type | Description |
|---|---|---|
| bundlePath * | string | Path to .rigbundle file |
rig_captureCapture terminal output from an agent session. host needs the daemon's owner (the stdio server, an HTTP owner token, or unauthenticated loopback), not an ordinary scoped grant.| Parameter | Type | Description |
|---|---|---|
| host | string | Act on a REGISTERED remote host's daemon instead of this one (rig host list shows the hosts; as --host on the matching rig verb); a write there names this server's seat (rig_whoami) as its sender, as a local write does |
| lines | number | Number of lines to capture (default: 20) |
| pod | string | Capture all sessions in a pod |
| rig | string | Capture all sessions in a rig |
| session | string | Session name (omit for multi-target with rig/pod) |
rig_chatroom_sendSend a message to a rig's chatroom as this server's seat, or, with no seat, as an unknown sender with a note saying so| Parameter | Type | Description |
|---|---|---|
| body * | string | Message body |
| rigName * | string | Rig name or identifier |
rig_chatroom_watchRead a rig's recent chatroom messages: the most recent ones (default 20), oldest first, optionally one topic's or one sender's. It returns what is there now and doesn't wait for new messages.| Parameter | Type | Description |
|---|---|---|
| limit | number | How many recent messages (default 20) |
| rigName * | string | Rig name or identifier |
| sender | string | Only messages from this seat |
| topic | string | Only messages in this topic |
rig_context_getRead one context file or one section of it, as rig context get does: <pack>/<file>, or <pack>/<file>#<h2-slug>[/<h3-slug>]. Text over ${CONTEXT_TEXT_LIMIT} characters is cut (truncated: true); address a section to read the rest.| Parameter | Type | Description |
|---|---|---|
| address * | string | <pack>/<file>[#<h2-slug>[/<h3-slug>]] |
rig_context_packShow one context pack: its purpose and the files it declares (path, role, summary, estimated tokens), so a file can be read with rig_context_get as <pack>/<file>.| Parameter | Type | Description |
|---|---|---|
| ref * | string | The pack's ref, as rig context list shows it (e.g. project-world) |
rig_discoverScan for tmux sessions to discoverrig_downTear down a rig| Parameter | Type | Description |
|---|---|---|
| delete | boolean | Delete rig record after stopping |
| force | boolean | Close the seats' terminals at once, without first letting each agent exit through its own shutdown |
| rigId * | string | Rig name or identifier to tear down |
| snapshot | boolean | Take snapshot before teardown |
rig_environment_exportTransfer a bound worker's actual JSON artifact to the host, verify its bytes/schema/context and append a durable receipt to its existing work. Does not close work, stop compute or restore native history. Requires an authenticated HTTP work connection.| Parameter | Type | Description |
|---|---|---|
| bindingId * | string | |
| bytes * | number | |
| context * | object | |
| generation * | string | |
| operationId * | string | |
| path * | string | |
| schema * | object | |
| sha256 * | string | |
| taskId * | string |
rig_human_decision_roomBefore deciding a question you asked a person: the decision room of the mode they have on, in their own words (what the team may decide for them meanwhile, and what it may not), or none, with why. You judge whether your decision falls inside it; with none, the question stays theirs to answer.| Parameter | Type | Description |
|---|---|---|
| qitemId * | string | Your pending ask to the person (a queue item addressed to <person>@external) |
rig_missionRead one mission: its status and its slices as summaries.| Parameter | Type | Description |
|---|---|---|
| missionId * | string | The mission's id (its folder name) |
rig_network_requestSend a request to a peer through a connected seat's network binding. Omit binding to use your own seat; rig_whoami names its binding. Choose requestId once and retry only with that same id, never a new one. The peer's answer closes that same local queue item, owned by OpenRig: read it with rig_queue_show and qitemId=requestId. To wait, claim a separate row addressed to you, then rig_queue_update it with state blocked and blockedOn=requestId; wakeAfterSeconds is an optional backstop. Check the request once after parking: if already closed or missing, read it now and close your wait row. Use a qitem- id, not a fold:, auth: or external: gate. Only terminal seats can be woken; an external MCP client must check again, with no promised wake.| Parameter | Type | Description |
|---|---|---|
| binding | string | Binding id or connected local seat's address; default: this caller's seat |
| body * | string | What to do and what to return |
| peer * | string | The peer's address on the binding's hub |
| requestId * | string | Your unique id for this request and its local answer item; retry only with this same id |
| summary | string | One-line summary |
rig_psList rigs and their status. host reads a registered remote host instead of this daemon; it needs the daemon's owner (the stdio server, an HTTP owner token, or unauthenticated loopback), not an ordinary scoped grant.| Parameter | Type | Description |
|---|---|---|
| host | string | Act on a REGISTERED remote host's daemon instead of this one (rig host list shows the hosts; as --host on the matching rig verb); a write there names this server's seat (rig_whoami) as its sender, as a local write does |
rig_question_answerSubmit the person's answer to a question rig_question_list showed them: only what they explicitly told you, never your own choice. Name the revision you showed them, and give either the options they chose (one per question) or exactly what they typed, with no label or words of your own. It's recorded as their answer, given through this connection, and the team's work continues. After an uncertain result, send the same call again: it confirms or finishes what was recorded.| Parameter | Type | Description |
|---|---|---|
| choices | array | The options the person chose, one per question |
| qitemId * | string | The question's qitemId, from rig_question_list |
| revision * | string | The revision rig_question_list gave for the question you showed the person |
| words | string | Exactly what the person typed, when they answered in their own words |
rig_question_listList the team's questions waiting on the person who owns this connection: what Steering shows them to answer. Each comes with its options when it has any, and the revision to name when you submit the person's answer with rig_question_answer.rig_queue_claim| Parameter | Type | Description |
|---|---|---|
| qitemId * | string | The queue item to claim |
rig_queue_createrig_queue_decideRecord a decision you made on a person's behalf, on your own pending ask to them, inside the decision room of the mode they have on: read it first with rig_human_decision_room and pass its applicationId. It's recorded beside their answers, never as one, and the ask closes. The daemon refuses it when they have no room, their mode changed since you read it, the ask is a permission prompt or an approval gate, they've started answering, or another seat asked. This server never answers as the person.| Parameter | Type | Description |
|---|---|---|
| applicationId * | string | decisionRoom.applicationId from rig_human_decision_room: the room you judged against |
| choices | array | The question's id, when the ask has structured questions |
| qitemId * | string | Your pending ask to the person |
| reason * | string | Why this choice |
| reversible * | boolean | Whether the decision can be undone |
rig_queue_handoffPass a queue item this seat holds on to the next seat in one step: the item closes as handed off and a new item opens for that seat, carrying the work's lineage in chainOfRecord, so whoever follows the work reaches the new item from rig_queue_show. Without body the new item keeps the task's text. If the call times out, check rig_queue_show on this qitemId before retrying: when it reads handed off, its successor is the new item, so don't hand it off again. host needs the daemon's owner (the stdio server, an HTTP owner token, or unauthenticated loopback), not an ordinary scoped grant.| Parameter | Type | Description |
|---|---|---|
| body | string | The task as the next seat should read it (default: the item's own text) |
| evidenceRef | string | Pointer to the durable artifact, which a new item for a person needs |
| host | string | Act on a REGISTERED remote host's daemon instead of this one (rig host list shows the hosts; as --host on the matching rig verb); a write there names this server's seat (rig_whoami) as its sender, as a local write does |
| note | string | Transition note on the item passed on: why it goes there |
| priority | string | Priority for the new item (default: the item's own) |
| qitemId * | string | The queue item to pass on |
| summary | string | One-line summary for the new item |
| tags | array | Tags for the new item (default: the item's own) |
| to * | string | The next seat (e.g. qa@my-rig) |
rig_queue_list| Parameter | Type | Description |
|---|---|---|
| all | boolean | Without state: include closed items |
| destination | string | Filter by destination seat |
| handedOffFrom | string | The items handed on from this qitemId, in any state and any rig |
| host | string | Act on a REGISTERED remote host's daemon instead of this one (rig host list shows the hosts; as --host on the matching rig verb); a write there names this server's seat (rig_whoami) as its sender, as a local write does |
| limit | number | Result limit (default 100) |
| mine | boolean | Items this seat sent or owns |
| mission | string | Add the exact mission:<id> tag filter |
| owned | boolean | Only items assigned to this seat: its whole inbox (overrides destination) |
| since | string | Only items updated at or after this ISO-8601 time, e.g. done work since Monday: state done, since 2026-10-19 |
| slice | string | Add the exact slice:<id> tag filter |
| source | string | Filter by source seat |
| state | string | Only these states, comma-separated; closed states included when named |
| tags | array | Exact, case-sensitive tags; every supplied tag must match. Commas are literal. |
rig_queue_show| Parameter | Type | Description |
|---|---|---|
| host | string | Act on a REGISTERED remote host's daemon instead of this one (rig host list shows the hosts; as --host on the matching rig verb); a write there names this server's seat (rig_whoami) as its sender, as a local write does |
| qitemId * | string | The qitemId returned by rig_queue_create (or any queue item) |
| waitSeconds | number | Wait at most this many seconds while this item is pending or in-progress. Omitted or 0 reads immediately. Other states return immediately; no successor is followed. At the bound, waited names a timeout, not completion. |
rig_queue_unclaimPut back a queue item this seat claimed and won't finish: it returns to pending for its destination seat, ready to be claimed again, and the transition records why. Only a claimed (in-progress) item can be put back. To pass the work to another seat instead, use rig_queue_handoff.| Parameter | Type | Description |
|---|---|---|
| qitemId * | string | The claimed queue item to put back |
| reason | string | Why it's put back, recorded as 'unclaimed: <reason>' (default: manual) |
rig_queue_update| Parameter | Type | Description |
|---|---|---|
| blockedOn | string | What it waits on, when blocking: another qitemId (this item returns to pending when that one closes), or the address of the person this item came from, not a shared channel (they're asked with this item's summary, and their answer returns it to you in progress) |
| closureReason | string | Why it closed: no-follow-on for finished work, or handed_off_to, denied, canceled, escalation or superseded (as rig queue update --closure-reason) |
| closureTarget | string | Closure target, when the reason needs one |
| evidenceRef | string | Pointer to the durable artifact, stored on the item with a state change (a park, a done close; a blank one isn't stored). For a code result, a JSON file of kind openrig.code-result/v1 with repo, base and revision (full commit ids) and paths lets a reader diff it exactly |
| host | string | Act on a REGISTERED remote host's daemon instead of this one (rig host list shows the hosts; as --host on the matching rig verb); a write there names this server's seat (rig_whoami) as its sender, as a local write does |
| note | string | Transition note: progress, or why this transition happened (required to reopen) |
| qitemId * | string | The queue item to update |
| reopen | boolean | Reopen a closed item: give an active state (pending, in-progress or blocked) and a note (as rig queue update --reopen) |
| resolution | string | The outcome the item keeps, stored only by the update that closes an open item (as rig queue update --resolution) |
| state | string | New state (e.g. in-progress, blocked, done) |
| summary | string | Replace the one-line summary |
| wakeAfterSeconds | number | Wake this seat after this many seconds, when blocking. Delivered only to a seat with a terminal: an attached app can't receive it today, so the item just waits until it is checked. |
rig_restoreStart restoring a rig from a snapshot. It answers at once with an attemptId while the restore runs in the background; follow the attempt with rig_restore_status.| Parameter | Type | Description |
|---|---|---|
| rigId * | string | Rig name or identifier |
| snapshotId * | string | Snapshot identifier |
rig_restore_statusRead where a restore attempt stands: the receipt for the attemptId rig_restore returned. An attempt with no completion yet (still running, or stopped before it finished) answers attempt_incomplete; it isn't a receipt.| Parameter | Type | Description |
|---|---|---|
| attemptId * | number | The attemptId rig_restore returned |
| rigId * | string | Rig name or identifier |
rig_rig_nodesGet node inventory for a rig — session names, status, attach commands, resume commands| Parameter | Type | Description |
|---|---|---|
| rigId * | string | Rig name or identifier |
rig_rig_validateValidate a RigSpec (rig.yaml) from YAML text| Parameter | Type | Description |
|---|---|---|
| yaml * | string | YAML text of the rig spec |
rig_seat_decide_permissionAnswer a seat's permission ask (qitem-runner-permission-…) with one of the options it offers, as rig seat decide-permission does. Show your person the exact action first. A plain yes or no is their own answer: set relay and pass their exact words in personSaid; it's recorded as relayed by you, unconfirmed, since OpenRig didn't get it from them. For their words or a condition, decide whether this exact action meets them, with reason and personSaid. That includes a standing instruction they gave earlier ("don't ask me about the tests") that clearly covers this exact action: decide it under those words without asking again, quoting them in personSaid, and tell them what you decided. With no seat, the decision names this conversation's own address when the ask is addressed to it. An ask already answered, ended in the seat's terminal, or stale comes back as it is, and nothing is decided. A reply with native.notReached is recorded but hasn't reached the seat's prompt (its hook isn't reading the ask): tell your person what it says.| Parameter | Type | Description |
|---|---|---|
| askId * | string | The ask's id (qitem-runner-permission-…) |
| option * | string | One of the ask's options, by its id: allow or deny for a seat's own Claude Code prompt |
| personSaid | string | The person's own words, exactly as they gave them, recorded as your report of what they said |
| reason | string | Why, recorded with the decision (say what the person meant) |
| relay | boolean | A seat's own prompt only: the person chose this option themselves and you pass it on exactly; recorded as relayed by you, not your decision, and unconfirmed |
rig_sendSend a message to an agent's terminal using reliable two-step send. host needs the daemon's owner (the stdio server, an HTTP owner token, or unauthenticated loopback), not an ordinary scoped grant.| Parameter | Type | Description |
|---|---|---|
| force | boolean | Send even if target appears mid-task |
| host | string | Act on a REGISTERED remote host's daemon instead of this one (rig host list shows the hosts; as --host on the matching rig verb); a write there names this server's seat (rig_whoami) as its sender, as a local write does |
| session * | string | Target session name (e.g. dev-impl@my-rig) |
| text * | string | Message text to send |
| verify | boolean | Verify delivery by checking pane content |
| waitForIdleSeconds | number | Wait until explicit idle evidence before sending. If the seat is still busy or its activity is unknown when the wait ends, nothing is sent and nothing is kept; separate work belongs in a queue row |
rig_slicesList the work tree's slices, most recently active first: name, mission, status, description and how many queue items name it. Paths and readiness detail are left out.| Parameter | Type | Description |
|---|---|---|
| filter | string | Only slices with this status (default all) |
| limit | number | Most slices to return (default 50) |
| missionId | string | Only this mission's slices |
rig_snapshot_createCreate a snapshot for a rig| Parameter | Type | Description |
|---|---|---|
| rigId * | string | Rig name or identifier |
rig_snapshot_listList snapshots for a rig| Parameter | Type | Description |
|---|---|---|
| rigId * | string | Rig name or identifier |
rig_statusCheck daemon healthrig_team| Parameter | Type | Description |
|---|---|---|
| rigId | string | Rig name or id. A connection from outside the rig (an external grant) usually leaves this out, and the tool finds its team; if it passes one, it must be the granted rig's name, never its id or the team's display name. |
rig_telemetry_eventsRead one bounded page of event metadata: seq, rig, node, type and time, never payloads. Without a cursor it starts at the newest event and returns no rows; start retained reads the retained past instead. Continue with page.nextCursor and the same filters. coverage.gaps names any history it could not read, including a daemon restart, after which the old cursor can't continue.| Parameter | Type | Description |
|---|---|---|
| cursor | string | page.nextCursor from the previous page; not with start |
| limit | number | Source rows to scan (default and maximum 128); a filter can return fewer |
| nodeId | string | Node identifier |
| rigId | string | Rig name or identifier; events with no rig are left out |
| start | string | Without a cursor: latest (default) or retained |
rig_upLaunch a rig from a rig spec (.yaml), a .rigbundle or a .rigtopology, or restore an existing rig by its name from its latest snapshot| Parameter | Type | Description |
|---|---|---|
| autoApprove | boolean | Auto-approve trusted actions |
| cwd | string | Working directory for a new launch's agents. It must be absolute: this server has no caller directory to resolve a relative one against. |
| env | object | Environment variables for a new launch from one rig spec or bundle, not saved with the rig (as rig up --env NAME=value). A .rigtopology or a restore by name doesn't use them. |
| fresh | array | When restoring an existing rig: the seats (logical ids, e.g. dev.impl) to start fresh instead of resuming (as rig up --fresh) |
| plan | boolean | Plan mode — preview without executing |
| rigName | string | A new launch's rig name instead of the spec's (as rig up --name) |
| sourceRef * | string | An absolute path to a rig spec (.yaml), .rigbundle or .rigtopology, or the name of an existing rig to restore. The daemon reads the path, so a relative one resolves against the daemon's directory. |
| targetRoot | string | Target root directory for package installation |
rig_whoamiSecurity checks
Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 5.9K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- !No dynamic code executionScanned 1.7K source files and found 17 calls to eval or shell execution, in packages/cli/src/commands/attach.ts:14, packages/cli/src/commands/doctor.ts:603 and packages/cli/src/commands/doctor.ts:693 among others. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
What the source scan found
- Transport
- stdio and Streamable HTTPpackages/cli/src/commands/mcp.ts:2, packages/cli/src/mcp-http.ts:525
- Starts other programs
- 100 callspackages/cli/src/acp/connector.ts:92, packages/cli/src/ask-wake.ts:74, packages/cli/src/bin-wrapper.ts:67
- Outbound network calls
- 159 callspackages/cli/src/client.ts:394, packages/cli/src/commands/context.ts:135, packages/cli/src/commands/crash-cart.ts:76
- Writes or deletes files
- 293 callspackages/cli/src/commands/bundle.ts:165, packages/cli/src/commands/daemon.ts:148, packages/cli/src/commands/daemon.ts:151
- Lockfile
- package-lock.json
Pattern matches on the source text of 1679 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 5.9K words, fetched 7 days ago. The original in the repository is authoritative.
Read full README