Agent mode still behaves as Ask mode after reinstalling Cursor

I’m experiencing an issue where Cursor continues to behave as if it were in Ask mode, even though I have explicitly set the prompt/mode to Agent and am requesting code modifications.

Context:

  • Environment: Windows (c:\lucido\lucidoDevel\gaspi\gaspi2024_www project)

  • I previously used Ask mode for read‑only explanations.

  • Now I need Cursor to actually edit files (Agent behavior).

  • I uninstalled Cursor and did a clean reinstall.

  • In my latest sessions, I:

  • Set the mode/prompt to Agent.

  • Explicitly asked the assistant to “modify these files” and “apply these changes.”

  • The assistant logically describes the changes and sometimes even shows patch‑like output, but then says it is in Ask mode and must not make edits, so no actual modifications are applied to the files.

Expected behavior:

  • When the UI or prompt is set to Agent mode and I clearly request changes (e.g. “please modify X.ts like this”), the assistant should be allowed to:

  • Apply edits to my local files.

  • Use editing tools (ApplyPatch, etc.) without being blocked by an Ask‑mode restriction.

Actual behavior:

  • The assistant repeatedly responds with messages like:

  • “Ask mode is active. I MUST NOT make any edits…”

  • This happens even after:

  • Switching mode to Agent in the prompt/settings.

  • Restarting Cursor.

  • Fully uninstalling and reinstalling Cursor.

What I’d like to know:

  1. Is there any persistent configuration, project‑level setting, or hidden flag that can force a workspace or conversation into Ask mode regardless of my current mode setting?

  2. How can I completely reset this so that:

  • Agent mode can actually edit files again in this project, and

  • The assistant no longer insists it is in Ask mode when I’ve requested Agent behavior?

If needed, I can provide example conversation snippets where:

  • The UI/prompt indicates Agent mode.

  • I ask for edits.

  • The assistant still refuses to modify files due to “Ask mode” constraints.

Thank you for your help.

Hey, thanks for the detailed description. This is an unusual issue. The agent shouldn’t get “stuck” in Ask mode after switching.

A few things that will help us debug:

We need diagnostics:

  1. Help > About, what version are you on?
  2. A screenshot of the agent with the selected mode (when it refuses to edit)
  3. The Request ID from the chat where this happens (three dots in the chat > Copy Request ID)

Try this right away:

  • Start a new chat CMD/CTRL + I and select Agent mode again
  • Or open a different folder or workspace to see if the issue persists

Question: Do you see the mode dropdown in the agent UI? Does it show “Agent” or “Ask”?

This looks like a bug where the UI shows one mode, but the model receives instructions for a different one. With your info, we can pass it to engineering to fix.

  1. Version: 2.3.41 (user setup)
    VSCode Version: 1.105.1
    Commit: 2ca326e0d1ce10956aea33d54c0e2d8c13c58a30
    Date: 2026-01-16T19:14:00.150Z
    Electron: 37.7.0
    Chromium: 138.0.7204.251
    Node.js: 22.20.0
    V8: 13.8.258.32-electron.0
    OS: Windows_NT x64 10.0.26200

  2. screen shot

  3. 3a2f4fdb-0e8d-4652-82f6-e510e7613d7c

I can see the screenshot: the UI shows “Agent”, but the model responds like it’s in Ask mode. This looks like a desync bug between the UI and the system prompt that gets sent to the model.

We need a bit more debugging:

  1. Check the .cursorrules file in the root of the gaspi2024_www project. Open it and paste the contents here. It might include something like “you are in ask mode” or “do not edit files” that overrides the mode.

  2. Try in a different workspace or folder:

    • Open a completely different project
    • Create a new chat in Agent mode
    • Ask it to change something
    • Does the issue happen again?
  3. Try resetting chat settings:

    • Create a new chat (CMD/CTRL + I)
    • Pick Agent mode from the dropdown
    • Don’t switch between modes
    • Give an edit request right away

If it only happens in this workspace, it’s probably caused by .cursorrules or workspace settings. If it happens everywhere, I’ll pass it to the engineering team with your Request ID.

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I’ve noticed an issue while using Ask Mode and it is coming in many accounts used in my organization. Even when Ask Mode is selected, Cursor sometimes enters a loop where it starts analyzing and attempting to implement code, similar to Agent Mode, despite not having access to it.
Interestingly, when I explicitly mention in the prompt that it is not in Agent Mode, the behavior becomes correct and it responds as expected for Ask Mode.
This makes me think there may be some confusion in how the mode context is being interpreted, even when the mode is set correctly in the UI.
Sharing this in case it helps identify and fix the issue. Please let me know if you need any additional details or reproduction steps.
Thanks

Steps to Reproduce

If you told it to create code for a specific module with some context then it start behving like this. This behaviour comes 3-4 times from 10 cases, but when it start behaving like this then it only stop when i tell it that you are in ask mode.

Operating System

MacOS

Version Information

Version : 2.4.21

Does this stop you from using Cursor

No - Cursor works, but with this issue

Request ID : 1c336a2b-5d33-4463-93cf-b254b562a1f8

Example Prompt : need to open this mdoal component when user clikc on nav menu locationclick on the location (as you can see in the sceocn detail), do creaet this address selection and adddress pick ui in the d2c-ui and use it into the fs mobile and check for the header component where i will add the click logic to open this modal, This modal will open from the bottom with smooth transition animation, analyze this and create this first with hard coded data, then i will give you api and their response, also when user click on “Use your current location” then take access from teh user lcoatino and fetch their lat and long, so that we can access user exact location, to call our addresss api.

Is this loop analysis consume the tokens consistently, if yes then this must be resolved on priority ?

Yes, when i tell him explicitly then it work fine.

1 Like

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Lately the agent hasn’t been able to determine what mode it’s on and tries to change code on ask or plan mode. I defaulted to always adding “you’re on x mode” at the end of my prompts. Not the end of the world but annoying. It’s a new development that started a couple weeks ago

Steps to Reproduce

Put the agent on ask or plan mode. Ask for it to do something related to changing code. It will attempt to create/change code despite not being allowed to.

Expected Behavior

It should automatically detect what mode it’s on and act accordingly.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 2.4.21
VSCode Version: 1.105.1
Commit: dc8361355d709f306d5159635a677a571b277bc0
Date: 2026-01-22T16:57:59.675Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 24.6.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report.

This looks like a regression or an incomplete fix. There was a similar issue that was marked as fixed, but you’re on version 2.4.21 and you still see the bug.

Can you try this:

  • Copy the Request ID from the chat context menu (top right) when the bug happens
  • Send it here, it’ll help the team understand what’s going wrong

The workaround you’re already using (“you’re on x mode”) is still the only way to get around it for now. I’ll let the team know the bug is still happening on the latest version.

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When I ask the cursor agent about a bug in ask-mode it immediately tries to solve it despite not having access to solve it. It gets stuck in an infinite loop of reads until i stop it.

Steps to Reproduce

Ask it to fix sth. but stay in Ask-Mode

Expected Behavior

It should tell me that it doesn’t have the proper access to fix the bug and needs agent mode, or give me the code update as text.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 2.4.21 (Universal)
VSCode Version: 1.105.1
Commit: dc8361355d709f306d5159635a677a571b277bc0
Date: 2026-01-22T16:57:59.675Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 24.5.0

For AI issues: which model did you use?

Auto

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This is a known issue. The team fixed it before, but based on your screenshot and a few other reports from the last 2 days, it looks like it’s back.

Can you share the Request ID from this chat? (three dots in the chat > Copy Request ID) This will help confirm it’s a regression and pass the info to the team.

Send the Request ID when you can.

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When asked a question about the code, cursor assumes that I am pointing out a bug, and tries to make a change. It even says that it made the change in its reply.

Steps to Reproduce

Ask a question in ‘Ask’ mode. Probably something where you know there’s a bug in your code.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.3.35
VSCode Version: 1.105.1
Commit: cf8353edc265f5e46b798bfb276861d0bf3bf120
Date: 2026-01-13T07:39:18.564Z
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: which model did you use?

Auto

For AI issues: add Request ID with privacy disabled

19c6e716-243b-44cb-9795-0fe18be7e8ec

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This looks like a known issue: the agent in Ask mode was trying to edit files instead of staying read-only. The bug was fixed on January 14, but it hasn’t made it into the latest release yet. I think it’ll be available soon.

If the issue is still there after you update, let me know. Please include an example prompt and what the AI is trying to do.

1 Like

The same often applies to plan mode too