Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
I couldn’t run multi-agent. When I was trying to do that, I got error messages across all the agents:
Failed to create Git worktree: Error executing git: Preparing worktree (detached HEAD bd190a9) fatal: ‘/Users/wli/.cursor/worktrees/api/ZMR40’ already exists , cwd: /Users/wli/projects/api, command: “git worktree add --detach /Users/wli/.cursor/worktrees/api/ZMR40 bd190a91ec52811b14bf7e9cd56e72d3274edf52”
Steps to Reproduce
- Go into Agents mode.
- Select multiple agents.
- Enter any prompt.
Expected Behavior
The expected behavior is for the agents to run successfully.
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.0.38
VSCode Version: 1.99.3
Commit: 3fa438a81d579067162dd8767025b788454e6f90
Date: 2025-10-29T20:45:40.883Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 23.6.0
For AI issues: which model did you use?
Any model will break as long as it’s using the multi-agent capability.
For AI issues: add Request ID with privacy disabled
None. The agents weren’t even kicked off.
Does this stop you from using Cursor
No - Cursor works, but with this issue
