If I have a chat open and it spawns a sub agent for a task, then when i click the link to open the sub agent’s results/chat, the main chat is closed. it should open the sub agent chat in a new tab instead of closing the main chat or loading sub agent chat into main chat tab - because i have to go back to the main chat anyways to continue the larger conversation around a piece of work.
Steps to Reproduce
Start a chat in IDE
Use multitask mode (probably not needed - but a sub agent needs to be spawned)
Have a task being handed off to a sub agent.
See that when the sub agent finishes, its results/chat is hyperlinked in the text for eg “XYZ is done, now you can do abc” where “xyz is done” is hyperlinked to the sub agent chat that opens in its own tab
Click on the sub agent chat hyperlink
See that the sub agent chat is opened but now the main chat is closed. You have to click history button and open it from there.
Expected Behavior
Main chat tab from which a sub agent is spawned off shouldn’t be closed on opening a sub agent results/chat tab
The main pain (losing the main chat and digging it back out of history) is already addressed in a newer release. You’re on 3.10.20 from early July; back-navigation for chat editors landed just after. Update to the latest and you’ll be able to jump straight back to the parent from a subagent chat via the built-in Go Back (Command Palette → “Go Back”, or your mouse’s back button).
Heads up: opening the subagent in the same tab is currently intended, so the update adds a way back rather than a separate tab. If a dedicated tab (or a persistent visible back button) is what you’re really after, that’s useful feedback we’re tracking. Drop a note here if so.
I would much rather prefer the sub agent chat to open in a new tab - that’s usually how I work in browsers too - so that current tab context isn’t gone because it’s a bit annoying to lose what’s already there on the screen.
At least please make it a setting if possible so that those that prefer that can do that.
It happens to me too if I click in Open Agent it replaces the current chat , and I have no option to open those links in a new tab, even if I click ⌘+click bad
Opening a sub-agent chat replaces the current panel view in Cursor instead of opening a separate tab, is there a setting for this behaviour? This behaviour is currently frustrating.
The design choice is incomprehensible, it should absolutely only open the subagent(s) in new tabs. How can you compare them side by side if you have many?
At least make it a setting!
As far as losing the chats - this happens a good fraction of time, it’s very frustrating and absolutely hasn’t been fixed as of 3.23.23. Overall, that right side chat panel is a mess and we mostly just ignore it because it’s so unreliable.
Thanks for the reports, and sorry for the slow follow-up. In the editor layout, opening a subagent currently replaces the chat you’re in (⌘/Ctrl+click included), and there’s no setting for it yet. To get back, use Go Back (Command Palette → “Go Back”, or your mouse’s back button), or reopen the chat from history.
Opening subagents in their own tab is something we’re tracking, so the votes here help.
@glebbb, if a chat is ever missing from your history entirely, could you open a new thread for it with your Cursor version and roughly when it happened? That’s a separate issue from this one, so it’ll get looked at properly there.