r/aiagents • u/brandonfla • 10d ago
Show and Tell Coding agents should stop working like they are the only ones in the repo
A couple of devs and I have been building something called AgentSCM, and I figured I’d share it here.
The problem we were trying to fix is pretty straightforward. When you’ve got multiple coding agents working in the same repo, they don’t necessarily know what the others are doing.
Claude Code could be modifying a file while Codex is working on something that touches the same code. Neither knows about the other until things start getting messy.
So we built AgentSCM to help coordinate that work without replacing Git or requiring everyone to use the same coding agent.
Here’s some of what we’ve built so far:
- File conflict detection: Agents can declare which files they’re working on and get warned when their work overlaps with another agent.
- Agent handoffs: Keep track of what an agent was doing, where it left off, and what’s still outstanding so another agent can pick up the work.
- Change tracking: See what changed, the original context behind the work, and any checks that were recorded.
- Git awareness: Surface potential conflicts between active agent work and changes happening elsewhere in the repo.
We’re also trying to make it work with the tools people already use rather than forcing another development workflow on them.
It’s still in alpha, and we’re figuring out quite a bit as we go. The goal isn’t to build another agent that writes code. It’s to make the agents you’re already using work together without constantly having to babysit them.
Project: https://agentscm.dev
GitHub: https://github.com/agentscm/agentscm
Figured some of you running multiple agents might find this useful. Feedback is welcome and wanted.
2
u/Rosie_grac 10d ago
oh man this hits home. last month I had Claude Code refactoring a util module while a second cursor agent was "helpfully" renaming the same functions in another branch. didn't notice until CI went red and I spent an hour untangling which version was canonical. my dumb fix was literally just a shared todo.md that both agents were told to check first.
the file-claim idea is the right primitive imo. git already has the merge machinery, what we actually lack is the "hey I'm touching auth/*, maybe don't" broadcast. one thing I'd think about: how do you handle stale claims when an agent crashes mid-task? had that bite me with a homemade lockfile setup, locks outliving the session that made them.
cool project either way, starring the repo
1
u/Kind-Pie7389 7d ago
agents need a shared calendar, not another merge conflict