Cursor is editing the code files without permissions in the chat

Describe the Bug

I just started using cursor, the chat agent is changing code without permission. This is bad.

Steps to Reproduce

Cursor default settings upon installation.

Expected Behavior

The cursor IDE is editing the code base without permission

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4 (user setup)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T17:09:01.383Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Agent mode is designed to work like this. Try different modes.

How to switch modes?

Hey, if you just want to chat, use the ask mode. You can also create custom modes.