Clicking "IDE" from an agent opens an empty Cursor window instead of the repo

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When I click the IDE :up_right_arrow: button at the top of an agent/project, Cursor opens a new IDE window, but it doesn’t open the agent’s repository. It just shows the empty welcome screen (Open project / Clone repo / Connect via SSH / Steer from iOS), so I have to find and open the repo manually.

Actual: An empty IDE window with the welcome screen.

Steps to Reproduce

  1. Open an agent/project that’s linked to a repo.
  2. Click the IDE :up_right_arrow: button in the top right.

Expected Behavior

The IDE opens with that repo/workspace loaded.

Screenshots / Screen Recordings

ide-button.png

Operating System

Windows 10/11

Version Information

Cursor version: [from Help > About]

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @YousseFathalla, the IDE button opens the folder the agent works in on your computer. For a cloud agent it can only do that if it finds a local clone of the same repo, and when it doesn’t, it falls back to an empty window like the one in your screenshot.

For now, you can right-click the repo in the Agents Window sidebar and choose Open in IDE, or open your local clone once with File → Open Folder in the IDE, which should also let the button find it next time.

Could you tell me whether this agent runs in the cloud or on this computer, whether you have the repo cloned locally, and your Cursor version?

Sometimes it work sometimes it Doesnt , i have repo on local,