Irrigator

Durable local orchestration engine and pipeline runner for multi-agent coding workflows. Runs agents in isolated git worktrees with strict review gates, role routing, and guarded delivery.

Documentation

Irrigator mascot

Irrigator

Durable local workflows for the coding agents you already use.

Plan the graph. Run in parallel. Inspect or resume from your terminal.
Explicit state, retries, and spending boundaries for local agent work.

See the Irrigator homepage

Go 1.26.7 or later MIT license Docs on DeepWiki

macOS and Linux CI Windows (WSL) CI

Quick start · First run · Plugins · Agent setup · Documentation · Changelog


What it adds

Irrigator runs coding agents in parallel while keeping results, retries and spending evidence on disk. Use the CLI directly or through Claude Code, Codex and Antigravity plugins. Inspect the work and resume from your terminal.

CapabilityWhat it gives you
Durable executionSaved plans, attempts and accepted artifacts that survive interruptions.
Coding cellsOne task per git worktree, with branches and objective checks to review.
Bounded delegationExplicit task graphs, worker concurrency and provider limits.
Recovery decisionsUncertain external work stays visible and is never silently replayed.
Terminal reviewstatus --watch, graph, review tui and a read-only MCP view.

Quick start

Install the stable CLI from the shared Grainulation tap:

brew tap grainulation/homebrew https://github.com/grainulation/homebrew
brew install grainulation/homebrew/irrigator
irrigator doctor
irrigator demo

The demo uses mock workers, needs no credentials and makes no model calls. Each invocation creates a fresh run directory and prints inspection commands. For your own plan, follow the first-run guide.

The stable formula installs a pinned release archive and does not need Go. See the tap's available formulae for the current stable version. For a development source build, use brew install --HEAD grainulation/homebrew/irrigator. See the Homebrew guide for supported platforms, upgrades and checks.

From source

Requires Go 1.26.7+, make and a POSIX shell. Development and CI pin Go 1.27.2.

git clone https://github.com/grainulation/irrigator.git
cd irrigator
make build
./irrigator doctor
./irrigator demo

To install from this checkout, run make install PREFIX="$HOME/.local" and add $HOME/.local/bin to PATH. Installation copies the CLI; agent plugins and provider tools have their own setup. CLI archives and their installation checks are described in runtime releases.

Ask your agent to start

Give Claude Code, Codex or Antigravity this prompt from the checkout:

Read README.md and AGENTS.md in the Irrigator repository. Build ./irrigator with make build,
run ./irrigator agents and ./irrigator demo, and report the exit codes and final status lines.
Tell me which routes below this machine can run. Ask before any model-backed or paid run.
RouteWhat it doesNeedsCost and limits
1. Mock demo and starter plandemo, init, plan, apply --backend mockLocal CLINo model calls or API spend
2. Local modelsManaged tasks using OllamaCLI, Ollama and a local modelLocal compute; no API spend
3. Managed CLI profilesTurn/helper graphs via claude:MODEL, codex:MODEL, agy:MODELCLI and authenticated providerCost tracking by default; explicit enforced-budget profiles available
4. Coding cellsirrigator code, with branches to reviewCLI, git repo and an agent CLIPer-cell timeout; Claude USD cap; Codex/agy cost unknown, no USD cap

Real providers use your account or local compute. New managed plans track estimates without blocking when costs are unavailable; tracking thresholds warn. Enforced budgets control admission and reservations and can still be overrun by a provider. Unknown cost never means free execution. See cost tracking and enforced budgets.

Put it to work

Start with a plan, validate it, then choose a backend explicitly:

./irrigator init --out plan.json
./irrigator plan plan.json
./irrigator apply plan.json --run runs/first --backend mock
./irrigator status runs/first

Use new plan filenames and run directories. For repository changes, coding cells accept --task ID=PROMPT and --verify ID=COMMAND; results land on local branches for review. A verification timeout or exit 77 leaves the result uncertain, as does a successful check that changes the worktree or Git identity. See coding cells for setup, spending limits and recovery.

For graphs that grow during execution, choose recursive spawning or managed turns and helpers. These have separate execution rules; worker concurrency is independent of graph size.

Plugins

Install the irrigator runtime separately, then follow agent setup for your host:

HostSetup
Claude CodeClaude Code plugin
CodexCodex plugin or manual workflow
AntigravityAntigravity plugin
Other MCP hostsirrigator mcp

The plugins share Markdown skills and the local CLI under the host's normal execution permissions. Host integration covers installation and discovery checks; static package checks alone do not establish that a host can load or invoke a plugin.

Explore the docs

GuideStart here for…
First runYour own plan, provider selection and inspection.
Coding cellsParallel repository tasks and verification commands.
Workflow diagnosticsRole routing, quota/reset advisories, delivery summaries and the offline benchmark.
Attempt outputPaginated captured output with redaction and capture-loss metadata.
Local reviewSelective-file application, assembled-file checks and guarded undo.
Workflow compositionReusable graphs and artifact contracts.
Terminal workspaceSwarm dashboard and local review.
RecoveryInterrupted calls, retries and execution authority.
ArchitectureSource layout, package layers and durable state.
CompatibilityThe supported 1.x interfaces and saved-run formats.
Documentation indexAccounting, providers, command references and more.

Verification and limits

The CLI supports macOS and Linux. Windows users run the Linux build inside WSL 2; native Windows is planned. Platform support records the tested configurations.

Worktrees keep concurrent checkouts apart; they are not a host sandbox. Approvals record a decision bound to a specific head and never merge changes. See SECURITY.md for the local trust model.

CI runs builds, mock workflows, race tests and package checks. Native host and live-provider acceptance are separate. Run the development gates with:

make acceptance
make lint

The verification matrix details their scope, including integration tests. Contributing covers setup and changes; choosing a tool explains the tradeoffs. See the changelog for releases and the release checklist for artifact promotion.


Built by Grainulation · MIT licensed · Issues & ideas