| 1 | --- |
| 2 | title: "Plan Mode in Continue – Safe, Read-Only Code Exploration" |
| 3 | sidebarTitle: "Plan Mode" |
| 4 | description: "Learn how to use Plan Mode in Continue to explore and understand codebases safely with read-only tools, search, and analysis before making changes" |
| 5 | --- |
| 6 | |
| 7 | ## What is Plan mode? |
| 8 | |
| 9 | Plan mode is a restricted environment that provides read-only access to your codebase. It's designed for safe exploration, understanding code, and planning changes without making any modifications. |
| 10 | |
| 11 |  |
| 12 | |
| 13 | ### What Are the Key Features of Plan Mode? |
| 14 | |
| 15 | - **Read-only tools**: Access files, search, and analyze without risk |
| 16 | - **Safe exploration**: Perfect for understanding unfamiliar codebases |
| 17 | - **Planning focus**: Develop implementation strategies before execution |
| 18 | - **MCP support**: Works with all MCP tools alongside built-in read-only tools |
| 19 | |
| 20 | ### How Plan Mode Works |
| 21 | |
| 22 | Plan mode filters the available tools to only include read-only operations. This means you can: |
| 23 | |
| 24 | - Read any file in your project |
| 25 | - Search through code with grep and glob patterns |
| 26 | - View repository structure and diffs |
| 27 | - Fetch web content for additional context |
| 28 | - Use all MCP tools |
| 29 | |
| 30 | But you cannot: |
| 31 | |
| 32 | - Create, edit, or delete files |
| 33 | - Run terminal commands |
| 34 | - Make any system changes |
| 35 | |
| 36 | ### How to Get Started with Plan Mode |
| 37 | |
| 38 | Select "Plan" from the mode selector below the chat input, or use `Cmd/Ctrl + .` to cycle through modes. |
| 39 | |
| 40 |  |
| 41 | |
| 42 | For detailed information about tools and usage, see the [Agent documentation](/features/agent/how-it-works), which covers both Agent and Plan modes. |
| 43 | |
| 44 | ### What Is the Common Workflow for Plan Mode? |
| 45 | |
| 46 | 1. **Start in Plan mode** to explore and understand |
| 47 | 2. **Develop your approach** with the model's help |
| 48 | 3. **Switch to Agent mode** when ready to implement |
| 49 | |
| 50 | <Tip> |
| 51 | Plan mode shares the same interface and context features as Chat and Agent |
| 52 | modes. You can use `@` context providers and highlight code just like in other |
| 53 | modes. |
| 54 | </Tip> |