Can't find a way to run an agent on a worktree

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Can only see ‘Local’ and ‘Cloud’ options for both IDE and Glass, and unable to run agents in worktrees as a result.

Steps to Reproduce

Click ‘Local’ dropdown in Agents sidebar

Expected Behavior

Show three option - Local, Cloud and Worktrees

Operating System

MacOS

Version Information

Version: 2.7.0-pre.96.patch.0
VSCode Version: 1.105.1
Commit: c6712eb06f4e47a06a31f4d7adf484bfcbf61cc0
Date: 2026-03-19T17:53:17.088Z
Build Type: Stable
Release Track: Nightly
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0

Additional Information

Want to use Glass, but it’s not usable without worktrees!

Does this stop you from using Cursor

Yes - Cursor is unusable

3 Likes

Same here. It’s annoying

Same :frowning:

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Looking at docs Parallel Agents | Cursor Docs , they show a Worktree option the agent location dropdown.

i don’t seem to have it? That means i can’t use the multiple agents feature

Steps to Reproduce

Open the dropdown

Expected Behavior

Worktree option shows

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 2.7.0-pre.113.patch.0
VSCode Version: 1.105.1
Commit: 6f6ca294486449fb5e8fbae6c138d459ae95dd10
Date: 2026-03-22T08:13:33.045Z
Build Type: Stable
Release Track: Nightly
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 24.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey all,

Worktrees are temporarily unavailable right now. The team is aware and actively tracking this.

I understand this is frustrating, especially since the worktrees docs page describes the feature. We don’t have an ETA for re-enabling it yet, but it’s being actively worked on.

In the meantime, Cloud mode supports running prompts across multiple models and doesn’t require worktrees, so it can serve as an alternative for parallel execution.

I’ll update this thread when there’s news.

1 Like

I removed the Glass early access option from Cursor settings to restore worktree support. After doing so, Cursor downgraded to the previous version. After Cursor restarted my entire agent chat history is GONE across all projects. How can I restore it?

Hi there! The worktree experience has been updated on recent builds. Instead of the dropdown option, you can now use the /worktree command directly in the agent chat - just type /worktree followed by your prompt, and the agent will create and work in a worktree for you.

There’s also /best-of-n if you want to compare results from multiple models in parallel.

The docs haven’t been updated yet to reflect this change (which is still only on nightly builds). Let us know if you have any questions or run into any issues with the new flow!

Hi @Colin it doesn’t seem to work that way, at least not in glass (on latest cursor)

Also ideally for QOL in glass if I am in a worktree I would hope the scm pane on the right could pick this up and detect the chat we are on is on this worktree so show the branch/changes that is on

it always assumes youre in the main worktree root, but if you use worktrees to work on three different features, each their own chat for the same repo you’d ideally like to see the changes unique to the chat you are on’s worktree and branch

1 Like

@Alexander_Clay Glass support is a WIP! Give it a try in the editor.

Ah yes I see it there, apologies! saw this thread tagged as glass and was looking to give glass feedback as loving it!!!

1 Like

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

How do i see worktrees and send off parallel agents?

Feels like the feature was deleted. Would love to have it back.

Steps to Reproduce

n/a

Operating System

MacOS

Version Information

Version: 2.7.0-pre.140.patch.0
VSCode Version: 1.105.1
Commit: ccfa72ce1f439af527c44b009c67fb94169b1100
Date: 2026-03-26T01:58:51.913Z
Build Type: Stable
Release Track: Nightly
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Updating my earlier reply – as @Colin explained above, the worktree experience has been updated on recent nightly builds. The old dropdown selector has been replaced with slash commands in the editor agent chat:

  • /worktree [branch=<name>] <task> – creates a worktree and runs the agent in it

  • /apply-worktree – merges worktree changes back into your main working tree

  • /delete-worktree – removes a worktree

  • /best-of-n <model1,model2,...> <task> – runs the same prompt across multiple models in parallel

These are available in the editor only for now. Glass support is still being worked on.

Cloud mode also remains an option for parallel execution without worktrees.

@philkuz - you’re on a recent enough nightly build to have these. Give /worktree a try in the editor and let us know how it goes.

@blummis - your lost chat history after removing Glass early access sounds like a separate issue. I’d recommend filing a new thread so the team can look into recovery options for you.