RigStop babysitting coding agents.

Rig is an open-source CLI harness for coding agents. You talk to one parent agent; it scopes the work, briefs worker agents over MCP and checks their results against your requirements. Done means accepted checks, not exit 0.

Status
Live, MIT
License
MIT
Agents
Codex, Claude Code, Grok, OpenCode, Cursor and more
Last change
15 Oct 2026
Before · Four agents, four "done"s
codexedit src/cli.py
… 214 lines
exit 0
claude-codeedit tests/test_cli.py
… 88 lines
exit 0
grokedit src/cli.py
… overlapping edit
exit 0
opencoderun tests
… 2 failed
exit 0
After · Parent reviewAccepted
You: fix the failing tests in tests/test_cli.py
  • Workers edited separate files, no overlaps
  • tests/test_cli.py passes
  • Every declared requirement checked by the parent
Accepted2 workers · 1 parent
Logs from four coding agents that all end in exit 0 become one parent-verified result with passing checks.Parent review

What it does

  • 01

    One parent, many workers

    Talk to a single parent agent. It briefs workers over MCP and keeps them on task.

  • 02

    Adaptive workflows

    Eligible work splits into a graph of up to 12 nodes, with parallel workers on separate files.

  • 03

    Parent verification

    Work is checked against declared requirements and optional acceptance contracts before it counts.

  • 04

    Smart routing

    Tasks go to the eligible worker best suited for them.

  • 05

    rig tui

    A terminal UI with Jobs, Queue and Workflows tabs.

  • 06

    Safe by default

    Safe updates with rollback, a task-aware doctor, and opt-in computer-use and BrowserSkill backends.

Install

# install$ curl -fsSL https://raw.githubusercontent.com/Brasth/Rig/main/install.sh | bash# set up a repo$ cd your-repo$ rig init
  • Configure workers in .rig/harness.toml
  • Then type normal prompts into your parent agent, for example “fix the failing tests in tests/test_cli.py”
  • Pause and resume with rig off and rig on

Questions about Rig

What is Rig?

Rig is an open-source CLI harness for coding agents from Brasth. One parent agent scopes the work, briefs worker agents over MCP and verifies their results.

Which coding agents does Rig work with?

Rig supports Codex, Claude Code, Grok, OpenCode, Cursor and others as parent or worker agents.

What does "verified" mean in Rig?

A job counts as done only after the parent agent accepts it against the declared requirements and any optional acceptance contract, not just because a process exited with code 0.

How do I use Rig day to day?

After rig init and configuring workers in .rig/harness.toml, type normal prompts into your parent agent. The project recommends not using rig run for normal work.

Is Rig free?

Yes. Rig is MIT licensed. The source is at github.com/Brasth/Rig.

Recent changes

Full changelog