Paul Krill
Editor at Large

Gemini CLI introduces plan mode

news
Mar 12, 20262 mins

Plan mode restricts Gemini CLI to working with read-only tools and prevents it from modifying any files except its own internal plans.

Credit: Shutterstock / Jay Fog

Google has added a plan mode to Gemini CLI, its open-source software engineering agent that runs on the command line.

With plan mode, announced March 11, Gemini CLI focuses first on analyzing a request, planning complex changes, and understanding the codebase or dependencies in a read-only mode that is safe from accidental changes or executions. Plan mode will also ask questions to clarify goals before proposing a strategy for a user to review. Plan mode is now is enabled by default for all users, according to Google. Users can enter plan mode at any time by typing /plan in the input box, pressing Shift+Tab to cycle through approval modes, or simply asking the agent to “start a plan.”

Plan mode restricts Gemini CLI to a subset of read-only tools such as read_file, grep_search, and glob to validate assumptions, Google said. When active, the agent can navigate a codebase, search for patterns, and read documentation, but it cannot modify any files except for its own internal plans. Users can ask Gemini CLI to “research how to migrate this database” or “plan a new feature,” and dependencies will be mapped out and a solution proposed without risk of eager code changes. A new ask_user tool has been introduced, allowing the agent to pause its research and ask targeted questions to clarify a user’s goals or gather missing information.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author