questions about agentmash
short answers, each with a way to read more
the basics
what is agentmash?
agentmash is one app for your team’s AI coding agents: Claude Code, Codex, Cursor and more on your own logins, each told which files a teammate’s agent is changing. each edit their agents report goes to one room for the repository, so each agent knows which files teammates’ agents are working in, on which branch, and before it edits one of them it’s told who changed it, when, and what they changed. an agent can claim files before it starts, and if two developers’ agents still change the same file, Claude Code, Codex and GitHub Copilot tell the person as the session finishes, before either change lands, and the person decides what happens to the two.
is there an app?
yes, and it’s where to start: agentmash lobby, the desktop app for macOS and Windows. it runs 8 coding agents side by side, each on your own login, with your team’s sessions beside yours, and it comes with every plan. if you live in a terminal, npx agentmash login connects 20 agents on your machine instead, and they report to the same room.
is it one word?
yes: agentmash is one word. the README and the npm package also write it AgentMash. it’s the same thing, at agentmash.dev.
can we use it now?
yes. agentmash is open to new teams: someone who can push to your repository connects it at agentmash.dev/install, and each developer runs npx agentmash login once on their machine. agentmash.dev/setup has the steps for each coding agent.
how it behaves
does it lock files?
no, nothing is ever locked. in Claude Code, Codex and GitHub Copilot the advisory before an edit is a note the agent reads, and the edit goes ahead. Cursor, and the agents whose hooks can’t add a note (Amp, Crush, Factory Droid, Gemini CLI, goose, Kilo Code, Kiro, OpenCode, OpenHands and Qwen Code), get it as a refusal of the first edit, with the advisory as the reason, once per session and file every ten minutes (in Cursor, once per conversation and file), and the same edit again goes through. a claim is advisory too, never a lock: on a branch of its own it stands until that branch merges, a week at most; on the default branch it expires on its own (two hours by default, eight at most), ends with the session that made it, and can be released early. in Cursor and Zed, where no agentmash hooks look at branches, a claim on a branch lasts like that too. a team that wants a block sets AGENTMASH_STRICT=1, and then an edit into a teammate’s change is canceled until the agent acknowledges it with a reason.
claimsstrict modehow to prevent merge conflicts between AI agents
how much does it slow an edit?
the check before an edit is the one network call an edit waits on; reporting the edit afterwards runs in the background. measured from a fresh process, as every hook is, one check costs about 160 ms against a server on your own machine, 323 ms against one in your region and 454 ms across the atlantic. the default budget is 1500 ms, and an edit whose check runs past it goes ahead unwarned.
how is it different from git worktrees?
a worktree gives an agent its own checkout on its own branch, so two agents never write into the same files on disk. it doesn’t tell one agent what another is changing: two branches that change the same file conflict only when they’re merged, and nothing tells your agent about a teammate’s worktree on another laptop. agentmash tells your agent what your teammates’ agents are changing, on any branch and any machine, before it edits. by default it doesn’t warn your own agents about each other: keeping them apart is the worktree’s job, so use both.
git worktrees and agentmashmultiple claude code instances on one repoclaude code agent teams and agentmash
what if the server is down or slow?
your agents keep working. every hook caps its network call with a hard timeout and exits 0 on any failure, so a broken server can’t block anyone’s coding or anyone’s git commit. the check before an edit waits 1500 ms at most by default. the MCP tools don’t go quiet, because quiet would read as “nobody is working on anything”: they say the server is unreachable and the answer is unknown.
which languages does conflict detection read?
every language, by path: two edits to the same file are matched whatever it’s written in. matching by symbol, where a change to an exported function reaches every file that imports it, reads the JavaScript and TypeScript family only (.ts .tsx .mts .cts .js .jsx .mjs .cjs). Python, Go and Rust files are matched by path alone.
what counts as a conflictsemantic merge conflicts, with agent examples
your code
does the server see my code?
no, unless your room turns diffs on. the room gets file paths, branch names, the shape of each change (its line counts and the names it touches) and the first 500 characters of a prompt, with an opaque id of the checkout each edit came from, which names neither the machine nor the folder. with diffs on, the changed text is held in memory and never written to our database, and AGENTMASH_DIFFS=0 keeps yours on your machine whatever the room says. AGENTMASH_HINTS=0 keeps your prompts there too, except what a lobby session you share is on. with observing on, which it isn’t unless you turn it on, what your agent’s tool calls hold goes to a model under your own Claude account, and never to us; an observation a room that shares is sent is sentences that model wrote, which may quote a little of what it was shown.
can we run our own server?
yes, on the enterprise plan. self-hosting runs our private docker image on one machine on your network, and your repositories point at it. ask at hello@agentmash.dev and we send you a read-only login to pull the image with. on your own server, prompt excerpts never leave your network.
tools and setup
which tools does it work with?
it depends on what each tool lets a hook see. npx agentmash login connects each one it finds on your machine, in its own settings, and a tool of your own can use the public API:
what each one shows
- Claude Code: every edit and the advisory before it. claims and the MCP tools come with a repository set up by
npx agentmash init, which registers the MCP server. - Codex: every edit, the advisory before it, claims and the MCP tools, once you approve its hooks in
/hooks. - Cursor: its edits and prompts, live, and the MCP tools. the advisory before an edit comes as a refusal of the first edit, with the reason; the retry goes through. the
cursor-agentCLI runs the same hooks. - GitHub Copilot: every edit, the advisory before it, its prompts and the MCP tools, in VS Code and its CLI.
- Devin: its edits, through the Claude Code hooks it runs.
- Amp: its edits, the files its shell commands change and its prompts, and the MCP tools. the advisory before an edit comes as a refusal of the first edit, with the reason; with Amp's old permission rules on, it only reports.
- Antigravity: when you ask for it, with
npx agentmash tools add antigravity: its edits, the files its shell commands change and its prompts, and a heads-up at the start of each turn rather than before an edit. - Cline: its edits and the MCP tools, in VS Code and its CLI, and its prompts in VS Code. the advisory comes just after the edit, not before.
- Crush: its edits, once the file changes, and the MCP tools. the advisory before an edit comes as a refusal of the first edit, with the reason; its prompts and shell commands aren't seen.
- Factory Droid: its edits, prompts and the MCP tools. the advisory before an edit comes as a refusal of the first edit, with the reason.
- Gemini CLI: its edits, prompts and the MCP tools, in folders it trusts. the advisory before an edit comes as a refusal of the first edit, with the reason.
- goose: its edits and prompts, live, and the MCP tools. the advisory before an edit comes as a refusal of the first edit, with the reason.
- Junie: its edits, a step after they happen, its prompts in its terminal UI, and the MCP tools.
- Kilo Code: its edits, prompts and the MCP tools, in its CLI, VS Code and JetBrains. the advisory before an edit comes as a refusal of the first edit, with the reason.
- Kiro: its edits, prompts and the MCP tools, in the Kiro IDE and kiro-cli on its V3 engine. the advisory before an edit comes as a refusal of the first edit, with the reason.
- OpenCode: its edits, prompts and the MCP tools. the advisory before an edit comes as a refusal of the first edit, with the reason.
- OpenHands: its edits, prompts and the MCP tools, in its CLI and Agent Canvas. the advisory before an edit comes as a refusal of the first edit, with the reason.
- Qwen Code: its edits, the files its shell commands change, its prompts and the MCP tools. the advisory before an edit comes as a refusal of the first edit, with the reason.
- Continue: the MCP tools only: it runs no hooks, so its edits don't show in the room.
- Zed: the MCP tools only: its agent has no hooks, so its edits don't show in the room.
- everyone else, on aider, vim or any editor: a git post-commit client reports what landed in a commit, not what’s in progress, in a repository set up with
npx agentmash init.
every coding agent the login connects has been tested with agentmash: Claude Code, Codex, Cursor, GitHub Copilot, Devin, Amp, Antigravity, Cline, Crush, Factory Droid, Gemini CLI, goose, Junie, Kilo Code, Kiro, OpenCode, OpenHands, Qwen Code, Continue and Zed.
every agent's setupclaude code and cursor on one teamcodex and claude code on one teamthe github copilot app and agentmashother agent tools
how do teammates set it up?
someone who can push to the repository connects it once, at agentmash.dev/install. then each developer gets the app and signs in with GitHub. in a terminal instead, each developer runs npx agentmash login once (Node.js 18.12 or newer), signs in with GitHub in the browser it opens, and restarts their coding agent: the login connects every one it finds, and Codex also asks for agentmash’s hooks to be approved in /hooks. nothing is committed to the repository, and npx agentmash logout takes it all back out.
we use gitlab or bitbucket. does it work?
yes, with a room committed to the repository. signing in is GitHub only today: the app, npx agentmash login and connecting a repository at agentmash.dev/install go by who can push to a GitHub repository. in a repository on GitLab, Bitbucket or any other host, run npx agentmash init and commit what it writes, and each teammate’s Claude Code joins the room with their next git pull: the advisory before an edit, and claims and the MCP tools once they approve its MCP server. npx agentmash git-hook install adds the git post-commit client on each machine, and a teammate who also signs in with npx agentmash login gets Codex, Cursor and their other agents reporting there too. with no GitHub remote, the key in that commit is all it takes to open the room, so anyone who can read the repository can read the room and write to it: keep it to a private one. until someone adds it, the room is on a plan of its own: to put it on yours, sign in with GitHub at agentmash.dev/rooms and paste that key, the room id in .claude/agentmash/config.json. it’s on the plan of the first account that adds it. GitLab sign-in is planned if teams ask for it, so tell us at hello@agentmash.dev.
the crew
what is the crew?
22 ready-made Claude Code agents, one for each job: a planner, a backend engineer, a tester, a reviewer and more, handing work to each other, with mash conducting every team. one command adds the ones you pick to your repository as a named team. a team is files in your repository, and it doesn’t need the coordination server at all.




