| 1 | --- |
| 2 | title: "Quick Start" |
| 3 | --- |
| 4 | |
| 5 | ## How to use it |
| 6 | |
| 7 | Plan mode provides a safe environment for understanding and constructing plans without making changes. It equips the Chat model with read-only tools, allowing you to explore, analyze, and plan modifications before executing them. |
| 8 | |
| 9 | ### Use Plan |
| 10 | |
| 11 | You can switch to `Plan` in the mode selector below the chat input box. |
| 12 | |
| 13 |  |
| 14 | |
| 15 | <Info> |
| 16 | If Plan is disabled with a `Not Supported` message, the selected model or |
| 17 | provider doesn't support tools. See [Model Setup](/features/plan/model-setup) |
| 18 | for more information. |
| 19 | </Info> |
| 20 | |
| 21 | ### Chat with Plan |
| 22 | |
| 23 | Plan mode lives within the same interface as [Chat](/features/chat/how-it-works) and [Agent](/features/agent/how-it-works), so the same [input](/features/chat/quick-start#1-start-a-conversation) is used to send messages and you can still use the same manual methods of providing context, such as [`@` context providers](/features/chat/quick-start#3-use--for-additional-context) or adding [highlighted code from the editor](/features/chat/quick-start#2-include-code-context). |
| 24 | |
| 25 | #### What makes Plan different |
| 26 | |
| 27 | Unlike Agent mode, Plan mode: |
| 28 | - Only uses read-only tools (file reading, searching, analysis) |
| 29 | - Cannot modify, create, or delete files |
| 30 | - Focuses on understanding and planning rather than execution |
| 31 | - Provides a safe environment for exploration |
| 32 | |
| 33 | ### Common use cases |
| 34 | |
| 35 | Plan mode is ideal for: |
| 36 | - **Code exploration**: Understanding how a codebase works |
| 37 | - **Planning refactors**: Analyzing impact before making changes |
| 38 | - **Debugging**: Investigating issues without modifying code |
| 39 | - **Architecture review**: Understanding system design and dependencies |
| 40 | - **Pre-implementation planning**: Thinking through changes before executing |
| 41 | |
| 42 | ### Example workflow |
| 43 | |
| 44 | 1. **Start in Plan mode** to explore and understand the task |
| 45 | 2. **Develop a plan** with the model's help |
| 46 | 3. **Switch to Agent mode** when ready to implement changes |
| 47 | |
| 48 | For example, you might say: |
| 49 | |
| 50 | > Help me understand how the authentication system works and plan improvements to add OAuth support |
| 51 | |
| 52 | Plan mode will analyze the existing code, understand the current implementation, and help you create a detailed plan—all without making any changes. |
| 53 | |
| 54 | ## Switching to execution |
| 55 | |
| 56 | When you're ready to implement your plan, simply switch to Agent mode using the mode selector or keyboard shortcut (`Cmd/Ctrl + .`). The conversation context carries over, so Agent mode can immediately start implementing the plan you developed. |
| 57 | |
| 58 | <Tip> |
| 59 | Use the keyboard shortcut `Cmd/Ctrl + .` to quickly cycle between Chat, Plan, and Agent modes. |
| 60 | </Tip> |