Swarmz

Plan Mode

Review the agent's approach before it writes any code

When a change touches multiple files, the agent writes a plan first. You see exactly what it intends to do — which files it'll create, edit, or delete — before any code is written.

Plan mode showing a step-by-step breakdown

How it works

Describe the change

Type your request in chat. For multi-file changes, the agent automatically enters plan mode.

Review the plan

The agent lists each step: files to create, edits to make, packages to install, migrations to run.

Adjust or approve

If the plan looks right, approve it. If not, tell the agent what to change and it'll revise.

Execution

The agent works through the plan step by step. The preview updates as each change lands.

Steering the plan

If the agent's plan isn't quite right, give it direction:

Don't create a new component — add it to the existing Dashboard component
Use the existing useApi hook instead of raw fetch calls

The agent adjusts the plan and waits for approval again before writing code.

On this page