# \[BUG\] New Agent causes a crash

**URL:** <https://forum.cursor.com/t/bug-new-agent-causes-a-crash/157717>\
**Category:** Bug Reports\
**Tags:** crashes, chat\
**Created:** [April 15, 2026, 6:06am UTC](https://forum.cursor.com/t/bug-new-agent-causes-a-crash/157717 "2026-04-15T06:06:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![huiyi](https://avatars.discourse-cdn.com/v4/letter/h/c89c15/32.png) [@huiyi](https://forum.cursor.com/u/huiyi)\
**Post date:** [April 15, 2026, 6:06am UTC](https://forum.cursor.com/t/bug-new-agent-causes-a-crash/157717/1 "2026-04-15T06:06:03Z")

</div>

### 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

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [April 15, 2026, 7:47am UTC](https://forum.cursor.com/t/bug-new-agent-causes-a-crash/157717/5 "2026-04-15T07:47:25Z")

</div>

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](https://forum.cursor.com/t/cursor-crashes-on-new-agent/157339)

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [April 15, 2026, 7:48am UTC](https://forum.cursor.com/t/bug-new-agent-causes-a-crash/157717/6 "2026-04-15T07:48:04Z")

</div>

Split this topic on April 15, 2026, 7:48am UTC

A post was merged into an existing topic: [Cursor Crashes on New Agent](https://forum.cursor.com/t/cursor-crashes-on-new-agent/157339)

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [April 15, 2026, 7:48am UTC](https://forum.cursor.com/t/bug-new-agent-causes-a-crash/157717/7 "2026-04-15T07:48:18Z")

</div>

Closed on April 15, 2026, 7:48am UTC


