[BUG] New Agent causes a crash

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Max Tab Count: If set to 1, creating a New Agent causes a crash. You must restart Cursor to create a new one. This issue only occurs in the newly updated version 3.1; the previous version would simply show a prompt, and you could just click OK.

Steps to Reproduce

First, set Max Tab Count to 1. Then, engage in a conversation with the large language model. Finally, click the plus button or create a new agent.

Operating System

Windows 10/11

Version Information

Cursor 3.1.14

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

This is a known bug. When Max Tab Count = 1, the tab replacement logic gets stuck in a loop, which causes a crash and high CPU usage.

Workaround: set Max Tab Count to 2 or higher. This should prevent the crash, and you’ll be able to create new agents normally.

The team is aware of the issue, but there’s no ETA for a fix yet. Your report helps us prioritize it.

Closing this as a duplicate. The same issue was discussed here: Cursor Crashes on New Agent