Cursor Crashes on New Agent

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When attempting to create a new chat window when one is open, the agent panel now crashes and cannot be reopened. Simultaneously, performance slows down considerably to the point of being unuseable and PC fan goes high, and this behavior persists until Cursor is restarted. If it helps, I have cursor set to only have one max chat window open at a time, and prefer to open windows I’m not using from the history dropdown. This worked well before the latest Cursor 3 update (first Cursor 3 update did not cause this)

Steps to Reproduce

Set maximum tabs count to 1 in cursor settings
Start an agent chat in the IDE editor mode
Hit the new agent button

Expected Behavior

Ideally, pressing the new agent button will open a new agent window.

Operating System

Windows 10/11

Version Information

Version: 3.2.0-pre.6.patch.0 (user setup)
VSCode Version: 1.105.1
Commit: 7b988c9060d302d4752a7b58829dac7239ac3740
Date: 2026-04-10T06:02:02.326Z
Layout: editor
Build Type: Stable
Release Track: Nightly
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the detailed report. This looks like a bug in the Max Tab Count logic when the value is set to 1. When you try to create a new agent tab, it gets stuck in a loop, which causes the hang and high CPU usage.

As a workaround, try setting Max Tab Count to 2 or higher. That should prevent the crash, and you’ll still be able to open chats from history like you normally do.

I’ve passed this to the team. No ETA yet, but your report helps with prioritization. Let me know if the workaround helps.

Thanks so much! I’ll use the workaround for now until fixed. Seems to prevent this behavior.

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