Agent looping error on cursor 2.3

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Been working with Gemini 3 Flash for the last couple of days and twice now have gotten the “Agent looping detected” error. Not sure why its happening but has cost me 1.50$ so far.

Steps to Reproduce

Use cursor normally.

Expected Behavior

Agent chats don’t fail.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.3.10
VSCode Version: 1.105.1
Commit: af6d64e4848e6185e482a2de5bac040191c8d790
Date: 2025-12-29T03:56:22.219Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.2.0

For AI issues: add Request ID with privacy disabled

Request ID: afdba2ae-f3c7-4f01-b015-53e41e03e6ba
{“error”:“ERROR_CUSTOM_MESSAGE”,“details”:{“title”:“Unrecoverable agent model looping detected”,“detail”:“Unrecoverable agent model looping detected.”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. The looping issue with the agent on Gemini 3 Flash is known to the team, and there’s an active ticket tracking it, including notes about billing/charges.

To help the engineers look into your specific case, could you share:

  • 1 to 2 specific prompts that trigger the looping issue
  • Whether it happens in a new Agent chat, or when switching models in an existing chat

Temporary workaround: try starting a new Agent chat (don’t switch models in an existing one) and break complex tasks into smaller steps.

I’ll pass these details to the team for investigation.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.