Auto model, Agent Loop Bug

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Request ID: fe8c1d97-8137-4e04-8847-2fc1cbae7ea6
{“error”:“ERROR_CUSTOM_MESSAGE”,“details”:{“title”:“Unrecoverable agent model looping detected”,“detail”:“Unrecoverable agent model looping detected.”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
ConnectError: [aborted] Error
at iol.$endAiConnectTransportReportError (vscode-file://vscode-app/tmp/.mount_CursorTYuqeM/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:4814:319459)
at Zhr._doInvokeHandler (vscode-file://vscode-app/tmp/.mount_CursorTYuqeM/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:488:212075)
at Zhr._invokeHandler (vscode-file://vscode-app/tmp/.mount_CursorTYuqeM/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:488:211817)
at Zhr._receiveRequest (vscode-file://vscode-app/tmp/.mount_CursorTYuqeM/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:488:210582)
at Zhr._receiveOneMessage (vscode-file://vscode-app/tmp/.mount_CursorTYuqeM/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:488:209404)
at O_t.value (vscode-file://vscode-app/tmp/.mount_CursorTYuqeM/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:488:207498)
at ye._deliver (vscode-file://vscode-app/tmp/.mount_CursorTYuqeM/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at ye.fire (vscode-file://vscode-app/tmp/.mount_CursorTYuqeM/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at Prt.fire (vscode-file://vscode-app/tmp/.mount_CursorTYuqeM/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:4801:12154)
at MessagePort. (vscode-file://vscode-app/tmp/.mount_CursorTYuqeM/usr/share/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:6983:18168)

Steps to Reproduce

Asked same fix over and over, with Auto model

Screenshots / Screen Recordings

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.5.11
VSCode Version: 1.99.3
Commit: 2f2737de9aa376933d975ae30290447c910fdf40
Date: 2025-09-05T03:48:32.332Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Linux x64 6.14.0-28-generic

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. The team is already aware of this, we’ll fix it.

When? A week has passed since your “we’ll fix it”

Hey, please update to version 1.6.26 and let me know if the issue still persists.

Same issue here, How to solve it? @deanrie

it is almost fixed but yeah, sometimes it is stuck on generating file

@Mirshod_W How did you solve it?

I am on the latest update: 1.7.39.

The loop is happening rarely, few times only. U can fix it, stopping the current generating and changing the question like even if u add a comma “.”, it will start working right. This works always for me

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Continuously execute a loop task block。
and then IDE tip:Unrecoverable agent model looping detected.

Steps to Reproduce

After an automatic context summary. It triggers when asked again.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.5.9 (Universal)
Commit: 1.99.3
Date de327274300c6f38ec9f4240d11e82c3b0660b20
Electron: 2025-08-30T21:02:27.236Z
ElectronBuildId: 34.5.8
Chromium: undefined
Node.js: 132.0.6834.210
V8: 20.19.1
OS: 13.2.152.41-electron.0

For AI issues: add Request ID with privacy disabled

Request ID: a7bd12a0-8f96-4ff3-bc89-0b48cb6c2d7b
{“error”:“ERROR_CUSTOM_MESSAGE”,“details”:{“title”:“Unrecoverable agent model looping detected”,“detail”:“Unrecoverable agent model looping detected.”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
ConnectError: [aborted] Error
at nol.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4814:319393)
at egr._doInvokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:211942)
at egr._invokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:211684)
at egr._receiveRequest (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:210449)
at egr._receiveOneMessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:209271)
at O_t.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:488:207365)
at ye._deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at ye.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at Prt.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4801:12154)
at MessagePort. (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:6977:18168)

Hey, thanks for the report. The team is already aware of this, we’ll fix it.

Hey, please update to version 1.6.26 and let me know if the issue still persists.

Hi, this looping phenomenon has reappeared, but not in auto mode, but in the use of a certain model. Specifically, it is a bug caused by switching between ask and agent modes in the same session using the suopernova-1m model.

This relevant information:
version: 1.6.27 (Universal)
commit: 1.99.3
date: d750e54bba5cffada6d7b3d18e5688ba5e944ad0
Electron: 2025-09-17T20:21:17.042Z
ElectronBuildId: 34.5.8
Chromium: undefined
Node.js: 132.0.6834.210
V8: 20.19.1
OS: 13.2.152.41-electron.0

requestID: e45515df-afb5-4e7b-959e-1f6981b4c14c

Same issue here, How to solve this issue? @deanrie

I spent the last 2 hours trying to identify the issue. Restarting Cursor, restarting my Mac, and even downgrading Cursor didn’t work. Once I turned off Auto Mode, the agent started working fine.
@deanrie do you still working on this issue?

Hey, yes, the team is working on this. Thanks for the extra info.

@canserufukisler @liudhzhyym Could you share the request ID? You’ll need to disable privacy mode first.

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When I asked the Agent to use my MCP server for work purposes. The Agent called a few times and then got an error “Unrecoverable agent model looping detected.” This completely affected my work process. When I went back to the Cursor screen to check how far the Agent had gone, I saw this error. What are you guys trying to detetch? You guys are doing meaningless work and affecting my work.

Steps to Reproduce

When I asked the Agent to use my MCP server for work purposes. The Agent called a few times and then got an error “Unrecoverable agent model looping detected.” This completely affected my work process. When I went back to the Cursor screen to check how far the Agent had gone, I saw this error. What are you guys trying to detetch? You guys are doing meaningless work and affecting my work.

Expected Behavior

When I asked the Agent to use my MCP server for work purposes. The Agent called a few times and then got an error “Unrecoverable agent model looping detected.” This completely affected my work process. When I went back to the Cursor screen to check how far the Agent had gone, I saw this error. What are you guys trying to detetch? You guys are doing meaningless work and affecting my work.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.46 (system setup)
VSCode Version: 1.99.3
Commit: b9e5948c1ad20443a5cecba6b84a3c9b99d62580
Date: 2025-10-14T01:21:46.830Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.19045

For AI issues: which model did you use?

Claude Sonnet 4.5 Thinking

For AI issues: add Request ID with privacy disabled

f6c9bcf3-f629-4ede-b6ee-52a2b04cd6ee

Does this stop you from using Cursor

Yes - Cursor is unusable