Plan mode
In plan mode, the agent you’re talking to investigates and proposes instead of acting. It keeps its model, its tools and the conversation, but it can’t change anything while it plans. When the plan is ready, you decide whether it carries it out.
Use it before a change you want to review first: a refactor, a fix that touches several files, or a task where you’re not sure what the agent would do.
Plan mode works in web chat and in virtuai chat, the VirtuAI CLI’s chat, from CLI 1.0.7. It needs an agent on the Deep harness. See Deep agents.
Turn it on
Section titled “Turn it on”In web chat
Section titled “In web chat”Press Shift+Tab in the composer. In dev mode you can also type /plan; /plan on and /plan off set it explicitly.
While plan mode is on, the message box changes color and a Plan pill appears under it. Select the pill or press Shift+Tab again to turn it off.
Each conversation keeps its own plan mode while the page is open. Reloading the page turns it off. Voice messages you send while it’s on are planning turns too.
Web chat only offers plan mode for an agent on the Deep harness.
In the CLI
Section titled “In the CLI”Press Shift+Tab, or type /plan. /plan on and /plan off set it explicitly.
While plan mode is on, the composer’s border changes color, a ⏸ plan chip appears next to the composer’s other chips, and the status bar shows ⏸ plan. Select the chip or press Shift+Tab again to turn it off.
Planning turns
Section titled “Planning turns”Every message you send while it’s on is a planning turn.
What the agent can do while planning
Section titled “What the agent can do while planning”| Allowed | Refused |
|---|---|
| Read, list and search files | Writing, editing or uploading files |
Commands that only look, such as ls, cat, grep, rg, find, git status, git log and git diff |
Any other command: installing, building, running tests, scripts and interpreters, and anything that writes to a file |
| Searching knowledge bases | Custom tools and built-in tools |
| MCP tools that the server marks as read-only | Other MCP tools, and handing work to sub-agents |
A refused step doesn’t stop the turn. The agent is told the step isn’t run while planning, and it puts what it would do in the plan instead. The agent still sees all of its tools, so it can plan with them.
These limits are enforced by VirtuAI, not left to the agent’s instructions. When VirtuAI can’t tell that a command only reads, it refuses it.
The plan
Section titled “The plan”The agent ends its answer with a plan: the steps, the files each one touches and what changes in each, how to verify the result, and the risks. If something essential is unclear, it asks you first.
When the plan is finished, you’re asked Carry out this plan?
| Web chat | CLI | What it does |
|---|---|---|
| Carry out the plan | Yes, carry it out | Turns plan mode off and sends “Carry out the plan.” The agent then works normally, with your usual command approvals. |
| Keep planning | No, keep planning | Leaves plan mode on. Write what to change and the agent revises the plan. |
In web chat the question appears under the agent’s last reply while plan mode is on and nothing is running.
Limits
Section titled “Limits”- Plan mode is available in web chat and the CLI’s chat, not on the other channels.
- An agent on the Classic harness can’t plan: web chat doesn’t offer it, and in the CLI the turn ends with “Plan mode needs an agent on the deep harness.”
- If the VirtuAI server you’re connected to doesn’t support plan mode, the answer is stopped before the agent does anything, and you’re told so. In web chat, plan mode is then turned off.
Plan mode is not the built-in Plan agent. That’s a separate agent with its own conversation, which doesn’t know what the agent you were talking to was doing.
