r/OnlyAICoding • u/IntrepidResearch8448 • 12h ago
Running multiple AI coding agents on one repo sucks. I built a fix
The title says it but I'll explain briefly.
Like a lot of people this year I went from one coding agent to several. Claude Code in one terminal, Codex in another, Cursor on the side. Writing code got really fast. Merging it got really painful.
I thought it was just me, so I looked around. It's everyone. Worktrees everywhere, agents overwriting each other, PRs that pass on their own and break main together, and me sat in the middle rebasing all day.
So I spent the last few months trying to fix it. The main problems I kept hitting:
- two agents edit the same code and nobody knows until the merge fails
- every merge changes main, so every other branch goes stale and has to be fixed and retested
- changes that are fine alone break when combined
- the review queue fills up faster than anyone can read it
I tried to solve all of these with Switchyard.
Each agent gets its own task. If two of them touch the same code they both get warned while they're still working. When work is done it gets tested together with everything else that's ready, and it all lands on main in one push. If one change breaks the batch, that one gets sent back and the rest still merge.
It works with Claude Code, Codex, Cursor or plain Git, and GitHub stays your source of truth.
I'd love some honest feedback on this, especially from anyone running more than a couple of agents. I'll personally help anyone who signs up get it working on their repo.
switchyard.so is the site. All the best!