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

FAQ

# Questions and answers

Ten questions people ask before they try Switchyard, answered from the docs. Each answer links the page that backs it.

## Isn't this just Git worktrees?

A worktree gives each agent its own folder on one machine. It does not tell two agents that they are changing the same function, test their work together, or decide the order in which it reaches main. Switchyard gives each agent a task, which is its own copy of the repository, warns both tasks when their work overlaps while they are still working, and merges through a queue that runs your checks first. Agents still work in plain Git clones, and [concepts](/docs/concepts) defines each word.

## How is it different from GitHub's merge queue, Mergify or Trunk?

Those three are merge queues for pull requests. Switchyard has a merge queue too, and it also covers the work before it: a task for each agent, warnings while two tasks overlap, and steps that try to fix a conflict before a person has to. Its queue tests a batch of tasks as one build, and it can run the checks on its own machines. Each comparison says when the other product is the better choice: [GitHub's merge queue](/compare/github-merge-queue), [Mergify](/compare/mergify) and [Trunk Merge Queue](/compare/trunk).

## What GitHub permissions does it need, and does it push to main?

The Switchyard App asks for write access to contents, pull requests, checks and workflows, read access to actions, email addresses and metadata, and the organization permission to register a runner for a `runs-on: switchyard` job. It also asks for read access to administration and members, which Switchyard does not use today. It pushes to main in two cases: the merge queue lands a batch that passed your checks, and set-up commits its files once if you keep the rules in the repository. Agents push to their own task, never to main, and where main is protected Switchyard lands each batch through a pull request, unless you make the App a bypass actor. The [security](/docs/security#who-can-reach-what) page says what each permission is for.

## Where do tests run, and what happens to my secrets?

You choose for each check. A check with a command runs on a Switchyard machine: a new machine for each run, with the test build checked out, no secrets, and no credential from Switchyard. A new project's checks can read from package registries and GitHub's downloads and nothing else, until you change that setting. A check can instead wait for your own GitHub Actions, which run on GitHub as they do now; and a job labelled `runs-on: switchyard` gets the secrets GitHub gives that job, of which Switchyard stores none. [Write rules and checks](/docs/rules#step-2-add-a-check) has each way.

## Does it track files or functions (symbols)?

Both. A task's plan names the paths, symbols and interfaces it expects to change, and a task can reserve paths or symbols before the code exists. From pushed code, warnings about symbols and dependencies, such as one task calling a function that another task changes, work for TypeScript, TSX, JavaScript, Python, Rust and Go. Other files get warnings about overlapping lines only. The [tradeoffs](/docs/tradeoffs#code-aware-warnings-cover-six-languages) page says so, and [concepts](/docs/concepts#plan) defines a plan and a warning.

## How does it find the one bad change in a batch, and is that slow?

A failed check runs once more first, so that a flaky test does not send good work back. If it fails again, the merge queue runs the checks on shorter lists of the batch's tasks until it finds the task that caused the failure, and sends back that task only; the others stay in the merge queue. That takes time and money: the second run and the runs that find the task are billed as check time, so a batch saves runs only while most batches pass. We publish no speed for this step alone; the [tradeoffs](/docs/tradeoffs#one-main-is-one-queue) page has the times we measured from submit to merged.

## Does it burn AI tokens?

Switchyard bills one use of a model: an AI suggestion for a conflicted file, made unless your organization has turned AI fixes off; a new organization has them on. It costs $0.50 on Switchyard's key, or runs on your own Anthropic key, which Anthropic bills. Two other uses are not metered: when two tasks both have a plan, a model at TypeSafe is asked whether they describe the same work, and it answers any question your rules file asks about a change. What your own agents spend with their model provider is outside Switchyard. The [security](/docs/security#ai-suggestions) page says what each model receives.

## Does it work with GitLab, Bitbucket or Azure DevOps, or with Jira and Linear?

A project follows one GitHub repository, or Switchyard hosts the repository itself. It does not follow a repository on GitLab, Bitbucket or Azure DevOps. You can import a repository from GitLab, Bitbucket or any Git host once, by its URL and an access token, and it then lives in Switchyard. A task can name the issue it serves in Linear, Jira or GitHub Issues: Switchyard builds no connection to the tracker, and writes the issue's id on GitHub, where the tracker's own GitHub integration looks for it. [Import, move off GitHub and export](/docs/ways-in-and-out) and the [Linear](/docs/linear) and [Jira](/docs/jira) guides have the steps.

## Who is it for?

Teams that run many coding agents on one codebase: several people, each running several agents. It fits where the merge has become the slow part, with many changes at once in the same files. If you work alone with two or three agents, Git worktrees and pull requests may be all you need; Switchyard works for one person too, and earns its cost when several people's agents meet in the same files. The [introduction](/docs/introduction) and the [tradeoffs](/docs/tradeoffs) page help you decide.

## Why do I need a card to try it?

Because a project costs us something whether or not it merges that month: its Git storage, its history, and the machine that answers when an agent pushes. So hosted Switchyard requires a card on file before new work runs on its machines, and every plan has a minimum. On Launch the first week is $1, with the week's usage included up to $10, and if you cancel before the plan starts you pay the $1 alone. You can set a spending limit, and the month's bill never goes over it. The [pricing page](/pricing) and the [billing guide](/docs/billing#when-a-card-is-required) have the numbers.

## Compare

[Switchyard beside GitHub's merge queue, Mergify and Trunk Merge Queue](/compare), with every claim linked to its source.

## Something else?

[Ask us.](/contact) The [pricing page](/pricing) answers the questions about the bill.
