Gemini CLI Plan Mode Separates Thinking From Doing — and Makes Read-Only the Default

The pattern across AI coding tools this week has been clear: the industry is building governance, review, and safety mechanisms as fast as it’s building capabilities. Google’s latest contribution is plan mode for Gemini CLI, announced March 11, and now enabled by default for all users.

Plan mode puts Gemini CLI in a read-only state where the agent can navigate your codebase, search for patterns, read documentation, and map dependencies — but it cannot modify any files except its own internal plans. The agent researches your request, asks clarifying questions, and proposes a strategy for your review before any code changes are made.

The idea is simple: Think before you act. The implementation has some features that make it more interesting than it sounds.

How it Works

Enter plan mode by typing /plan, pressing Shift+Tab, or asking the agent to “start a plan for” whatever you need. Gemini CLI restricts itself to read-only tools — read_file, grep_search, glob — and can use specialized sub-agents, such as the codebase investigator, to map system dependencies.

The agent creates an implementation plan as a Markdown file. You can review it, edit it directly, or provide feedback in the conversation. When you approve, Gemini CLI switches to an edit-capable mode for implementation.

Model routing adds an important dimension. In plan mode, Gemini CLI automatically routes to higher-reasoning Pro models — specifically Gemini 3.1 Pro — for architectural decisions. When it shifts to implementation, it routes to faster models. Strategy gets the reasoning model. Tactics get the speed model.

The ask_user Tool

Plan mode introduces a new ask_user tool that changes the dynamic between the developer and agent. Instead of making assumptions about your intent, the agent can pause its research and ask targeted questions — present options, request clarification on an architectural choice, or ask where a hidden configuration file lives.

This bidirectional communication during the planning phase means the plan that emerges actually reflects what you want, not what the model guessed you wanted. It’s a direct response to one of the most common failure modes in AI-assisted development: an agent confidently implementing the wrong thing because it was never asked.

Read-Only MCP Integration

Plan mode isn’t limited to local files. It supports read-only MCP tools, which means the Gemini CLI can pull context from your entire developer stack during the planning phase — read a GitHub issue, inspect a Postgres schema, search Google Docs — all without risking any modification to your codebase or external systems.

For DevOps teams, this is significant. Planning a database migration? The agent can read the current schema, check the issue tracker for related tickets, and review existing documentation before proposing an approach. All in read-only mode. The codebase stays untouched until you explicitly approve the plan and switch modes.

Conductor: The Orchestration Layer

Plan mode becomes especially powerful with Conductor, the Gemini CLI extension for context-driven development. Conductor organizes work into “tracks” with written specifications and task-oriented plans stored as persistent Markdown files in your repository — not ephemeral chat logs.

Conductor now leverages plan mode for research phases, performing exhaustive pre-flight checks with zero risk. It uses ask_user to confirm critical decisions at each milestone. The workflow follows a clear progression: context, spec and plan, then implement.

Google is working on bringing Conductor into Gemini CLI as a built-in mode — a signal of how central the plan-first approach is becoming to their agent strategy.

“Google’s Gemini CLI Plan Mode signals a shift in how AI coding agents are governed, moving approval control from autonomous execution to deliberate, human-confirmed workflows before any changes are applied. This positions Google to compete directly for enterprise adoption where deployment risk tolerance is low and audit requirements are non-negotiable,” according to Mitch Ashley, VP and practice lead for software lifecycle engineering at The Futurum Group

“In practice, teams evaluating agentic coding tools will treat plan-first execution as a baseline governance requirement. Vendors that treat autonomous execution as the default will face procurement friction as enterprise buyers require explicit control checkpoints before granting agents broader operational autonomy.”

Why This Matters for DevOps

Plan mode addresses a specific anxiety every team using AI coding agents has experienced: the agent that starts making changes before you’ve agreed on an approach. Read-only exploration as the default flips the assumption from “act first, review after” to “research first, act when approved.”

This connects to a broader pattern. IronCurtain enforces deterministic policy outside the model. VS Code hooks execute commands at agent lifecycle points. Anthropic’s Code Review dispatches agent teams before the merge. Gemini Code Assist’s Auto Approve lets the agent execute, and you review after. Each represents a different point on the agent autonomy spectrum.

Plan mode sits at the conservative end — and for database migrations, major refactors, and multi-service features, that’s exactly where teams want to start. Spending 20 minutes in read-only planning before the agent writes a line of code isn’t overhead. It’s risk management.

The model routing is the quiet differentiator. High-reasoning models for planning, faster models for execution — the same strategy-vs-tactics separation that Random Labs’ Slate implements at the system level, implemented here at the model routing level.

The extensibility matters too. Plan mode exposes enter_plan_mode, exit_plan_mode, and ask_user as tools that custom extensions can build on. Teams can define organizational planning workflows and enforce policies during the research phase using plan mode as the foundation.

Enter plan mode with /plan in Gemini CLI. Enabled by default.

Read More

Scroll to Top