After creating a new agent with a new worktree, how can I create a new agent that targets that worktree?
In the Agents Window I can’t seem to be able to set it up.
What I would expect is to be able to see the worktree in one of the dropdowns. It seems like I see some but not all. Am I missing something?
This is a known limitation of how worktrees currently work in the Agents Window. Cursor-managed worktrees are task-scoped, meaning each worktree is tied to the single agent that created it. That’s why you can’t select a previously-created worktree as the target for a new agent - the picker intentionally filters them out.
The ability to directly target an existing worktree with a new agent is something we’re tracking for improvement.
Workaround: If you need multiple agents working on the same worktree’s code, you can open that worktree’s directory as a separate Cursor window (File > Open Folder > navigate to the worktree path, usually under .cursor/worktrees/ in your project root). From that window, new agents will work on that code as “Local.”
Let me know if you have any other questions!
This is a great workaround! SUPER helpful I’ve been using it a ton already.
Sounds like it shouldn’t be too complex to make it a bit easier for the users.
Thanks
One issues that I’m experiencing now, is that I’d like to be able to create a new worktree from an existing worktree, is that possible right now? is there a workaround?
Yes, you can do this today. When you start a new agent and pick New Worktree, open the branch picker and select the branch your existing worktree is on as the base. The new worktree gets created from that branch’s latest commit, on its own new branch.
One thing to keep in mind: it branches off the latest committed state of that branch, so commit any in-progress work in the existing worktree first if you want it carried into the new one.
If the branch you’re looking for doesn’t show up in the picker, let me know which Cursor version you’re on and a screenshot of the picker, and I’ll dig in.
