Air traffic control for coding agents. When several agents and people work on the same repository, ATC shows who is in flight, on which issue, touching which files. Nobody picks up work someone else is already doing, and nobody finds out at merge time that two branches rewrote the same lines.
$ atc
ATC · acme/widgets observed 14:02 UTC
9 contributors · 41 open issues · 12 open PRs · 2 agents active here · 1 duplicate attempt
Agents in flight on this machine
#212 Router drops the trailing slash working just now
#215 Parser rejects unicode working 2m ago
#219 Document router options blocked 4m ago
In flight: who is working on what
#221 Retry on 502 from the upstream @dana claimed, PR #224 @dana draft
#212 Router drops the trailing slash you claimed, PR #226 you draft
#208 Cache headers on static files @lee claimed
#187 Timeout option for fetch PR #190 @sam, PR #201 @kai
Contested files: more than one open PR changes them
src/router.js 3 open PRs: #226 you, #224 @dana, #198 @lee
Duplicate attempts
#187 Timeout option for fetch 2 PRs by different people: #190 @sam, #201 @kai
Ready to pick up
#230 Add a timeout option help wanted atc check 230
Run four agents on one backlog and two of them will pick the same "good first issue". Two more will edit src/router.js on separate branches, and the second pull request will conflict with the first. Nobody can see the others, so the work gets done twice and then untangled by hand.
ATC gives every agent, and every person, the same view of the airspace before they take off:
- Who is working on what. Claims, GitHub assignments, open pull requests that link an issue, and the agent sessions running on your machine, all on one board.
- Whether an issue is taken.
atc check 42answersfree,yours, claimed by someone else, or taken outside ATC. An agent starts only onfreeoryours. - Whether your change will collide.
atc overlaptest-merges your working tree against every open pull request and every other local worktree that touches the same files, and names the files that will conflict. - Work being done twice. The board lists issues that already have pull requests from more than one person.
Coordination needs no bot, server, GitHub Action or database; the CLI replays GitHub comments with your own gh login. Optional public check-in viewers store expiring activity separately and cannot grant claims.
| Signal | Who sees it | How it gets there |
|---|---|---|
| An ATC claim | Everyone | atc claim 42 posts a one-line /atc claim comment on the issue |
| A linked pull request | Everyone | Any open pull request, draft or not, whose description says Fixes #42 |
| A GitHub assignee | Everyone | Ordinary issue assignment |
| A local agent session | Every worktree of your clone | atc start 42, then atc pulse while it works and atc land when it stops |
| A shared agent session (experimental) | Everyone who can fetch the repository | The same commands, once the repository opts in with "presence": "git" |
Agent sessions stay in your clone unless the repository enables sharing, and expire five minutes after the last check-in.
This is experimental. It hasn't been tried on a real team yet, and the ref format or setting may change.
A team that wants every agent on the board, on every machine, adds "presence": "git" to .github/atc.json. Then atc start, atc pulse and atc land also push this clone's sessions to the repository's GitHub remote, under a ref named by a random per-clone ID, refs/atc/presence/<16 hex>. atc board fetches everyone's and shows other clones' agents as "another machine", and atc who <file> says how many of them are changing that file. There's still no server: it's a fetch and a push with --force-with-lease. These refs don't show up as branches and don't notify anyone.
Shared presence is anonymous. A shared session holds only a session number, an issue number, a state, a check-in time and salted hashes of the file paths its worktree is changing. It holds no GitHub login, name, email, file name, title or token, and its commit carries a fixed author and timestamp, so it reveals no timezone. who matches files by hashing its own path the same way. GitHub still knows which account pushed each ref, as it does for any push. Sharing needs push access, so it suits your own projects and teams. Git doesn't check who pushed a ref, so shared presence is advisory, and claims stay as /atc comments that GitHub ties to their author.
When a repository enables automatic public presence, a successful new atc claim 42 --json also starts an anonymous session and returns its numeric session.
atc start 42 --json publishes automatically too; add --github-name to either command only when you want your verified GitHub name displayed.
Use --local with start or claim to keep that session on this machine.
Without a repository policy, public presence still requires atc start 42 --public https://example.org --json.
That publishes the issue, status and last check-in anonymously; add --github-name to show your verified GitHub name.
Subsequent pulse and land commands update the same public session, so people on other machines can see the work before they duplicate it.
Starting a public session posts one typed verification comment on the issue, tied to your GitHub account, then sends check-ins directly to the selected website.
Your GitHub token stays with gh; the website receives a separate session secret and stores only its hash.
Anonymous means your name is hidden on the board; the verification comment still identifies its GitHub author.
The website reports activity and does not arbitrate claims, so contributors must still check and claim before working.
See public boards and check-ins for the protocol and TensorFold's radar for the integration.
ATC 0.9 adds a repository help queue, capability filters and expiring pickup reservations. Contributors can hand off a reviewed report to a named recipient, catch up on changes since their last acknowledgement, and see which required reviews or hardware checks still lack accepted current evidence. Every exchange operation is available through MCP. An optional A2A adapter exposes existing help-task status to other clients.
The collaboration guide covers the CLI, HTTP API, public help view, privacy controls and supported adapter scope. Public visibility is explicit opt-in; the exchange cannot transfer core claims or authorize a merge.
You need Node.js 22.16 or later, git 2.38 or later and the GitHub CLI (gh auth login). atc doctor checks all three.
Run it straight from GitHub, with nothing to install:
npx github:ashhart/ATC --repo ashhart/ATC--repo is the repository you want to look at. The example shows ATC's own board; put any owner/name there, such as your own project. Inside a clone of that project you can leave --repo off, and ATC picks the repository itself, using the upstream for a fork.
For a short atc command, install it once:
npm install -g github:ashhart/ATCThen run atc, atc check 42 and the rest from any clone. It isn't npx atc, because the atc name on npm belongs to an unrelated package.
A terminal gets the readable board. Agents and scripts get strict JSON with --json.
With ATC 0.8, atc begin 42 src/router.js tests/router.test.js --json confirms
ownership, declares planned files and starts a work ticket. Supported agent
hooks recheck that ticket before edits and pushes. Selected PR scans and
dependency guidance help larger projects inspect and sequence concurrent work;
see parallel-agent workflows for coverage and trust limits.
atc check 42
atc claim 42
atc start 42
atc who src/router.js
atc overlap
atc land 42 <session>
atc release 42- Before.
atc checktells you whether anyone is on the issue. If it's free,atc claim(or a draft pull request withFixes #42) marks it as yours. If someone holds it,atc propose 42 pair,split <areas>,reviewortakeoveroffers to help instead, and the holder answers withatc acceptoratc decline. - During.
atc startregisters the agent, andatc pulse <issue> <session> working|reviewing|blockedkeeps it visible.atc who <file>says which open pull requests and which other local worktrees also change a file. - Before the pull request.
atc overlapsnapshots your changes without touching your index and runsgit merge-treeagainst each overlapping pull request and worktree. It reportsconflicts,cleanorunknown, and lists the files. - After.
atc landends the session andatc releasefrees the issue. Claims expire after seven days without activity.
With a work ticket, run atc guard --publish --json before pushing. The guard
discovers the complete open PR set and inspects exact Git commits, including PRs
under the same account. Large scans save private clean checkpoints and advance
through up to ten new merge checks and ten missing-head fetches per call. Rerun
the same command when it reports incomplete. Continue only when ready is true.
Changed local bytes, local commits, comparison bases or PR heads invalidate the
corresponding checkpoints. Unknown heads, partial discovery and real conflicts
still block publication. Selected overlap --pulls results do not waive the guard.
The Claude Code plugin puts ATC into the agent's own loop, so nobody has to remember to run it:
- At session start, the agent learns what is in flight on the repository.
- After every file edit, it is told if another open pull request or another local worktree changes the same file.
- Before
gh pr create, ATC runs the conflict check and blocks a pull request that would conflict.
claude plugin marketplace add ashhart/ATCclaude plugin install atc@atc-githubatc-mcp is a local MCP server with the same commands as tools, for Cursor, Codex and any other MCP client. atc init writes an AGENTS.md pointer for Codex and a .cursor/rules/atc.mdc rule for Cursor. See using ATC from agents.
atc-exchange gives contributor and maintainer agents a shared PR inbox for
requests and results tied to exact commits. Explicitly uploaded logs and reports
expire outside git; the request history, result digests and acknowledgements
remain available for export. Fork contributors need comment access, not push
access. Each participant posts one typed authentication comment; the exchange
does not add a comment for each request or response.
This companion needs a separately operated storage service and a committed repository opt-in. It never arbitrates claims or grants GitHub approval, and ordinary ATC use still needs no server. See setup and the complete workflow.
Anyone can read any repository's board. ATC only posts claims to a repository whose maintainers opted in by committing .github/atc.json. atc init adds that file, the agent skill, an AGENTS.md pointer, a CONTRIBUTING section telling agents what to run, and the Cursor rule. Elsewhere, write commands return notEnabled and post nothing.
The config can also split the code into numbered areas, so two agents can share one issue: one takes area 1, the other area 2. See configuration.
- Each run is a snapshot.
complete: falsemeans some reads stopped short, so an empty list means "unknown", not "clear". Run it again before acting. - Someone can win the race between
checkandclaim, and ATC can't stop anyone from opening a duplicate pull request. It makes the duplicate visible. - A clean
merge-treeresult means git found no textual conflict. The changes can still break each other. - Without
"presence": "git", live agent sessions are visible only within one clone, and other machines show up through claims and pull requests. With it, sessions are only as fresh as the lastpulse, and only people with push access can share. - Issue, pull request and comment text is untrusted. The readable board strips control characters and escape sequences before printing it, and the JSON output carries no free text at all.
npm run demoFour scripted agents work the same backlog twice. Without ATC, two of them fix the same issue and another edits a file that someone else changed: 2 of 4 pull requests merge. With ATC, each agent checks and claims first, one agent's conflict is caught before it opens a pull request, and all 4 merge. See the demo.
npm run site serves a local, read-only flight board at http://127.0.0.1:4318.
npm run checkThe check runs the style rules and the tests: hostile input, exact output schemas, deterministic replay, real git merges, the MCP server and the plugin hooks. CI runs it on Linux, macOS and Windows with Node.js 22.16 and 24.
