Cursor chat is continuously generating output without prompting

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

In cursor chat Agent mode, sometimes it is automatically generating outputs even when I have not prompted anything and the given task is completed
Sometimes, it is auto-switching from Ask mode to Agent mode and updating code when I am just asking it some questions.
This is causing unnecessary consumption of tokens and incurring additional costs. Below is a sample request id. Please let me know how this can be avoided.

Steps to Reproduce

Just ask some questions in Ask mode about some enhancements to current code base, it sometimes switches to Agent mode and starts updating code.
Or give a task in agent mode and once it’s compelted, stay on the same chat window for few minutes without any further prompts.

Expected Behavior

Expected it to do any code changed in Ask mode.
Expected it to not continuously generate some outputs without prompting

Operating System

Windows 10/11

Version Information

Version: 3.2.11 (But it has been happening in previous versions too)

For AI issues: add Request ID with privacy disabled

Request Id: 847c9f6e-3976-47d3-bdf4-70f0a4d4a590

Does this stop you from using Cursor

No - Cursor works, but with this issue

Thanks for the report and request ID. I looked into it.

On the auto-generating issue: This is a known behavior pattern we’re tracking. Two things that should help:

  • Use Ask mode for questions. If you’re asking about best practices or want an explanation without code changes, switch to Ask mode before sending. Agent mode is designed to take action, so it may start editing code even when you’re only asking a question.

  • Start a new chat after completing a task. Long-running conversations accumulate context that can cause the agent to keep working unprompted.

On the mode switching (Ask to Agent): The request ID you shared was already in Agent mode from the start, so I wasn’t able to confirm an Ask-to-Agent switch from this data. If this happens again, could you copy the Request ID (three dots menu in chat > Copy Request ID) right after the switch occurs, while you’re still in what should be Ask mode? That would let us trace the exact transition.