Ran AI agents
in parallel?
Is it safe to merge?
Run your agents however you want. When they're done, one command tells you if it's safe to merge — before anything touches main.
Open source, MIT licensed. No setup required — use it after your agents finish, before you merge.
Run your agents. Then run Switchman. That's it.
No setup before you start. No changes to how you work. Just run it when your agents are done and before you merge.
Run your agents however you want
Claude Code, Cursor, Codex, Aider — in separate worktrees, branches, or directories. Switchman doesn't care how you ran them or what tools you used.
Run one command when they finish
switchman review --pr-ready --all-worktrees
Switchman scans every branch, reads what each agent built, and checks for semantic overlap and interface drift.
Get a clear answer before you merge
Green, amber, or red — with a plain-English PR-ready report showing exactly what was built, what overlapped, and what needs a human eye before it touches main.
Runs without thinking about it.
Install once, forget about it. Switchman fires automatically when your agents finish — no manual step, no context switch, no forgetting.
Hook into every session end
Installs a Stop hook in your repo's .claude/settings.local.json. Every time a Claude Code session ends, Switchman runs silently in the background. Nothing else to configure.
Scan when worktrees go quiet
Polls all worktrees continuously. When activity stops for 5 seconds, a scan fires automatically. Works with any agent — no hook support required.
The report lives where review already happens.
One command drops a GitHub Actions workflow that posts the merge confidence result as a PR comment — visible to your whole team, not just you.
Switchman Merge Confidence
🟡 Amber — Review before merging. Parallel agent changes detected.
| Signal | Value |
|---|---|
| Merge confidence | amber |
| Gate status | blocked |
| AI gate | warn |
| Non-compliant worktrees | 1 |
| Stale worktrees | 0 |
Review Signals
switchman review --pr-ready --all-worktrees before merging.
The things git diff can't tell you.
Merge conflicts are the easy problem. Switchman finds the hard ones — the semantic mismatches that compile, pass tests, and break in production.
The real risk isn't merge conflicts — it's agentic drift
Parallel agents independently solve the same problem in incompatible ways. No conflict. No CI failure. Just divergence that compiles, passes, and breaks things later. Switchman detects semantic mismatches before they reach main — the thing git diff simply can't tell you.
switchman review
Plain-English summary of what each agent built, semantic overlap flags, interface mismatches, and a green / amber / red merge confidence score. Generates a PR-ready report in 30 seconds.
Four confidence states
Green, amber, red — and uncertain. When Switchman can't determine coherence it says so. A tool that admits uncertainty is one you can trust when it says green.
Semantic overlap
Finds cases where two agents solved the same problem differently — incompatible interfaces, divergent data models, duplicate logic that will collide at runtime.
switchman gate ci
Blocks merges when confidence is red. One command installs a GitHub Actions workflow. Posts the result as a PR comment visible to your whole team.
Parallel agent orchestration
For teams that want more: file locking, task queues, lease management, and conflict prevention via MCP. Agents coordinate automatically — no prompting required.
Live session dashboard
switchman status --watch — what's running, blocked, or done across all agents. The thing developers leave open on a second screen.
Use whatever agents you already use.
No changes to your workflow. Run Claude Code, Cursor, Codex, or Aider however you normally would — then run Switchman when they're done.
Ran agents in parallel?
Find out if it's safe to merge.
Open source · MIT licensed · Free forever