Plan Mode
So far the agent read, ran, and fixed immediately — one continuous perceive-act-observe loop. But before a large or risky change (a migration touching dozens of files, deleting an entire module, a database schema change), it's better to pause for a moment: let the agent explore read-only, present an
Before a complex operation, a heart surgeon doesn't pick up the scalpel right away. They first present an exact plan and require a signed informed-consent form — only then do they begin to cut.
- Plan Mode
- A working mode in which the agent is limited to read-only actions, explores the project and proposes a plan, and waits for your explicit approval before editing any file.
- read-only exploration
- A phase where the agent may only run commands that change nothing — like grep or cat — to understand the real state before proposing a plan.
- explicit approval gate
- The moment the agent waits for a clear yes/no answer from you before making even a single change to a file.