Plan Mode in Gobi – Safe, Read-Only Code Exploration
Learn how to use Plan Mode in Gobi to explore and understand codebases safely with read-only tools, search, and analysis before making changes
What is Plan mode?
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.
What Are the Key Features of Plan Mode?
Read-only tools: Access files, search, and analyze without risk
Safe exploration: Perfect for understanding unfamiliar codebases
Planning focus: Develop implementation strategies before execution
MCP support: Works with all MCP tools alongside built-in read-only tools
How Plan Mode Works
Plan mode filters the available tools to only include read-only operations. This means you can:
Read any file in your project
Search through code with grep and glob patterns
View repository structure and diffs
Fetch web content for additional context
Use all MCP tools
But you cannot:
Create, edit, or delete files
Run terminal commands
Make any system changes
How to Get Started with Plan Mode
Select “Plan” from the mode selector below the chat input, or use Cmd/Ctrl + . to cycle through modes.For detailed information about tools and usage, see the Agent documentation, which covers both Agent and Plan modes.
What Is the Common Workflow for Plan Mode?
Start in Plan mode to explore and understand
Develop your approach with the model’s help
Switch to Agent mode when ready to implement
Plan mode shares the same interface and context features as Chat and Agent
modes. You can use @ context providers and highlight code just like in other
modes.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Gobi","colors":{"primary":"#6b7280","light":"#ffffff","dark":"#000000"},"logo":{"light":"https://mintcdn.com/gourmand/Fufdu9C2YIS7Ue9k/logo/light.svg?fit=max\u0026auto=format\u0026n=Fufdu9C2YIS7Ue9k\u0026q=85\u0026s=75483d9dfd34deabbbdabd8b2ded02d0","dark":"https://mintcdn.com/gourmand/Fufdu9C2YIS7Ue9k/logo/dark.svg?fit=max\u0026auto=format\u0026n=Fufdu9C2YIS7Ue9k\u0026q=85\u0026s=7c8a2a893387392abc6ddce7162b1521","href":"https://gourmand.dev"},"favicon":"/favicon.png","background":{"color":{"dark":"#1a1a1a"}},"navbar":{"links":[{"label":"🚀 Get Started","href":"https://hub.gourmand.dev/"}],"primary":{"type":"github","href":"https://github.com/gourmand/gobi"}},"footer":{"socials":{"x":"https://twitter.com/gourmand","github":"https://github.com/gourmand/gobi","linkedin":"https://linkedin.com/company/gourmand","discord":"https://discord.gg/TODO"}},"integrations":{"ga4":{"measurementId":"G-M3JWW8N2XQ"},"posthog":{"apiKey":"phc_lBYRoFPHpgi5rYPDxRDtQmLic4ogXsJmJQlpX2wsuFi"}},"banner":{"content":"Gobi CLI v1.4.49 is live 🚀 Learn how you can [leverage the CLI with our MCP Cookbooks](/guides/overview#mcp-integration-cookbooks)"},"contextual":{"options":["copy","view"]},"navigation":{"global":{"anchors":[{"anchor":"About Us","icon":"book-open","href":"https://gourmand.dev/about-us"},{"anchor":"Community","icon":"discord","href":"https://discord.gg/TODO"},{"anchor":"Blog","icon":"newspaper","href":"https://gourmand.dev/blog"},{"anchor":"Release Notes","icon":"bullhorn","href":"https://changelog.gourmand.dev/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gourmand","hasAudioNarration":false,"actualSubdomain":"gourmand","customDomains":["docs.gourmand.dev"],"gitSource":{"type":"github","owner":"gourmand","repo":"gobi","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae9404573a0191ccbcb56e6:success","clientVersion":"0.0.4286","searchFilterCounts":[{"language":"default","tag":"Customize","count":80},{"language":"default","tag":"Guides","count":39},{"language":"default","tag":"Documentation","count":38},{"language":"default","tag":"Hub","count":26},{"language":"default","tag":"IDE Extensions","count":24},{"language":"default","tag":"Model Providers","count":23},{"language":"default","tag":"More Providers","count":11},{"language":"default","tag":"Popular Providers","count":11},{"language":"default","tag":"Cookbooks","count":9},{"language":"default","tag":"Deep Dives","count":8}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"html{scroll-behavior:smooth;scroll-padding-top:80px}h1[id],h2[id],h3[id],h4[id],h5[id],h6[id]{scroll-margin-top:80px}:target{animation:highlight 2s ease-out}@keyframes highlight{0%{background-color:rgba(255, 235, 59, 0.3)}100%{background-color:transparent}}"}]}
{"page":{"pagePath":"ide-extensions/agent/plan-mode","slug":"/ide-extensions/agent/plan-mode","pageMetadata":{"title":"Plan Mode in Gobi – Safe, Read-Only Code Exploration","sidebarTitle":"Plan Mode","description":"Learn how to use Plan Mode in Gobi to explore and understand codebases safely with read-only tools, search, and analysis before making changes","href":"/ide-extensions/agent/plan-mode"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Learn how to use Plan Mode in Gobi to explore and understand codebases safely with read-only tools, search, and analysis before making changes\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,OptimizedImage,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`what-is-plan-mode`,children:`What is Plan mode?`}),`\n`,_jsx(_components.p,{children:`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.`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/gourmand/lfYeqLX2hvXkgz5p/images/plan-mode.gif?s=d6e5ad7e6d35831bf4bf3c94305300c5`,alt:`Plan mode in action`,\"data-og-width\":`1108`,width:`1108`,\"data-og-height\":`720`,height:`720`,\"data-path\":`images/plan-mode.gif`,\"data-optimize\":`true`,\"data-opv\":`3`}),`\n`,_jsx(Heading,{level:`3`,id:`what-are-the-key-features-of-plan-mode`,children:`What Are the Key Features of Plan Mode?`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Read-only tools`}),`: Access files, search, and analyze without risk`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Safe exploration`}),`: Perfect for understanding unfamiliar codebases`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Planning focus`}),`: Develop implementation strategies before execution`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`MCP support`}),`: Works with all MCP tools alongside built-in read-only tools`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`how-plan-mode-works`,children:`How Plan Mode Works`}),`\n`,_jsx(_components.p,{children:`Plan mode filters the available tools to only include read-only operations. This means you can:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Read any file in your project`}),`\n`,_jsx(_components.li,{children:`Search through code with grep and glob patterns`}),`\n`,_jsx(_components.li,{children:`View repository structure and diffs`}),`\n`,_jsx(_components.li,{children:`Fetch web content for additional context`}),`\n`,_jsx(_components.li,{children:`Use all MCP tools`}),`\n`]}),`\n`,_jsx(_components.p,{children:`But you cannot:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Create, edit, or delete files`}),`\n`,_jsx(_components.li,{children:`Run terminal commands`}),`\n`,_jsx(_components.li,{children:`Make any system changes`}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`how-to-get-started-with-plan-mode`,children:`How to Get Started with Plan Mode`}),`\n`,_jsxs(_components.p,{children:[`Select “Plan” from the mode selector below the chat input, or use `,_jsx(_components.code,{children:`Cmd/Ctrl + .`}),` to cycle through modes.`]}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/gourmand/lfYeqLX2hvXkgz5p/images/plan-mode-selector.png?fit=max\u0026auto=format\u0026n=lfYeqLX2hvXkgz5p\u0026q=85\u0026s=ce952a30fb67850ea861248ceb0f253b`,alt:`Plan mode selector`,\"data-og-width\":`1404`,width:`1404`,\"data-og-height\":`390`,height:`390`,\"data-path\":`images/plan-mode-selector.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/gourmand/lfYeqLX2hvXkgz5p/images/plan-mode-selector.png?w=280\u0026fit=max\u0026auto=format\u0026n=lfYeqLX2hvXkgz5p\u0026q=85\u0026s=5722692b9d5c7dfdcfa633ccdc4f2025 280w, https://mintcdn.com/gourmand/lfYeqLX2hvXkgz5p/images/plan-mode-selector.png?w=560\u0026fit=max\u0026auto=format\u0026n=lfYeqLX2hvXkgz5p\u0026q=85\u0026s=35a7a3a004ef1551280e781738eea595 560w, https://mintcdn.com/gourmand/lfYeqLX2hvXkgz5p/images/plan-mode-selector.png?w=840\u0026fit=max\u0026auto=format\u0026n=lfYeqLX2hvXkgz5p\u0026q=85\u0026s=63f902eedc134e233aa96baaae383721 840w, https://mintcdn.com/gourmand/lfYeqLX2hvXkgz5p/images/plan-mode-selector.png?w=1100\u0026fit=max\u0026auto=format\u0026n=lfYeqLX2hvXkgz5p\u0026q=85\u0026s=c0b559f8944bafe613dc72d2a84f88a6 1100w, https://mintcdn.com/gourmand/lfYeqLX2hvXkgz5p/images/plan-mode-selector.png?w=1650\u0026fit=max\u0026auto=format\u0026n=lfYeqLX2hvXkgz5p\u0026q=85\u0026s=eb336e8e9ffdaace2c683b8566c554a5 1650w, https://mintcdn.com/gourmand/lfYeqLX2hvXkgz5p/images/plan-mode-selector.png?w=2500\u0026fit=max\u0026auto=format\u0026n=lfYeqLX2hvXkgz5p\u0026q=85\u0026s=2782a35a74e6b471965247c1a0ac7201 2500w`}),`\n`,_jsxs(_components.p,{children:[`For detailed information about tools and usage, see the `,_jsx(_components.a,{href:`/ide-extensions/agent/how-it-works`,children:`Agent documentation`}),`, which covers both Agent and Plan modes.`]}),`\n`,_jsx(Heading,{level:`3`,id:`what-is-the-common-workflow-for-plan-mode`,children:`What Is the Common Workflow for Plan Mode?`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Start in Plan mode`}),` to explore and understand`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Develop your approach`}),` with the model’s help`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Switch to Agent mode`}),` when ready to implement`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Plan mode shares the same interface and context features as Chat and Agent\nmodes. You can use `,_jsx(_components.code,{children:`@`}),` context providers and highlight code just like in other\nmodes.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Plan Mode in Gobi – Safe, Read-Only Code Exploration","sidebarTitle":"Plan Mode","description":"Learn how to use Plan Mode in Gobi to explore and understand codebases safely with read-only tools, search, and analysis before making changes","href":"/ide-extensions/agent/plan-mode"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What is Plan mode?","slug":"what-is-plan-mode","depth":2,"children":[{"title":"What Are the Key Features of Plan Mode?","slug":"what-are-the-key-features-of-plan-mode","depth":3,"children":[]},{"title":"How Plan Mode Works","slug":"how-plan-mode-works","depth":3,"children":[]},{"title":"How to Get Started with Plan Mode","slug":"how-to-get-started-with-plan-mode","depth":3,"children":[]},{"title":"What Is the Common Workflow for Plan Mode?","slug":"what-is-the-common-workflow-for-plan-mode","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/gourmand/be77c1dbc9ca84c2/c15t-cookie-banner.js"],"subdomain":"gourmand","siteName":"Gobi","title":"Plan Mode in Gobi – Safe, Read-Only Code Exploration - Gobi","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"ide-extensions/agent/plan-mode.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Learn how to use Plan Mode in Gobi to explore and understand codebases safely with read-only tools, search, and analysis before making changes\">\u003cmeta data-mint-head name=\"application-name\" content=\"Gobi\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gourmand/qqUux6uIb1VEqf7R/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/gourmand/qqUux6uIb1VEqf7R/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gourmand/qqUux6uIb1VEqf7R/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gourmand/qqUux6uIb1VEqf7R/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gourmand/qqUux6uIb1VEqf7R/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gourmand/qqUux6uIb1VEqf7R/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gourmand/qqUux6uIb1VEqf7R/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gourmand/qqUux6uIb1VEqf7R/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gourmand/qqUux6uIb1VEqf7R/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Plan Mode in Gobi – Safe, Read-Only Code Exploration - Gobi\">\u003cmeta data-mint-head property=\"og:description\" content=\"Learn how to use Plan Mode in Gobi to explore and understand codebases safely with read-only tools, search, and analysis before making changes\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Gobi\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gourmand.dev/ide-extensions/agent/plan-mode\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gourmand.mintlify.site/_mintlify/api/og/v2?division=Agent\u0026amp;title=Plan+Mode+in+Gobi+%E2%80%93+Safe%2C+Read-Only+Code+Exploration\u0026amp;description=Learn+how+to+use+Plan+Mode+in+Gobi+to+explore+and+understand+codebases+safely+with+read-only+tools%2C+search%2C+and+analysis+before+making+changes\u0026amp;theme=179f6f137887ec7cc125a15c\u0026amp;signature=e17e7e3779cde13f102c972056cdbcf3e5a9a48a0b388abc5e32ea84220ccf70\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Plan Mode in Gobi – Safe, Read-Only Code Exploration - Gobi\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Learn how to use Plan Mode in Gobi to explore and understand codebases safely with read-only tools, search, and analysis before making changes\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gourmand.mintlify.site/_mintlify/api/og/v2?division=Agent\u0026amp;title=Plan+Mode+in+Gobi+%E2%80%93+Safe%2C+Read-Only+Code+Exploration\u0026amp;description=Learn+how+to+use+Plan+Mode+in+Gobi+to+explore+and+understand+codebases+safely+with+read-only+tools%2C+search%2C+and+analysis+before+making+changes\u0026amp;theme=179f6f137887ec7cc125a15c\u0026amp;signature=e17e7e3779cde13f102c972056cdbcf3e5a9a48a0b388abc5e32ea84220ccf70\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/gourmand/qqUux6uIb1VEqf7R/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Gobi\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6b7280\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gourmand.dev/ide-extensions/agent/plan-mode\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/ide-extensions/agent/plan-mode.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gourmand.dev/#organization\",\"name\":\"Gobi\",\"url\":\"https://docs.gourmand.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gourmand/Fufdu9C2YIS7Ue9k/logo/light.svg?fit=max\u0026auto=format\u0026n=Fufdu9C2YIS7Ue9k\u0026q=85\u0026s=75483d9dfd34deabbbdabd8b2ded02d0\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gourmand.dev#website\",\"name\":\"Gobi\",\"url\":\"https://docs.gourmand.dev\",\"publisher\":{\"@id\":\"https://docs.gourmand.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gourmand.dev/ide-extensions/agent/plan-mode#webpage\",\"url\":\"https://docs.gourmand.dev/ide-extensions/agent/plan-mode\",\"name\":\"Plan Mode in Gobi – Safe, Read-Only Code Exploration\",\"description\":\"Learn how to use Plan Mode in Gobi to explore and understand codebases safely with read-only tools, search, and analysis before making changes\",\"isPartOf\":{\"@id\":\"https://docs.gourmand.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gourmand.dev/ide-extensions/agent/plan-mode#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gourmand.dev/ide-extensions/agent/plan-mode#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"IDE Extensions\",\"item\":\"https://docs.gourmand.dev/ide-extensions/install\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Agent\",\"item\":\"https://docs.gourmand.dev/ide-extensions/agent/quick-start\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Plan Mode in Gobi – Safe, Read-Only Code Exploration\",\"item\":\"https://docs.gourmand.dev/ide-extensions/agent/plan-mode\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.gourmand.dev/ide-extensions/agent/plan-mode#article\",\"headline\":\"Plan Mode in Gobi – Safe, Read-Only Code Exploration\",\"name\":\"Plan Mode in Gobi – Safe, Read-Only Code Exploration\",\"description\":\"Learn how to use Plan Mode in Gobi to explore and understand codebases safely with read-only tools, search, and analysis before making changes\",\"url\":\"https://docs.gourmand.dev/ide-extensions/agent/plan-mode\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gourmand.dev/ide-extensions/agent/plan-mode#webpage\"},\"publisher\":{\"@id\":\"https://docs.gourmand.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gourmand.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Gobi\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Gobi\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/ide-extensions/agent/plan-mode.md","siteName":"Gobi","nav":{"global":{"anchors":[{"anchor":"About Us","icon":"book-open","href":"https://gourmand.dev/about-us"},{"anchor":"Community","icon":"discord","href":"https://discord.gg/TODO"},{"anchor":"Blog","icon":"newspaper","href":"https://gourmand.dev/blog"},{"anchor":"Release Notes","icon":"bullhorn","href":"https://changelog.gourmand.dev/"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Getting Started","icon":"rocket-launch","pages":[{"title":"Welcome to Gobi","icon":"book-open","href":""}]},{"group":"CLI","icon":"terminal","pages":[{"title":"Gobi CLI (cn) Overview","sidebarTitle":"Overview","href":"/cli/overview"},{"title":"Install Gobi CLI","sidebarTitle":"Install","href":"/cli/install"},{"title":"Gobi CLI Quick Start","sidebarTitle":"Quick Start","href":"/cli/quick-start"},{"title":"Guides","url":"/guides/overview#mcp-integration-cookbooks","href":"/cli/guides"}]},{"group":"IDE Extensions","icon":"star","expanded":false,"pages":[{"title":"Install","href":"/ide-extensions/install"},{"title":"Quick Start Tutorial","sidebarTitle":"Quick Start","href":"/ide-extensions/quick-start"},{"group":"Agent","icon":"robot","pages":[{"title":"Quick Start","href":"/ide-extensions/agent/quick-start"},{"title":"How Agent Mode Works","description":"Agent mode offers the same functionality as Chat mode, while also including tools in the request to the model and an interface for handling tool calls and responses.","href":"/ide-extensions/agent/how-it-works"},{"title":"Plan Mode in Gobi – Safe, Read-Only Code Exploration","sidebarTitle":"Plan Mode","href":"/ide-extensions/agent/plan-mode"},{"title":"Model Setup for Agent Mode","description":"Learn how to set up models for Agent Mode in Gobi, including recommended models and configuration options for optimal performance","sidebarTitle":"Model Setup","href":"/ide-extensions/agent/model-setup"},{"title":"How to Customize Agent Mode","sidebarTitle":"Customize Agent Mode","href":"/ide-extensions/agent/how-to-customize"},{"title":"Context Selection","href":"/ide-extensions/agent/context-selection"}]},{"group":"Chat","icon":"messages","pages":[{"title":"Chat Mode Quick Start","sidebarTitle":"Quick Start","href":"/ide-extensions/chat/quick-start"},{"title":"How Chat Works","href":"/ide-extensions/chat/how-it-works"},{"title":"Recommended Models for Chat in Gobi","sidebarTitle":"Recommended Chat Models","href":"/ide-extensions/chat/model-setup"},{"title":"How to Customize Chat","href":"/ide-extensions/chat/how-to-customize"},{"title":"Chat Mode Context Selection","sidebarTitle":"Context Selection","href":"/ide-extensions/chat/context-selection"}]},{"group":"Autocomplete","icon":"sparkles","pages":[{"title":"Quick Start with Gobi Autocomplete","sidebarTitle":"Autocomplete Quick Start","href":"/ide-extensions/autocomplete/quick-start"},{"title":"How Autocomplete Works in Gobi","sidebarTitle":"How Autocomplete Works","href":"/ide-extensions/autocomplete/how-it-works"},{"title":"Recommended Models for Autocomplete in Gobi","sidebarTitle":"Recommended Autocomplete Models","href":"/ide-extensions/autocomplete/model-setup"},{"title":"“Customize Autocomplete Settings in Gobi”","href":"/ide-extensions/autocomplete/how-to-customize"},{"title":"Context Selection","href":"/ide-extensions/autocomplete/context-selection"},{"title":"Next Edit","href":"/ide-extensions/autocomplete/next-edit"}]},{"group":"Edit","icon":"pen-to-square","pages":[{"title":"Quick Start with Gobi Edit","href":"/ide-extensions/edit/quick-start"},{"title":"How Edit Works","href":"/ide-extensions/edit/how-it-works"},{"title":"How to Set Up Edit Models","sidebarTitle":"Recommended Edit Models","href":"/ide-extensions/edit/model-setup"},{"title":"How to Customize Edit Functionality","sidebarTitle":"Customize Edit","href":"/ide-extensions/edit/how-to-customize"},{"title":"Context Selection in Edit Mode","sidebarTitle":"Context Selection","href":"/ide-extensions/edit/context-selection"}]}]},{"group":"Customization","icon":"sliders","pages":[{"title":"Customization Overview","href":"/customization/overview"},{"title":"Models","href":"/customization/models"},{"title":"MCP servers","href":"/customization/mcp-tools"},{"title":"Rules","href":"/customization/rules"},{"title":"Prompts","href":"/customization/prompts"},{"title":"Settings","href":"/customization/settings"}]},{"group":"Help","icon":"book-open","pages":[{"title":"FAQs","href":"/faqs"},{"title":"Troubleshooting","href":"/troubleshooting"},{"title":"Contributing to Gobi Documentation","sidebarTitle":"Docs Contributions","href":"/CONTRIBUTING"}]}]},{"tab":"Customize","pages":[{"title":"Customize","href":"/customize/overview"}]},{"tab":"Hub","pages":[{"title":"Hub","href":"/hub/introduction"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/overview"}]},{"tab":"Reference","pages":[{"title":"Reference","href":"/reference"}]}]},"basePath":"","title":"Plan Mode in Gobi – Safe, Read-Only Code Exploration - Gobi","deploymentId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","buildId":"dpl_G6E2ur2Zjq51xGTVZPSFXsWoTxCu","dynamics":["10e4515597","a74be98ba7"],"chunks":["BannerMarkdown-CoLHY196.js","dist-C-58LlaB.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","zoom-image-lightbox-D1ofL3wq.js","lightbox-handle-r17bVUz3.js"]}