Cursor starting in agent mode instead of editor mode

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I always use Cursor in Editor mode and close it while still in Editor mode. I would expect Cursor to remember that state, but every time I reopen it, it opens in the Agent window instead.

Steps to Reproduce

Steps to Reproduce:

  1. Open Cursor.
  2. Switch to Editor mode.
  3. Close Cursor while still in Editor mode.
  4. Reopen Cursor.
  5. Cursor opens in the Agent window instead of remembering Editor mode.

Operating System

Windows 10/11

Version Information

Version: 3.9.16 (user setup)
VS Code Extension API: 1.105.1
Commit: 042b3c1a4c53f2c3808067f519fbfc67b72cad80
Date: 2026-06-27T06:41:01.941Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This started with the latest update. On startup, Cursor now opens in the Agents Window.

To make the Editor Window the default again: Cursor Settings > Agents > turn off Open Agents Window on startup.

If you don’t see that toggle or it doesn’t work after you turn it off, you can switch back using Ctrl+Shift+N, or Command Palette Ctrl+Shift+P > Open Editor Window.

Let me know if that helped. If the toggle is missing or doesn’t save, tell me and we can look into it separately.

Thank you Dean

One more thing is that sometimes AI agents can’t see the whole codebase. It was not like this a few updates ago but it just happened today.

Glad the window fix helped.

On the second issue, that’s a separate story. Let’s handle it in a separate thread so we don’t mix topics. To figure out what’s going on, can you share a couple of details?

  • What exactly do you mean by “it can’t see the whole codebase”?
    • Is the agent skipping existing files, does codebase search return nothing, or are the results incomplete?
  • Check the indexing status: Cursor Settings > Indexing. Is indexing finished, and do you see any errors?
  • Is this a single folder in the workspace, or a multi-root workspace with multiple folders open?
  • If you can, share a specific example of what you asked for and what the agent didn’t find, and send the Request ID for that request (chat menu in the top right > Copy Request ID).

Best option is to start a separate thread with these details. We’ll sort it out faster that way.