Lost my workspace and whole Chat history after clicking "Agents Window" and closing it

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I was curious about the new blue “Agents Window” button in the top right corner, so I clicked it.

It opened a new window with the Agents mode which I did not want so I closed it. It asked me whether I wanted to save my workspace configuration file and since I did not want to save any new workspace and just return to the old one, I clicked “Don’t Save”.

But when the “Agents” window closed, my current workspace in the Editor window below got closed too and I cannot see my conversations in the Chat History any more.
I never saved my workspace before because I did not know that the Chat History is part of the workspace.

When I open the Agents window again, I can see that the workspace.json with my chat history still kind of is there but when I right click and select “Open in Editor Window”, I get error that the workspace.json does not exists.

And indeed, the ~/.config/Cursor/Workspaces/ directory is empty. :frowning:

Steps to Reproduce

  1. Open Cursor in Editor mode
  2. Open directory as project
  3. Add another directory into the workspace
  4. Start some chat with agent
  5. Click on the blue “Agents Window” button in the top right
  6. Close the newly opened window
  7. Click “Don’t save” when asked to save the (supposedly new) workspace
  8. Watch your directories and Chat history in the Editor window disappear

Expected Behavior

Closing the Agents window should not cause closing of workspace in the Editor window.

Also, why I can still see my old workspaces in the Agents window but they are nowhere to be found on the disk?

Screenshots / Screen Recordings

Operating System

Linux

Version Information

Version: 3.3.30
VSCode Version: 1.105.1
Commit: 3dc559280adc5f931ade8e25c7b85393842acf30
Date: 2026-05-09T18:28:42.332Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Linux x64 7.0.4-100.fc43.x86_64

Does this stop you from using Cursor

No - Cursor works, but with this issue

So I realized that my Chat history is not lost but it was moved/migrated to the Agents window and it’s no longer available in the Editor window. It’s persistent even if I close all Cursor windows and open them again.

I thought that Editor and Agents window use the same data backend but they seem more like two different apps. :person_shrugging:

How can I get my Chat history back from Agents window to Editor window?

Hi Miroslav! Thanks for the detailed repro steps and the follow-up clarification.

This is a known bug in the current Agents Window flow. Opening the Agents Window should not close the Editor Window or make your existing chat history unavailable from the Editor view.

For now, the best workaround is to keep using the Agents Window for the chats that are still visible there, and from that window try opening the Editor again via Editor Window in the top right, or Cmd/Ctrl+Shift+N. If you still get the missing workspace.json error, avoid clicking Don’t Save on any workspace prompt for that project again until this is fixed, since that can discard the unsaved multi-folder workspace file.