Queuekeeper is a local merge queue and build coordinator for one developer working with AI coding
agents. Like traditional merge queues, it shortens development time by batching changes and running
them through the expensive test suites once, pushing to main only what passed. Unlike other merge queues, however, it understands how to manage local tools and devices efficiently, making it ideal for mobile app and video game developers.
queuekeeper-sizzle.mp4
The dashboard in 23 seconds. The video is also in this repository as assets/queuekeeper-sizzle.mp4.
When several agents work in parallel, their builds and tests can still compete for the same Mac, editor or test device. Queuekeeper lets you give agents work across one or more projects without having to schedule each run yourself.
- Give each run its turn. Queuekeeper starts jobs as build capacity opens up, including jobs that require local development platforms like Xcode, Android Studio, or Unity. It can also reserve a physical phone or tablet for one agent at a time and give a macOS UI test exclusive use of a Mac's desktop.
- Reuse simulator setup. Xcode simulator and Android emulator pools give each run its own instance and reuse state from a template that has already completed its first boot. Agents can get to testing sooner without setting up a fresh simulator or emulator each time.
- Let agents follow their own work. Agents can start builds, run tests and submit commits without prompts. Queuekeeper reports what passed, which tests failed, or when a machine problem prevented a verdict, with next steps the agent can act on.
- Run on your own Macs. One Mac is enough to start. Add more when you need more capacity, and Queuekeeper automatically distributes jobs across Macs that can run them and have room.
Related tools compares Queuekeeper feature by feature with other merge queues, including other local queues for AI agents, and says where they are the better choice.
Queuekeeper needs macOS, Python 3.14 or newer and Git. Each project needs an origin remote it can
push to without a prompt and must allow changes to land directly on main; Queuekeeper does not
integrate through pull requests. Start with one Mac and add more
later if builds need it. You can do each step below yourself, following the
user guide, or ask an agent to do it.
- Install once per Mac. Clone this repository into
~/Development/queuekeeperand runpython3 tools/install-checkout.py. Keep the checkout: the installedqkcommand runs from it (details). - Configure each project. Add a
queuekeeper.jsonwhose gate runs the project's checks, enable the plugins it needs, and resolve whatqk doctorreports. Each project keeps its own gate and queue while sharing the Mac's capacity. - Teach your agents. Run
qk agents setup --guardin each project. It writes the agent instructions intoAGENTS.mdorCLAUDE.md, so agents land work withqk land --waitinstead of pushing tomainand run builds and tests throughqk runorqk admit, and adds Claude Code hooks that report entries that came back when a session starts and refuse pushes tomain. Installingqkalone does not change how agents work. - Land the setup. Commit the configuration and agent instructions on a branch, then run
qk land --waitand follow it to its result. The first landing uses the checks in the setup commit and createsmainif the remote has none. Later landings usemain's queue policy (details). - Follow the work in the dashboard, through
notifications, or with
qk queue status.
queuekeeper.json is a project’s Queuekeeper configuration file. It lives at the root of a
repository and defines the project’s plugins, named checks called lanes, and the lanes the merge
queue runs.
In this iOS example, queue.preflight runs a quick lint check before an entry joins the queue.
queue.lanes names the two checks a batch must pass before landing a code change. The gate lane
runs unit tests, and ui-smoke runs a small set of UI tests for critical flows on an iPhone
simulator. Each lane’s timeout is in seconds.
{
"schemaVersion": 1,
"name": "MyApp",
"plugins": ["queuekeeper_apple"],
"lanes": {
"lint": {
"command": ["scripts/lint.sh"],
"timeout": 30
},
"gate": {
"command": [
"xcodebuild", "test",
"-project", "MyApp.xcodeproj",
"-scheme", "MyApp",
"-destination", "platform=iOS Simulator,name=iPhone 17 Pro",
"-only-testing:MyAppTests"
],
"timeout": 1800
},
"ui-smoke": {
"command": [
"xcodebuild", "test",
"-project", "MyApp.xcodeproj",
"-scheme", "MyApp",
"-destination", "platform=iOS Simulator,name=iPhone 17 Pro",
"-only-testing:MyAppUITests/SmokeTests"
],
"timeout": 900
}
},
"queue": {
"preflight": ["lint"],
"lanes": ["gate", "ui-smoke"]
}
}An agent can set up queuekeeper.json for you using the build and test commands your project
already runs.
For more details, see the project configuration guide.
The dashboard is a web page of the queue and the build farm, served from your own Mac. It shows every project whose queue has run since the dashboard was turned on, all at once, and redraws itself as the queues change. The picker in its header narrows any tab to one project.
qk visibility enable dashboard
qk serve --openNow shows one verdict on every queue, naming any project that needs a look, the day's totals, a row for each project, every round being tested, and every entry in progress and up next. New arrivals tested on top of the current batch are labeled Testing ahead. Its Flow map follows each entry from the agent that queued it, Claude, Codex or a person, through its project's queue and the round's gates to the Macs they run on and to main.
Farm shows each Mac's slots, its load, and the work running and waiting on it, for every project. It also shows phone and tablet connections and reservations.
Trends sets the last 7 or 30 days against the ones before: landings per day, how often entries came back, gate times against each project's usual, and flaky tests. It also shows each project's day so far, today's lane runs on each Mac, when work lands by day and hour, and each lane's timing baseline against its recent passing runs.
Activity lists each round, newest first, with how each entry ended and a link to every lane's log, which opens in Logs with its failures marked.
See the user guide for details.
Queuekeeper can tell you when a queue needs you, so you don't have to keep the dashboard open. It sends an alert when a queue holds for a cause only you can fix, when an entry comes back, and when a check finds a queue stuck. It sends each alert once. With the signed queue launcher, the check runs every two minutes, even with no session open.
qk visibility enable notify
qk notify set imessage to you@example.com # also reach your phone
qk notify test --scheduled # prove the scheduled check reaches youA macOS banner is on by default. An iMessage, a command of your own or a webhook (such as
Slack's) can reach you away from your Mac. Each channel turns on and off by itself with
qk notify enable and qk notify disable. Each kind of alert does too.
See the user guide for details.
A plugin teaches Queuekeeper a platform. A project switches one on by listing its package in the
plugins of its queuekeeper.json, such as "plugins": ["queuekeeper_apple"]. Omitting that
key loads the core alone.
- Apple lets agents build and test iOS and Mac apps without getting in each other's way. Each run gets its own simulator, reset from a warmed template in a fraction of a second; one build is tested on several device types at once; and agents take an iPhone or iPad in turn, with a run stopped before its reservation ends.
- Android does the same for Android apps. Each run gets its own emulator, cloned from a warmed template, and one Gradle build's instrumented tests run on several emulators at once. Agents take an Android phone in turn, with Do Not Disturb set and confirmed over adb.
- Mobile is what the Apple and Android plugins share: the record that reserves phones and tablets, bounded runs on them, the device pass, and which Mac reaches each device. Listing either platform brings it.
- Unity runs a Unity project's editor unattended. It picks the editor the project pins, clears a project lock nothing holds, ends a batch run that has gone silent, and runs the project's tests.
- Mac desktop handles a Mac's logged-in session when nobody is at it. Crash dialogs, notification banners, locked keychains and lapsed permissions are cleared, or the run is reported as unmeasured instead of failed. The mobile and Unity plugins build on it.
- User guide: setting up, landing changes, lanes and admission, the build farm, the agent interface, notifications and the dashboard, and troubleshooting.
- Developer guide: how Queuekeeper works inside, the goals behind its scheduling, writing a visibility feature, and an index of the detailed reference guides.
- Related tools: how Queuekeeper compares with other merge queues.
- Contributing and security: reporting problems and sending changes.
Copyright 2026 Vocaro Technologies LLC


