What each mode may do
All three modes can read a file, list files by pattern, search the repository by regular expression, read the task list and read artifacts. Only Agent can write a file, edit a file, run a command, write the task list, or dispatch the background search worker.
The lock is on the tools, not on the model
The three modes are worth trusting because of where the decision is made. In Ask and Plan the mutating tools, writing, editing, running a shell command, writing the task list and dispatching the background worker, are simply absent from the catalog the turn is built with. The model is not asked to behave: there is no instruction it could misread or talk itself out of, because the tool is not there to call. If one is called anyway, the call is refused a second time when it is dispatched. Plan gets one extra tool the others do not: the plan writer. That is the only thing that fills the Plan tab.Choose a mode, and change it per turn
1
Pick the mode for the first turn
On Code Home, the controls row under the prompt carries Ask, Plan and Agent. The mode is stored on the session, and a new session defaults to Agent.
2
Send the task
Press Start session. The turn is built with the catalog that mode allows, and nothing widens it afterwards.
3
Change it on a follow-up
The follow-up composer inside the session carries the same mode menu, so the mode can change on every turn. Pick a mode and send the follow-up: the new mode applies to that turn. A follow-up that does not pick one keeps the session’s current mode.
What a Plan turn gives you
A Plan turn reads the repository and returns a structured proposal: titled steps, the files it expects to touch, the risks it sees, and a rendered diagram. The product’s own word for the diagram is mermaid, which is why the mode’s description mentions it. The Plan tab in the output pane appears only when the session has a plan. Nothing changes in the repository while you read it. Ask for adjustments as many times as you like, in Plan, and send an Agent turn when the approach is right. The cheap moment to redirect a change is before any file moves.Ask and Plan in the Changes pane
The Changes pane is where file writes wait for a human decision. In Ask or Plan there is nothing there to decide, and the pane says so outright:Ask and Plan do not change files, so there is nothing to review here.That is the mode reporting itself, not a failure. See Changes and diffs.
Security is not a fourth mode
Under the three modes there is a fourth row labelled Security, with the hint Open Security mode for this repository. It is a link, not a mode: it leaves the composer for Cortex Security, which reads a pull request and posts a review instead of writing code. A session’s interaction stays Ask, Plan or Agent. See Pull-request review.What no mode can reach
The mode is chosen per session and per turn only. There is no workspace setting that pins a read-only default, and Code settings does not offer one. If you want a session to stay in Ask, keep choosing Ask on each turn.
Related
- Code sessions for the transcript, follow-ups and the session board.
- How Code works for the turn loop the mode is built into.
- Permissions and approvals for the two gates an Agent turn meets.
- Changes and diffs for reading and approving what an Agent turn proposes.
- Modes and permissions in the CLI for the same choice in a terminal.
- Code troubleshooting when a turn will not edit anything.