Mode | For | Capabilities | Tools |
---|---|---|---|
Agent | Complex features, refactoring | Autonomous exploration, multi-file edits | All tools enabled |
Ask | Learning, planning, questions | Read-only exploration, no automatic changes | Search tools only |
Custom | Specialized workflows | User-defined capabilities | Configurable |
Agent
The default mode for complex coding tasks. Agent autonomously explores your codebase, edits multiple files, runs commands, and fixes errors to complete your requests.
Ask
Read-only mode for learning and exploration. Ask searches your codebase and provides answers without making any changes - perfect for understanding code before modifying it.
Custom
Create your own modes with specific tool combinations and instructions. Mix and match capabilities to fit your workflow.Custom modes are in beta. Enable them in
Cursor Settings
→ Chat
→ Custom Modes
Examples
Learn
Learn
Tools: All Search
Instructions: Focus on explaining concepts thoroughly and ask clarifying questions
Instructions: Focus on explaining concepts thoroughly and ask clarifying questions
Refactor
Refactor
Tools: Edit & Reapply Instructions: Improve code structure without
adding new functionality
Plan
Plan
Tools: Codebase, Read file, Terminal Instructions: Create detailed
implementation plans in
plan.md
Debug
Debug
Tools: All Search, Terminal, Edit & Reapply
Instructions: Investigate issues thoroughly before proposing fixes
Instructions: Investigate issues thoroughly before proposing fixes
Switching modes
- Use the mode picker dropdown in Agent
- Press Ctrl+. for quick switching
- Set keyboard shortcuts in settings
Settings
All modes share common configuration options:Setting | Description |
---|---|
Model | Choose which AI model to use |
Keyboard shortcuts | Set shortcuts to switch between modes |
Mode | Settings | Description |
---|---|---|
Agent | Auto-run and Auto-fix Errors | Automatically run commands and fix errors |
Ask | Search Codebase | Automatically find relevant files |
Custom | Tool selection & Instructions | Configure tools and custom prompts |