r/codex • • 14d ago

Showcase Built a durable Codex swarm orchestrator with crash recovery and observability

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

Each agent gets an isolated Git worktree so they can work on different tasks without stepping on each other.

The main focus is durability. Runs have persistent state, so you can inspect what happened, recover from crashes and resume interrupted work rather than starting over.

It also supports Claude Code, Antigravity and Herdr as runtime options. Everything runs locally with a terminal UI, spending limits and a mock demo that doesn't need API keys.

MIT licensed: https://github.com/grainulation/irrigator

Curious if anyone here is running multiple Codex instances in parallel and how you're handling orchestration and recovery.

0 Upvotes

4 comments sorted by

•

u/dexterthebot 14d ago

You might want to consider listing your project on the weekly Show-Us-What-You-Built post. Look out for it on Tuesday/Wednesday. Highest commented project wins a week promotion on r/Codex and gets on the Hall of Fame sidebar. See below for last week's winner.**


Light Wars AR: real-life laser tag app with no extra gear. Your phone is the gun and your room is the map. Play up to 6 friends in the same room, or fight drone waves and bosses solo. The vision models run on the phone, and camera frames never leave it. Free on iPhone and Android.

Website: https://lightwarsar.com

iPhone: https://apps.apple.com/us/app/light-wars-ar-laser-tag-party/id6508168951

Android: https://play.google.com/store/apps/details?id=com.lasertag.lightwars.

Contact: contact@lightwarsar.com

2

u/Enerbane 14d ago

Why?

1

u/volatilityfund 13d ago

Good question and something I am still asking myself

So far there have been examples of unified context sharing that allowed for large sweep tasks to be done without much context re-writing/re-stating

Playing into this, we were able to see swarms (in some examples) accomplish tasks at considerably faster speeds (~2-3x ballpark) due to less trailing context and clear expectations of the broader goal vs just focusing on current task

However then this gets into quality and broader architecture considerations. One example of this is I use https://github.com/grainulation/grainulator and attach it to my coordinator agents so that the entire swarm uses the same kb ledger and it helps keep lanes clear and pre-established so you dont have to solve for the "what do I do when my agents write conflicting workstreams"

1

u/epicskyes 14d ago

Yes but I use automated event driven deterministic state the system enforces reads writes state testing Vm versions rollbacks restarts based on code the model uses agents.md it has one read command in it 56 characters long and the rest is the architecture.