For parallel edits, start a worktree in Zed, let Unstoppable Code create one per Code project task, choose a worktree for a Paseo workspace or run the job in an Amp cloud orb.
Two agents on the same checkout can overwrite each other. One edits the parser while the other edits the formatter, and they both write to the same working tree. Different tools answer that in different ways. One answer is to open a worktree only for the threads that need one. Another is to open a worktree for every thread, by default. A third drops the local checkout entirely. A worktree is a second directory where an agent can edit the same repository without changing files in your first directory.
The Short Answer
| Tool | Deciding feature | Best for | Source |
|---|---|---|---|
| Zed | One shared checkout. Open a new git worktree when two threads might edit the same files. | Developers choosing isolation per thread | Zed Parallel Agents |
| Unstoppable Code | Each Code project task starts in its own git worktree, on its own branch. | Automatic separation by task | Unstoppable Code |
| Paseo | Pick project directory, new git worktree or an existing worktree when you create the workspace. | Reusing an existing worktree | Paseo workspaces |
| Amp | An orb thread starts with a separate cloud checkout. | Keeping a task off your laptop | Amp Orbs |
Zed lets you open a worktree before threads collide
Two threads share the same checkout unless you open a new one. "If two threads might edit the same files, start one in a new Git worktree to give it an isolated checkout."
A new worktree in Zed starts in detached HEAD, so two threads cannot end up on the same branch by mistake. git worktree add creates a working tree on a separate path and will reject a second checkout of a branch already used elsewhere (git-scm.com/docs/git-worktree).
The upside is that you only pay the setup cost for the threads that need it. The decision is yours every time. Forget once, and two threads on the same project directory can step on each other. Zed's Git panel has worktree controls for after the fact, but the panel will not undo an edit two threads have already made to the same file.
Unstoppable Code opens a worktree per Code project task
Unstoppable Code picks a stricter default than Zed's shared checkout. The homepage says every task gets its own worktree, terminal and browser inside the app, grouped by repo. The help article What is Unstoppable Code says the same thing in plain words: in a Code project, every new task gets its own worktree, which is a separate copy of the repository on its own branch. Each agent changes only its own worktree, so the main branch stays untouched until you choose to merge.
That removes one judgment call from the loop. Start another task while the first one is still working, and it does not matter whether the second agent will edit the parser the first one is already changing. Each agent has its own copy of the working tree. The cost is disk space for each new task and a bit more setup time, since each worktree runs its own setup steps.
Paseo asks per workspace
In Paseo, choose the directory when you create the workspace. Already have a branch checked out? Select its existing worktree. For a separate task, create a new worktree. If two sessions need the same files on disk, point them at the project directory.
The same paseo.json settings can run setup scripts and services in each worktree, so a workspace in a fresh worktree still comes up with the services it needs. The choice is explicit in the UI, and you make it at the point where you know what the task is. A reviewer skimming a branch can share the main checkout. A refactor that will touch ten files runs in its own worktree. A long-lived feature branch can stay on an existing worktree and pick up where it left off.
Amp replaces the local checkout with an orb
An orb is a sandbox. Start a thread in an Amp-hosted orb and it gets its own environment with a copy of your code. The local checkout stays put.
Where do the edits go? They stay in the orb. amp sync can mirror orb changes back into a local checkout if you want one. Self-hosted orbs can run on your own Docker or Kubernetes, though Amp says the agent loop and inference still run on its servers.
How to choose
Pick by the question you actually want to answer. Zed suits runs where two agents touching the same files is the exception, because you decide per thread and spend worktree disk only when it matters. Pick Unstoppable Code when the default should protect you on the days you forget. For mixed work, Paseo puts the choice in front of you at the start of each workspace. And if a local checkout is the thing you want to stop managing, Amp drops it. Start a separate orb thread for each job.
A last thing to weigh is what the tool hands you after the isolation step. Zed and Paseo both have in-app diff views and worktree cleanup. Unstoppable Code groups chats by repo and has a Create PR action. Amp ships from the orb, either through its own Ship button or through a Custom Ship prompt you write once per project. How fast you finish a parallel run depends on that part as much as on how safely you started it. For wider context, there is a walkthrough of multi-agent IDEs, a tour of git worktree tooling for AI coding and a short read on agent chaos and colliding AI agents.
Frequently Asked Questions
Q: Do I need a git worktree to run two coding agents at once?
Not always. Zed and Paseo both support two threads in the same project directory. Zed recommends a worktree when they might edit the same files. Paseo exposes that choice when you create the workspace. Unstoppable Code opens a worktree for you. With Amp, you can start a thread in a cloud orb.
Q: Where does Unstoppable Code store each task's worktree?
Each task gets its own worktree inside the app's project, on its own branch, scoped per repo. The homepage says the task also gets its own terminal and browser alongside that worktree.
Q: Can I share a branch between worktrees in Zed?
Not by default. Zed creates new worktrees in a detached HEAD state. Git itself refuses to check out a branch in two worktrees at the same time.
Q: Does Amp need a local git clone?
No. The orb has the code. The amp sync command can mirror orb changes into a local checkout, but the thread does not depend on one.
Sources
- Parallel Agents in Zed, including the "isolated checkout" sentence and the note that new worktrees start in detached HEAD (checked 2026-11-28): https://zed.dev/docs/ai/parallel-agents
- Review Changes in the Zed Agent Panel (checked 2026-11-28): https://zed.dev/docs/ai/agent-panel
- Git and worktrees in Zed (checked 2026-11-28): https://zed.dev/docs/git
- What is Unstoppable Code (checked 2026-11-28): /blog/categories/ai-agents/article/what-is-unstoppable-code
- Unstoppable homepage (checked 2026-11-28): https://unstoppable.ai/
- Paseo workspaces docs at commit 4810eb2, which list the three isolation choices and describe
paseo.jsonsetup scripts for worktrees (checked 2026-11-28): https://raw.githubusercontent.com/getpaseo/paseo/4810eb2d74586cf6df054cf7b2109188a4565a9c/public-docs/workspaces.md - Paseo parallel development docs at commit 4810eb2 (checked 2026-11-28): https://raw.githubusercontent.com/getpaseo/paseo/4810eb2d74586cf6df054cf7b2109188a4565a9c/public-docs/parallel-development.md
- Amp Orbs docs, with the "fresh, isolated environment" phrasing (checked 2026-11-28): https://ampcode.com/docs/orbs
- Amp orbs self-hosting notes (checked 2026-11-28): https://ampcode.com/docs/orbs/self-hosted
- Git worktree reference (checked 2026-11-28): https://git-scm.com/docs/git-worktree
