r/OpenSourceAI • • 13d ago

Irrigator: Open source AI coding swarm orchestrator with crash recovery and observability

Been working on Irrigator, an open source Go project for running multiple AI coding agents in parallel.

It supports Claude Code, Codex, Google Antigravity and Herdr.

Each task runs in an isolated Git worktree, with persistent state, crash recovery and the ability to inspect or resume interrupted workflows.

There's also a terminal UI for monitoring agents, managing runs and tracking costs.

Everything runs locally, MIT licensed and includes a mock demo you can try without API keys.

https://github.com/grainulation/irrigator

Would appreciate feedback, especially from anyone working on similar open source agent orchestration tools.

6 Upvotes

4 comments sorted by

1

u/NihilismWithBenefits 13d ago

How do you reconcile outputs across the isolated Git worktrees when running multiple agents in parallel? If two agents change the same file, how do you ensure consistent integration without conflicts?

1

u/volatilityfund 12d ago

We actually have some docs on that here: https://deepwiki.com/grainulation/irrigator/7.2-contract-verification-and-golden-files

High level we try to make sure we plan all the lanes in advance to avoid conflicts, if we run into the inevitable conflict you can configure your workflow to assign that conflict to a coordinator agent to resolve within its permission set or introduce a human in the loop (depends on how risky the task is)

1

u/mistyshoress 12d ago

imo the hardest part with parallel coding agents isnt the execution, its decomposing the initial prompt so the tasks are actually independent. Does the orchestrator handle breaking down the tasks automatically, or do you feed it a predefined task graph

1

u/volatilityfund 11d ago

You can do both and the task ultimately dictates which one is "better" or not. We have some docs in deep wiki on this that might be helpful

https://deepwiki.com/grainulation/irrigator/6-observability-and-session-state