Blog
A parallel AI coding agents workflow that holds up
Isolation is solved and it is free. The two parts nobody ships are the two that cost you a day instead of an hour.
A workable parallel AI coding agents workflow has three parts: a worktree per agent so edits never collide, a plan kept outside any one agent's conversation so a closed pane does not erase it, and credentials the agents use without holding, since separate worktrees still share one shell and one dotenv. Most setups get the first part right and stop.
Three parts, and the third is usually missing
Most parallel setups are one good idea repeated. Isolate the checkouts, and everything else is assumed to follow. It does not follow, and the two things that do not are the two that cost you a day rather than an hour.
A workflow that holds up has three parts, and they fail independently of each other.
- Isolation: every agent works somewhere no other agent is writing.
- Durability: the plan lives somewhere a closed pane, a compacted context and a change of vendor cannot take with them.
- Credentials: an agent does the work that needs a key without ever holding the key.
Part one: a worktree per agent
One repository will carry several checkouts at once, each on its own branch in its own directory. Point two agents at two of them and neither has a route to what the other is editing, so the silent overwrite that ruins an afternoon has nowhere to happen. This part is genuinely solved, and here is who solves it for you, checked against each vendor's own documentation as of September 2026.
- Claude Code: pass --worktree or -w with a name and it creates an isolated worktree and starts there. In the desktop app, every new session gets its own worktree automatically.
- Conductor: a Mac app for running Claude Code, Codex and Cursor agents in parallel, which creates a separate git worktree and branch for each piece of work and keeps the agent's session attached to it.
- Claude Squad: a terminal app under AGPL-3.0 that uses tmux for the sessions and git worktrees for the isolation, across Claude Code, Codex, Gemini and other local agents including Aider.
- Warp: runs its own agent plus Claude Code, Codex and other CLI agents in separate tabs or panes, on macOS, Windows and Linux. Its guide tells you to create one worktree per agent yourself.
- tmux: no worktree feature and none needed. One git command per agent, sessions you can detach and reattach, ISC licensed and free.
Part two: a plan that outlives the conversation
An agent reads your code for twenty minutes and arrives at a plan. The plan lives in the conversation, so a compaction or a closed pane ends it. Multiply that by four agents and the cost is not the lost work, it is that you are the only place the four plans ever met.
Claude Code answers this inside its own family with agent teams, where one session acts as the lead, assigning tasks and synthesizing results while teammates work independently, each in its own context window, communicating with each other directly. It is experimental and off by default, enabled with the CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS environment variable, as of September 2026. Conductor takes a different route and gives each piece of work a shared context folder alongside its branch.
The question to ask of any of them is what happens when the coordinating session ends, because that is the difference between coordination and memory. If the answer is that the plan was in a conversation, you have bought a faster way to lose it.
The durable answer has a free form and it needs nothing installed. Make the opening move of any job be a committed file: the intended ordering, the assumptions underneath it, the approaches already discarded. Every agent afterwards can open that, whoever made it, and it is still there when the conversation that produced it is not.
The tooled version is a backlog and a set of notes that live outside every conversation, that agents claim from and write back to as they work, and that record no vendor on a task. That is what Forkbench keeps, and since it is our product, treat it as a claim to check rather than a fact to accept.
Part three: credentials the agents use without holding
Here the list gets short, and this is the part the roundups do not reach.
Of the tools above, none describes what happens to a credential, and two document the opposite on purpose. Anthropic's worktree page is explicit that a fresh checkout arrives without untracked files like .env, and offers .worktreeinclude as the supported way to have them placed in each new worktree. Conductor ships a files-to-copy setting for the same job, using .env.local as its own example. Both are correct engineering, because an agent cannot run the application without them. Both also mean the isolation you just built is designed to carry your secrets across it.
So after part one you have four agents that cannot overwrite each other and can all read the same tokens. That asymmetry is the whole point of this section. The first two parts fail into things you can put back: a branch you drop, a plan you write again. Revoke a credential and you have stopped it working, not stopped it existing, and the copy in a transcript or a log stays exactly where it landed.
The generic fix is real and you should do it today. Issue every agent a credential of its own, scoped to the one thing that agent is for and set to expire soon, so the worst case on the table is a narrow key with a short life rather than your account.
The other fix is to stop handing the value over. Forkbench files each piece of work as a Thread, and a Thread is the thing that carries the folders, the notes, the plan and the keys that one job needs. An agent working inside it runs the commands that require a key, and gets their answers back, without the value ever arriving in its prompt, its command line or its transcript.
The limit belongs in the same breath. Any agent in a terminal inherits your filesystem access, so a .env sitting in the project is as readable to it as it is to you. What moves is where the key lives, and moving it is one deliberate act on your part rather than something a tool performs on your behalf.
Which one to actually use
One winner per situation, and most of them are not us. Prices and flags are as of September 2026.
- One vendor, one repository, no new app: Claude Code on its own. The worktree flag covers isolation, agent teams covers coordination while a lead session is open, and neither costs anything extra.
- You want a Mac app watching several agents and you will pay for it: Conductor. Free tier, Pro at $50 a month, Teams at $60 per user, across Claude Code, Codex and Cursor, with a separate cloud product if you would rather the agents ran off your machine.
- A remote box over SSH with no desktop: Claude Squad, or plain tmux if you would rather assemble it yourself. Both are free, neither needs a GUI, and tmux sessions survive the disconnect.
- One tool across macOS, Windows and Linux: Warp. Its own agent alongside everyone else's in tabs and panes, with the worktrees left to you.
- Several vendors, work that has to outlive the pane, and keys you would rather no agent held: Forkbench.
The order to build it in
Four of those five are not us, and it is not close for the situations they win. The useful move is not to pick one tool and hope it covers three problems. It is to take isolation from whatever you already run, because it is free everywhere now, then decide deliberately where the plan lives, and then ask the third question of whatever you chose.
None of them answers the third question, and it is the only one of the three that leaves a mark you cannot undo. The step-by-step version of parts one and two, across Claude Code, Cursor, Codex and Copilot, is linked below.
Related: Stop parallel agents from undoing each other's work, The step-by-step version, across Claude Code, Cursor, Codex and Copilot
Frequently asked
What does a parallel AI coding agents workflow actually need?
Three things that fail independently. A git worktree per agent so two of them never write the same file. A plan kept outside any single conversation, so a compaction or a closed pane does not erase twenty minutes of reading. And credentials an agent can use without holding, because separate worktrees deliberately share the same shell and the same dotenv. Almost every published setup covers the first and stops.
Do I need a separate tool to run coding agents in parallel?
For isolation, no. As of September 2026 Claude Code creates one from a --worktree flag and gives each desktop session its own, Conductor and Claude Squad make them for you, and Warp documents doing it by hand. A separate tool earns its place on the other two parts: whether the plan survives the session that made it, and what happens to your keys.
Is Claude Code's agent teams enough on its own?
For coordinating Claude Code with Claude Code, it is the shortest path: one session leads, assigns tasks and synthesizes results while teammates work in their own context windows. It is experimental and off by default, enabled with an environment variable. Two limits worth knowing before you build on it: it coordinates one vendor's sessions, and the coordination lives in a session, so ask what remains when that session ends.
What is the risk nobody mentions in parallel agent setups?
That isolating checkouts does not isolate credentials, and the tools say so themselves. Claude Code's .worktreeinclude puts files like .env into each new worktree, and Conductor ships an equivalent setting. It is the right engineering call, and it means four isolated agents read the same tokens. It is also the only failure in a parallel setup that a rollback cannot undo.
Keep reading
Sources
- Claude Code docs: run parallel sessions with worktrees
- Claude Code docs: orchestrate teams of sessions (agent teams)
- Conductor: a Mac app for running agents in parallel, and Conductor Cloud
- Conductor: run multiple Claude Code sessions
- Conductor pricing
- Claude Squad: manage multiple terminal agents (tmux + worktrees)
- Warp: how to run multiple AI coding agents
- tmux wiki: the terminal multiplexer