git-coord
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Fail
- spawnSync — Synchronous process spawning in skills/git-coord/coord.py
- network request — Outbound network request in skills/git-coord/coord.py
- network request — Outbound network request in skills/git-coord/gitcoord/store.py
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Run as many AI coding agents as you want on one repo — they'll never step on each other. Claude Code, Codex, Cursor, Copilot, Gemini CLI. No server, just git.
git-coord
Run as many AI coding agents as you want on one repo. They'll never step on each other.
Claude, GPT, Gemini or a local model · Claude Code, Codex, Cursor, Copilot and more · any machine, any OS
No server. No database. Just git.
The problem
You start a second AI agent to go twice as fast. Ten minutes later, both have edited auth.ts. One silently
overwrote the other, or you're stuck untangling a merge conflict neither agent understands. Asking them nicely to
"stay out of each other's files" doesn't hold.
git-coord makes that collision impossible. Every file has one owner at a time. Everyone else waits in a fair
line, does other work meanwhile, and gets the file handed over the moment it's free, along with the finished work.
Install in 30 seconds
As a plugin, in the tool you use. Same repo, one install each:
| Tool | Install |
|---|---|
| Claude Code | /plugin marketplace add banitsriram/git-coord, then /plugin install git-coord@git-coord, then restart |
| Codex | codex plugin marketplace add banitsriram/git-coord, then codex plugin add git-coord@git-coord |
| GitHub Copilot CLI | copilot plugin marketplace add banitsriram/git-coord, then copilot plugin install git-coord@git-coord |
| Gemini CLI | gemini extensions install https://github.com/banitsriram/git-coord |
Copilot runs plugin hooks in folders you've trusted. Gemini notes at start that it skips the other tools' hook
names; that's expected.
Cursor, Kiro, OpenCode, Amp, or every tool at once: one line. On macOS or Linux:
git clone https://github.com/banitsriram/git-coord ~/.git-coord && python3 ~/.git-coord/skills/git-coord/coord.py install --tool all
On Windows (PowerShell):
git clone https://github.com/banitsriram/git-coord $HOME\.git-coord; python $HOME\.git-coord\skills\git-coord\coord.py install --tool all
It finds the AI tools you have and adds git-coord to each (skipping any that already have the plugin), without
touching your other settings. It also makes git coord <command> work in every repo. Re-running is safe, anduninstall --tool all removes it. You need git and Python 3.9 or newer.
*Then, in any repo, tell your agent "set up git-coord here",* or run git coord init alice yourself.
That's it. Your agents now claim what they edit, wait their turn and hand work over on their own.
What you get
- 🔒 Zero collisions. Editing a free file claims it. Editing a taken file is refused, with who has it, for
what, and for how long. A commit guard catches everything else, from any tool or person. - ⏳ A fair line, not a fight. More important work goes first, then first come. Waiting agents get a
heads-up and pick up other ready work instead of idling. - 🤝 Clean handoffs. Work is only released once it's committed and pushed. The next agent must merge it
before touching the file, so nobody builds on a stale version. - 🎯 Claim a function, not a file.
git coord claim src/app.ts#login. Two agents can work in one big file
at once. - 📣 Dependency alerts.
git coord uses src/api.tstells you when someone changes code you rely on. - 🧭 A shared task queue. Tasks by importance (which only you set), messages between agents, and
git coord status --watchto see everything live. - 🪶 Invisible until needed. Hooks never wait on the network, and repos that don't use git-coord pay nothing.
Works with your tools
| Tool | How | Tested |
|---|---|---|
| Claude Code | Plugin with hooks and skill | ✅ Live, team runs |
| Codex CLI | Plugin, or install --tool all |
✅ Live, refused edits (plugin and hooks) |
| GitHub Copilot CLI | Plugin, or install --tool all |
✅ Live, refused edits (plugin) |
| Gemini CLI | Extension, or install --tool all |
✅ Live, mixed team run and refused edits |
| Cursor | Native hooks and skill, from install --tool all |
✅ Live, team runs |
| Kiro | Native hooks and skill, from install --tool all |
Built to its hook docs, tested on sample payloads. Reports welcome |
| OpenCode, Amp | Small native plugin, from install --tool all |
Built to their plugin docs. Reports welcome |
| Aider, Cline, Windsurf, Zed, anything else | git coord agents-md writes the rules into AGENTS.md, and the commit guard enforces them |
The commit guard is tested |
| People | git coord status shows who's doing what, and the same guard applies to everyone |
Mix and match: in a live run, a Claude Code agent, a Cursor agent and a Gemini CLI agent shared one repo,
finished every task and never committed outside their own claims. Agents on different machines and operating
systems coordinate the same way, through the git remote you already have.
Proof, not promises
- Built and used for real. Two of us ran Claude side by side, one on a Mac and one on Windows, and shipped a
WebXR app in 12 days on an earlier version of git-coord. That was 231 commits, 70 shared tasks and 110
agent-to-agent messages, all coordinated through git. - Live-tested with different AI tools and models.
- Claude Sonnet in Claude Code: every task done, every commit inside its own claims.
- Cursor: three agents on one repo, every task done, every commit inside its own claims. The second agent
merged the first one's finished work before building on it. - Claude Code, Cursor and Gemini CLI together on one repo: the same result.
- Codex (GPT) and Gemini CLI: an edit to a held file was refused, and the agent reported who held it instead of
working around it.
- Stress-tested. 20 agents hit the same files at the same instant, five times over. There was never an
overlap, and no agent gave up. - Tested on every OS. Every change runs the full suite on macOS, Linux and Windows.
How it works
- The
coordbranch. git-coord keeps a smallcoordbranch with who holds what, who's waiting, the task
queue and messages. - Every action is one atomic commit. It's pushed without force, so if two agents race, one wins and the
other retries. No lock server, and nothing to host. - Hooks in each tool check edits before they happen and pass on notices: your turn, someone's waiting, a
dependency changed.
Your code never goes anywhere it doesn't already go: everything travels through your own git remote.
FAQ
Why not just give each agent its own worktree?Worktrees keep agents from overwriting each other's files on disk, but not from changing the same code. Two
agents in two worktrees can both rewrite auth.ts, and you only find out at merge time, when someone has to
untangle it. git-coord tells the second agent before it starts that the file is taken, so the conflict never
happens. They work well together: each worktree is its own agent.
No. git-coord uses the git remote you already push to. Nothing is sent anywhere else.
What if an agent ignores the rules?Edits through the agent's tools are checked before they happen. Files changed through the shell are reported
right away. Any commit touching files the agent doesn't hold is refused by a git hook, whatever made it.
Barely. Measured on a laptop: most tool calls add about 30 ms, an edit about 0.2 s, and a shell
command's side-effect check about 0.2 s. Hooks read a local copy and never wait on the network, except the first
edit of a file, which claims it with one push (about 1 s to GitHub). In repos without git-coord, hooks exit in
about 15 ms without starting Python.
Keep coordination somewhere else with git config coord.remote <remote>, for example a private remote. On one
machine you can use git config coord.remote local, which needs no network.
Yes. The commit guard adds one line next to your existing hooks, and that line does nothing for anyone who hasn't
set up git-coord.
Logical conflicts nobody declared. If agent A changes an API and agent B calls it from unclaimed code withoutuses, git-coord can't know. Tests and review still matter. Subagents inside one session share one folder, so
git-coord sees them as one agent.
Commands
All commandsgit coord status [--watch] who's doing what, the line, ready tasks, notices for you
git coord next the one thing to do now
git coord init <name> | init --auto join (each clone or worktree is one agent)
git coord claim <path>... [--for 40m] a file, folder, glob or file#function
git coord uses <path>... be told when code you depend on changes
git coord release [<path>...] let go (handed to whoever is next)
git coord yield [<path>...] give way to more important work, get it back after
git coord take [<id>] take the most important ready task
git coord done [<commit>] finish the task and hand everything over
git coord task add "<title>" [--priority high|normal|low]
git coord msg "@name <text>" message another agent (or @all)
git coord set <working|blocked|paused|idle>
git coord agents-md | doctor | install [--tool <name>|all] | uninstall [--tool <name>|all]
git coord doctor checks everything and tells you exactly what to fix.
Update
Update the way you installed: /plugin update git-coord@git-coord in Claude Code,codex plugin marketplace upgrade git-coord then codex plugin add git-coord@git-coord,copilot plugin update git-coord,gemini extensions update git-coord, or for the one-line install:
git -C ~/.git-coord pull
License
MIT. Built by Banit Sriram Ambati. If git-coord saves you a merge conflict,
a ⭐ helps others find it.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found