Run several AI coding agents in parallel on one Mac
One agent on one task leaves you waiting on it. Three agents on three tasks leave them waiting on you — and the hard part becomes knowing which one is stuck. Here is a setup that keeps that straight.
First: one folder per agent
This part has nothing to do with us, and it matters most. Two agents in one working tree edit the same files, run the same build and step on each other's changes. Give each its own git worktree — a second checkout of the same repository on its own branch:
git worktree add ../app-feature-x -b feature-x
git worktree add ../app-bugfix-y -b bugfix-y
Each agent starts in its own folder, and when a task is done you review and merge its
branch like any other. git worktree list shows them all;
git worktree remove clears one away.
The do-it-yourself way
tmux with a window per agent, reached over SSH, works and costs nothing: every session stays alive when you disconnect, and you switch with a key. Its weak spot is attention. A waiting agent looks exactly like a working one until you visit its window, so with three of them you end up cycling through windows to find the one that is stuck. If you sit at the terminal anyway, that is a fine trade — see the comparison.
One list on the phone
ShiftStage keeps every agent session of the Mac in one list under Terminal & AI, side by side whatever the tool: Claude Code in one worktree, Codex in a second, Gemini CLI or opencode in a third. Each row is named by the topic the agent gives its conversation, with the folder beside it, and shows whether it is working or waiting for you.
- Start them from the phone. The + button asks for a tool and a folder, and runs the agent in a terminal the Mac keeps for you.
- Or start them at the desk. An agent you start in the app's terminal is picked up and joins the list by itself. One running in Terminal, iTerm or an IDE terminal shows up under "In Mac terminals" — for Claude Code, Codex, Gemini CLI, Qwen Code and opencode — and, once you allow it in the agent's settings, moves to the phone with its history.
- Silence until one needs you. The phone speaks up when an agent asks or finishes a turn, and the notification names which session. A low-risk question can be answered from the notification itself; the rest open that session.
- A glance at the lock screen. A Live Activity shows an agent that works or waits for permission, and says Done when the turn ends.
Sessions keep running when the app is in the background or the phone is locked — they live on the Mac, not in the app — and they survive a restart of the ShiftStage agent.
Review each branch on its own
Open the worktree's folder and its git view shows that branch's changes alone: the diff with changes marked inside the line, stage line by line, commit and push. Agents in different worktrees never mix in one diff. More in reviewing a git diff on the iPhone.
More than one Mac
A Mac mini at home running the long tasks and a laptop with you: the phone switches between them, and so does the watch. The free version covers one Mac on your own network; the second Mac comes with the subscription.
Set it up once
- Install the agent on the Mac. A signed, notarised app from our open
Homebrew tap. It shares only the folders you name — share the parent folder of your
worktrees once.
brew install --cask shiftstage/shiftstage/shiftstage-agent - Install the app on the iPhone from the App Store.
- Pair them. Scan the code on the Mac's screen and confirm the same symbols on both devices. No account. The first pairing needs both on the same network.
That is the whole setup: no VPN, no port forwarding, no SSH keys. On the same Wi-Fi the phone talks to the Mac directly; away from home the connection goes peer to peer, or through a relay that forwards only end-to-end encrypted bytes.
Get it
The Mac agent: download page — one Homebrew command or a notarised disk image. The iPhone app: App Store. Free forever for one Mac on your own network, no account; $7.99 a month or $69.99 a year to reach it from anywhere.
More guides: all guides.