> Switchyard: the page at https://switchyard.so/compare/mergify as markdown. Every page is listed at https://switchyard.so/llms.txt

Compare

# Switchyard and Mergify

Mergify is a merge queue for pull requests on GitHub, and it says its queues have been in production since 2018. Switchyard is new, and starts earlier in the work: with each agent's task, before a pull request exists. This page says what each does, when Mergify is the better choice, and when Switchyard is.

Checked on 24 November 2026. Every claim about Mergify links Mergify's own documentation, pricing page or about page.

## Mergify

A hosted platform for teams merging code on GitHub. Pull requests go through a queue that tests each one against the latest main before it merges, with parallel checks and batches to keep the queue moving. [Mergify: merge queue](https://docs.mergify.com/merge-queue/) and [Mergify: when to use Mergify](https://docs.mergify.com/llms.txt).

## Switchyard

It gives each coding agent its own task, warns two tasks when their work overlaps while they are still working, tests submitted tasks together in a merge queue, and merges them on main when the checks pass and the rules allow. [Introduction](/docs/introduction).

## What the two have in common

- Both test queued changes on top of the latest main and the changes ahead of them.
- Both can test several changes in one run, and both find the change that broke a failed batch and take only that one out.
- Both have a way to put urgent work ahead, and both handle changes stacked on each other.
- Both work on GitHub through a GitHub App installed on the repository.
- Both can be driven by a coding agent: Mergify through its CLI and agent skills, Switchyard through the yard CLI, MCP and the REST API.

## Side by side

| What | Mergify | Switchyard |
|---|---|---|
| Code hosts | GitHub only. Its documentation says that it does not host code and does not support GitLab, Bitbucket or any code host other than GitHub. [Mergify: when to use Mergify](https://docs.mergify.com/llms.txt). | A GitHub repository, or a repository hosted by Switchyard. A repository on GitLab, Bitbucket or another Git host can be imported once and then lives in Switchyard. [Import, move off GitHub and export](/docs/ways-in-and-out). |
| Where it starts | At a pull request. It is added to the queue by a command, a checkbox or a rule, once it meets the queue's conditions, such as passing checks and approved reviews. [Mergify: pull request lifecycle](https://docs.mergify.com/merge-queue/lifecycle/). | Before a pull request exists. An agent starts a task and writes a plan of the paths, symbols and interfaces it expects to change. A pull request is optional: one with the label `switchyard` goes through the merge queue like a task. [Pull requests in the merge queue](/docs/pull-requests). |
| When two changes overlap | Batches are filled with pull requests that touch the same scopes, or the same directories without scopes. A pull request that conflicts with one ahead of it in the queue is held until that one merges or leaves. [Mergify: batches](https://docs.mergify.com/merge-queue/batches/) and [Mergify: pull request lifecycle](https://docs.mergify.com/merge-queue/lifecycle/). | Both tasks are told while they work, from their plans and from pushed code. Warnings about symbols and dependencies cover six languages; other files get warnings about overlapping lines. Each warning has one suggestion. [Tradeoffs](/docs/tradeoffs#code-aware-warnings-cover-six-languages). |
| What one run tests | One pull request unless you set a batch size: the default is 1. A batch can be a fixed size from 1 to 128, or a size between a minimum and a maximum that grows as the queue backs up. [Mergify: batches](https://docs.mergify.com/merge-queue/batches/). | A batch: main plus up to 32 submitted tasks, in order, as one test build. Switchyard chooses the number from how recent batches went and how many tasks wait. [Limits](/docs/limits#checks-and-the-merge-queue). |
| Runs at the same time | Parallel checks: speculative CI runs on several queued pull requests or batches at once, each on top of the ones ahead of it, as many as the `max_parallel_checks` setting allows. [Mergify: performance](https://docs.mergify.com/merge-queue/performance/). | One batch at a time on a project that follows a GitHub repository. Up to 20 batches, 16 unless you set it, only on a project hosted by Switchyard, made since 19 November 2026, with its checks on Switchyard's machines. [Write rules and checks](/docs/rules#share-the-merge-queue-fairly). |
| When a batch fails | Mergify splits the batch to find the pull request that broke it, removes that one, and merges the others. With its test plugin, Fail First starts each part with the tests that failed, so a part that holds the culprit costs a few tests. [Mergify: when a batch fails](https://docs.mergify.com/merge-queue/batches/failures/). | A failed check runs once more before any task is blamed. If it fails again, the merge queue finds the task that caused the failure and sends back that task only, with the reason; the other tasks stay in the merge queue. The extra runs are billed. [How a task reaches main](/docs/task-lifecycle#what-sent-back-means). |
| Flaky tests | An option lets a batch that passes also merge the batches it was tested on top of. Test Engine catches flaky tests on pull requests and lets you quarantine a test, so that it keeps running but its failures no longer block merges. [Mergify: when a batch fails](https://docs.mergify.com/merge-queue/batches/failures/) and [Mergify: Test Engine](https://docs.mergify.com/test-engine/). | The one more run before any task is blamed. A check that failed and then passed on the same tree is counted as a flaky check caught, in the project's value. Switchyard has no quarantine. [Concepts](/docs/concepts#value). |
| Monorepos | Scopes name the areas of the codebase a pull request touches. In parallel mode, pull requests that touch different scopes are tested and merged at the same time. Scopes can come from file patterns, Nx, Bazel, Pants or Turborepo. [Mergify: queue modes](https://docs.mergify.com/merge-queue/queue-modes/) and [Mergify: scopes](https://docs.mergify.com/configuration/scopes/). | Merge trains test and land tasks that touch nothing in common apart, so one does not wait for another. They are a project setting that is off by default. [Concepts](/docs/concepts#merge-queue). |
| Conflicts | A pull request that conflicts with the base branch is removed from the queue. Conflict Resolution, in Preview and available on request, merges the conflicts that have a mechanical answer, such as lockfiles and changelogs; a real conflict still goes to a person. [Mergify: pull request lifecycle](https://docs.mergify.com/merge-queue/lifecycle/) and [Mergify: conflict resolution](https://docs.mergify.com/merge-queue/conflict-resolution/). | Five steps try to fix the conflict, in order: Git merge, file rules, code rules, an AI suggestion unless the organization turned AI fixes off, then a person. A fix the file rules wrote, or a suggestion an agent accepted, waits for a person's approval unless the project lets fixes merge without one. A task whose conflict stays is sent back. [Fix a conflict](/docs/conflicts). |
| Where checks run | On your own CI. By default Mergify opens a draft pull request for each batch, and any CI that builds pull requests runs on it. [Mergify: run CI on a batch](https://docs.mergify.com/merge-queue/batches/ci/). | On Switchyard's machines: a new machine for each check, with no secrets, billed per second, minimum one minute per job. Or on your own GitHub Actions, which Switchyard waits for. A pass on exactly the same code is reused, not run again. [Write rules and checks](/docs/rules#step-2-add-a-check). |
| Your code | Mergify says that it does not store your repository contents: for a Git operation it clones the repository into a temporary working directory and deletes that directory when the operation finishes. [Mergify: security](https://docs.mergify.com/security/). | Switchyard keeps a copy of the repository in its own Git store, one for each project, because tasks, tests and merges run on it. [Security and trust](/docs/security#where-things-live). |
| Price | Free for open source projects and for private teams of up to 5. Max is $21 per seat a month, with a free 14-day trial and no credit card. Enterprise is priced on request. [Mergify: pricing](https://mergify.com/pricing). | From $20 a month on Launch: each month you pay the larger of the plan's minimum and your usage. Every plan has a minimum. The first week is $1, and the card is taken before work starts. Agents, tasks, merges and people are not metered. [Pricing](/pricing). |
| Record | Mergify's about page says its queues have been in production since 2018, and its pricing page names customers. [Mergify: about](https://mergify.com/about) and [Mergify: pricing](https://mergify.com/pricing). | The service is new: sign-up opened on 20 November 2026. [Terms](/terms). |

## Choose Mergify when

- Your work is pull requests on GitHub, and the merge is the only step you want to change.
- You want a mature product: Mergify says its queues have been in production since 2018. Switchyard is new.
- You want to start free. Mergify is free for open source projects and for private teams of up to 5, and its paid plan has a trial with no credit card. Switchyard takes a card first.
- You have a monorepo and want scopes from Nx, Bazel, Pants or Turborepo to decide what is tested together.
- You want many speculative runs at once on your own CI. On a project that follows a GitHub repository, Switchyard tests one batch at a time.
- You do not want another copy of your code: Mergify says it does not store your repository contents.
- You want flaky tests caught and quarantined. Switchyard runs a failed check once more and has no quarantine.

## Choose Switchyard when

- Several agents work on one repository and collide before any pull request exists. Tasks, plans and warnings are for that stage.
- You want the merge queue to run the checks itself, on machines billed by the second, and to reuse a pass on the same code.
- A conflicted change should go through fixing steps, with an AI suggestion unless you turn it off, before it goes back to its agent or to a person.
- You want to pay for what runs and not for each seat: agents, tasks, merges and people are not metered.
- You want a repository that Switchyard hosts, with no GitHub behind it, or work that goes on while GitHub does not answer.
- Your agents should do the work themselves, through plain Git, the yard CLI, MCP or the REST API.

## Why we built it this way

Switchyard was built for one case: several coding agents changing one repository at the same time. Each choice below follows from that case, and each has a cost that this page names.

### One build for a batch

Agents submit many small changes close together, so the merge queue tests main plus up to 32 submitted tasks as one build. When the build passes, one run of the checks has covered all of them. When it fails, the failed check runs once more, the task that broke the batch is found and sent back, and those extra runs are billed. A batch saves check time only while most batches pass. The [limits](/docs/limits#checks-and-the-merge-queue) page has the numbers.

### Warnings before a pull request

Two agents can start on the same function minutes apart. If the first check comes at the merge, both have already done the work. So each task says what it will touch in a plan, Switchyard merges main with every active task again as tasks push, and both tasks hear about an overlap while they are still working, each with one suggestion. [Concepts](/docs/concepts#warning) defines a plan, a warning and the merge preview.

### Checks on our machines

A test build is a commit the merge queue makes, main plus the batch, so the queue needs somewhere to run the checks on it. Switchyard can run them itself: each check on a new machine, with the test build checked out and no credential from Switchyard, billed for the time its command runs. Because it keeps each result by the content of the tree, a tree that already passed is not run again. A check can wait for your own GitHub Actions instead, and then you pay your CI provider and not Switchyard. [Write rules and checks](/docs/rules#use-tests-on-github-actions) has both ways.

### Its own Git store

Every task is its own copy of the repository, and a push's commits are stored before Git is told that the push succeeded. Switchyard keeps them in a Git store of its own, one for each project, so tasks keep pushing, planning and being tested while GitHub does not answer; merges on a followed repository wait until it does. The cost is a second copy of your code with a new company. On a project that follows a GitHub repository, GitHub still holds main. The [architecture](/docs/architecture#your-code) page says how it is kept.

## Sources

Checked on 24 November 2026. Products change: if a line here is out of date, [tell us](/contact). We have not measured Switchyard against Mergify, so this page makes no claim about which is faster.

- [Mergify Docs: merge queue](https://docs.mergify.com/merge-queue/), [batches](https://docs.mergify.com/merge-queue/batches/), [when a batch fails](https://docs.mergify.com/merge-queue/batches/failures/), [run CI on a batch](https://docs.mergify.com/merge-queue/batches/ci/), [performance](https://docs.mergify.com/merge-queue/performance/), [queue modes](https://docs.mergify.com/merge-queue/queue-modes/), [pull request lifecycle](https://docs.mergify.com/merge-queue/lifecycle/), [priorities](https://docs.mergify.com/merge-queue/priority/), [stacked pull requests](https://docs.mergify.com/merge-queue/stacks/) and [conflict resolution](https://docs.mergify.com/merge-queue/conflict-resolution/)
- [Mergify Docs: scopes](https://docs.mergify.com/configuration/scopes/), [Test Engine](https://docs.mergify.com/test-engine/), [security](https://docs.mergify.com/security/), [setting up a merge queue](https://docs.mergify.com/merge-queue/setup/), [agent skills](https://docs.mergify.com/cli/agents/) and [the documentation's index for agents](https://docs.mergify.com/llms.txt)
- [Mergify: pricing](https://mergify.com/pricing) and [Mergify: about](https://mergify.com/about)
- [Switchyard docs](/docs/introduction) and [pricing](/pricing), for every line about Switchyard
