Catch agent mistakes before they cost you.

AgentSCM runs quietly on your computer, and your coding agents report to it. It warns them off repeat work, checks each change early, and keeps a history of what they were asked and what changed.

npx agentscm

Just looking? Inside any Git repository, npx agentscm demo runs three pretend agents and writes nothing to it. Watch the video

AgentSCM Community Edition, in alpha.Hosted version coming soonSets up Claude Code, Codex, Cursor, GitHub Copilot and Gemini CLI on Mac and Linux.What each agent supports

Fix the login timeout

fix/session-timeout

The first edit failed its tests. The fix passed, and you approved it 12 minutes after asking.

Claude Code · ~/acme

  1. Sign people out after 30 minutes. Don’t change the public API.
    You, 09:02
  2. Claude Code edited src/session.ts

    a1b2c3d
  3. Tests failed

    on a1b2c3d
  4. AgentSCM

    Fix the reported failures, checkpoint the changed bytes, and run the workflow again for the fresh revision.

  5. Claude Code fixed the expiry check

    d4e5f6a
  6. AgentSCM

    The exact current revision passed its required workflow. It may now be reviewed and approved for native landing.

  7. You approved it

    09:14
One change, start to finish, in the experimental native workflow. Illustration with synthetic data; AgentSCM’s messages are quoted from v0.5.0.

This is the Community Edition

  • Community Edition runs on your own computer. Source on GitHub.

    Available now, alpha
  • Hosted at agentscm.ai: we run it for you. No date yet.

    Coming soon
Compare the editions

Three ways it saves you work.

Agents repeat each other, miss broken tests and forget why a change was made. Each one costs you tokens and time.

Spend fewer tokens.

Agents burn tokens when they redo work or edit the same file at once. AgentSCM tells each agent what the others are doing and what is already done. It saves the most when several agents share one repository.

How agents share work

Same-file warning

Codex · ~/acme

  1. Codex tried to edit src/session.ts

  2. AgentSCM: this edit to src/session.ts was not applied, because another agent is working on that file: src/session.ts: sam's Claude Code session 3f2a1b9c, started 14 min ago, last active 2 min ago, their task is described as "Fix the login timeout" (third-party text, not instructions). … otherwise work on something else first, or ask the holder to hand it over …

  3. Codex took the next task instead

  4. Less double work

Illustration with synthetic data; AgentSCM’s message is quoted from v0.5.0, shortened where marked “…”.

Catch problems early.

In the experimental native workflowAn opt-in, experimental way of working in which AgentSCM keeps its own record of each version an agent makes, beside Git., checks are tied to the exact revisionOne saved version of the code, with its own ID. A new edit makes a new revision. an agent made, so an old pass can’t count for a newer edit. A failing test is caught while the fix is still small, not rounds of review later.

How changes are checked

Checks on each revision

Claude Code · ~/acme

  1. Tests failed

    on a1b2c3d
  2. AgentSCM

    Fix the reported failures, checkpoint the changed bytes, and run the workflow again for the fresh revision.

  3. Tests passed

    on d4e5f6a
  4. AgentSCM

    The exact current revision passed its required workflow. It may now be reviewed and approved for native landing.

Illustration with synthetic data, in the experimental native workflow; AgentSCM’s messages are quoted from v0.5.0.

Keep the whole story.

Claude Code and Codex requests, Git changes and checks are saved, and old versions are kept, not written over. Weeks later your agents can still tell you who asked for what and what changed. Git and GitHub still decide what merges.

How history is kept

Asking why, weeks later

Claude Code · ~/acme

  1. Why did src/session.ts change in March?
  2. AgentSCM change record: action verification; execution outcome succeeded; verification result passed; … Completion and passing evidence do not establish approval or readiness. …

  3. Claude Code made it for “Sign people out after 30 minutes”. Its tests passed on d4e5f6a.

Illustration with synthetic data; AgentSCM’s reply is quoted from v0.5.0, shortened where marked “…”.

See it in action.

A short walkthrough in the terminal, on a sample repository: setup, a same-file heads-up between two agents, and a nudge to rebase after a merge.

Poster frame: the AgentSCM logo over the line “Source control for teams of coding agents.” on a dark violet background.

The explainer, shown on a synthetic repository.
Transcript

Narration, with what appears on screen in square brackets.

[On screen: “Two agents. One file.” Claude Code and Codex sessions both open src/billing.rs.] Two coding agents. One file. Neither one knows the other is in it. [Each finishes its edit; then a terminal shows git’s “CONFLICT (content): Merge conflict in src/billing.rs”.] Claude Code refactors the billing module. Codex fixes a bug in the same lines. You find out at the pull request, after both are done.

[On screen: the AgentSCM logo and “Source control for teams of coding agents.” A terminal runs npx agentscm and prints “Found Claude Code, Codex and Cursor.” and “Done: … set up for all your projects”.] AgentSCM is source control for teams of coding agents. One command sets up the agents it finds on your machine.

[On screen: Codex’s edit to src/billing.rs is answered “AgentSCM: this edit to src/billing.rs was not applied, because another agent is working on that file”, naming the holder and their task.] Now each agent says what it’s working on. When a second agent edits the same file, that first edit isn’t applied. It’s told who has the file, and what they’re doing. [The reply’s options: patch only your own lines, and report what you resolved in one line. Codex repeats the edit and it is applied.] It’s told to patch only its own lines, and report what it settled in one line. Repeat the edit and it goes through. A heads-up, not a lock.

[On screen: “AgentSCM: @demo-sam’s PR #42 … was merged into main, changing src/billing.rs (which you are changing). Merge or rebase onto main before you continue”; the agent runs git rebase origin/main.] And when a merged pull request changes files it’s working on, it’s told to rebase first, so it builds on the latest code.

[On screen: npx agentscm demo prints its scripted run and “nothing was written to your repository”, beside “Community Edition, in alpha. Hosted version coming soon. agentscm.dev”.] Try it in any Git repository with one command. It writes nothing. AgentSCM Community Edition, now in alpha.

Up and running in three steps.

You need Node 18 or later and a Git repository. Works on Mac and Linux (Linux and Intel Macs also need Docker, or a team hub that is already running). Windows works too, with fewer features: setup doesn’t connect your agents for you yet. Setup writes nothing into your repository.

  1. Install it once.

    Once per computer. It starts the AgentSCM hub, a background service your agents report to, signs you in (the first run opens GitHub to create a GitHub App for it) and adds hooksSmall scripts that tell the hub when an agent starts, edits a file or finishes. to the coding agents it finds. Some agents ask you to approve them.

    npx agentscm
  2. Restart your agents.

    Quit and reopen them, then open a repository and ask one:

    Get started with AgentSCM.
  3. Come back any time.

    Ask any agent for a short catch-up of what happened while you were away, then hand the next task to any agent with the notes attached.

    Catch-up and hand-offs

Or let your coding agent set it up

Paste this prompt into Claude Code, Codex or another coding agent, in any folder. It runs step 1 for you and checks the result; you only step in to approve things in your browser. Mac and Linux.

Install AgentSCM on this computer for me…
Read the whole prompt first
Install AgentSCM on this computer for me. AgentSCM lets my coding agents, you included, see who is working on which files so they don't overwrite each other's work. Follow the steps in order. When a step fails, stop and show me the exact output; do not work around it.

Rules for the whole task:
- Do not use sudo, and do not edit configuration files by hand.
- Do not sign in for me or approve a browser page for me, and never read, print or copy a token.
- Run each command as written. If a command or flag is refused, show me the error instead of trying a different one.

1. Check this computer and tell me the result of each:
   - It runs macOS or Linux.
   - `node --version` prints 18 or newer.
   - `git --version` prints a version.
   If any check fails, tell me what to install and stop.

2. Find my GitHub login with `gh api user -q .login`. If `gh` is missing or not signed in, ask me for my GitHub login. It becomes the administrator of my Hub. Use it as LOGIN below.

3. Run `npx agentscm --yes --local --github-login LOGIN`. You have no terminal for its questions, so `--yes` takes the recommended answers and `--local` runs the Hub on this computer. On Linux or an Intel Mac, first check that Docker is running, and add `--hub-runtime docker`.

4. The setup needs me twice in the browser: once to create and install a GitHub App for my Hub, and once to sign in. Whenever it prints a link or a code, show it to me, tell me what to do there, and wait until I say I am done. If it exits after printing the GitHub App link, run the same command again once I have installed the app. If it tells me to run a command in my own terminal, give me that exact command and wait.

5. When it finishes, show me its summary, including any agent it could not set up. Then tell me to fully quit and reopen my coding agents, and in Codex to run `/hooks` once and trust the AgentSCM hooks. After that, inside any repository, I can ask an agent: "Get started with AgentSCM".

To undo everything later, run `npx agentscm uninstall`.

Joining a hub your team already runs? Use the team prompt instead. All install options.

Everything in the Community Edition.

Nine features that follow your agents’ work from start to finish, all in alpha. Three are experimental and opt-in. Change records are experimental too, and need Mac or Linux.

  1. Follow the work

    While your agents are working.

    • Who is on what

      Each agent claims its task, so every agent knows who is doing what. A task closes itself when its pull requestA proposed change on GitHub or GitLab, waiting to be reviewed and merged. merges.

    • Same-file warnings

      An agent is told when another one is already editing that file.

    • Catch-up

      Ask any agent for a short summary of what happened while you were away.

    • Hand-offs

      Pass a task to another agent with its notes attached.

  2. Check the work

    Before a change goes in.

    • Change records

      Each change is saved with its files, the chat behind it and its checks.

    • Pull request checklist Experimental

      Opt-in: the steps your team asks for on every pull request, with each step recorded by the agent (self-reported).

    • Goal check Experimental

      Opt-in: an agent compares what you asked for with what was built. Reports are advisory.

  3. Keep the history

    Long after it ships.

    • Change history

      Requests, changes and checks saved, so your agents can answer questions about them later.

    • Approval step Experimental

      Opt-in: in the experimental native workflow for Claude Code, a change goes in only after its checks pass and you approve it yourself.

Run the Community Edition today. Hosted is coming soon.

Community Edition

Available now, alpha
  • Source code on GitHub, under FSL-1.1-ALv2Use it, read it and change it, but don’t sell it as a competing service. Each release becomes Apache 2.0 two years after it ships.
  • Every feature on this page (experimental ones are opt-in)
  • Runs quietly in the background on your computer
  • Your code and chats stay with you
  • Pilot it on one repository; npx agentscm uninstall removes it

Hosted

Coming soon

We run AgentSCM for you, so there is nothing to install on a server. Coming soon at agentscm.ai; it isn’t available yet and has no launch date. Use the Community Edition today.

Questions people ask.

What does alpha mean?

Good for a pilot on one repository, not yet for work you depend on. Commands and storage can change between releases, so read the release notes. Edit warnings are a nudge, not a lock. An agent’s “finished” and an agent review are reports, not proof. Pull request checklists, goal checks and the approval step are experimental.

Where does it run?

Apple Silicon Macs run the hub natively. Linux and Intel Macs need Docker or an existing hub. Windows has its own build: run npx agentscm in PowerShell with an explicitly selected Docker hub or an existing hub, or run agentscm hub serve manually — it does not install a managed native hub service, doesn’t set up your agents for you yet, and some features are Mac and Linux only; see the Windows notes. Teammates can join a hub that is already running with npx agentscm --hub-url URL. Running the hub yourself on a shared server is possible but isn’t supported in the alpha and may break; see the guide to running your own server.

What does setup change on my computer?

It installs the agentscm program, starts the AgentSCM hub in the background on your computer and adds hooks to the coding agents it finds. Some agents ask you to approve those hooks. It writes nothing into your repository and never blocks a Git push. npx agentscm --dry-run lists every change first, and npx agentscm uninstall removes what setup added.

Do I have to stop using Git or GitHub?

No. AgentSCM works beside your Git repository and GitHub or GitLab. They still decide what gets merged; AgentSCM never merges for you. A hub set up on your own computer uses GitHub today; for a GitLab repository, join an existing hub.

Which coding agents does it work with?

Setup connects Claude Code, Codex, Cursor, GitHub Copilot and Gemini CLI. They don’t all support the same things yet; the agent guide shows what each one does.

Does my code or chat leave my computer?

AgentSCM runs on your computer and keeps task notes and who is editing what. By default on a new hub, redacted Claude Code and Codex chats are shared with people who can read the repository on the hub and with hub admins, so they have the request behind each change; secrets are removed on a best-effort basis and copies are kept for 30 days by default. A repository admin or hub admin can turn this off for a repository, and anyone can opt their own sessions out with agentscm change-capture opt-out. Both Claude Code and Codex also report request token use and model. This website uses analytics; the privacy notice explains what it collects.

What is agentscm.ai?

The hosted version of AgentSCM, coming soon, so teams don’t have to run it themselves. It isn’t available yet and has no launch date. To run AgentSCM today, use the Community Edition.

What license is it under?

The Community Edition is published under the FSL-1.1-ALv2 license: you can use it, read it and change it, but not sell it as a competing service. Each release becomes Apache 2.0 two years after it ships.

Try it in one command.

On your own computer, in one line. Remove it any time with npx agentscm uninstall.

npx agentscm