Clusydocs
Core concepts

Plan mode

Have the agent research and lay out a reviewable plan before it builds anything, then approve it and watch it run.

Most of the time the agent works step by step, writing and running cells as it goes. Plan mode is for the bigger jobs, where you'd rather see the whole approach laid out and sign off on it before any code gets written.

Turning it on

There's a Plan toggle in the chat composer, next to where you type (the workflow glyph). Flip it on and your next message asks Clusy to research the problem and draft a plan first, instead of jumping straight to cells. Flip it back off and the agent goes back to building as it goes.

Plan, then build, then run

With Plan mode on, a request moves through three stages:

  1. Plan. The agent researches the task and writes a plan document: a short summary, the datasets and any reference papers it found, an ordered list of steps, and a flow chart of the cells it intends to create. Nothing is written to your notebook yet.
  2. Build. Once you approve, the agent creates the cells the plan describes, in order.
  3. Run. It executes them, and you watch the results come in.

The plan document opens in its own canvas tab. A compact card in the chat column tracks the live stage and links straight to it.

Reviewing the plan

While the plan is Ready for review, nothing runs until you decide. The flow chart is interactive: drag to pan, scroll to zoom, and click any node to read its description and a short code sketch. You can leave notes on individual steps. When you're ready, the header gives you four choices:

  • Execute builds the cells and runs them.
  • Build only creates the cells but stops short of running them, so you can look before anything executes.
  • Revise lets you write what should change, like "add a class-imbalance step" or "drop that reference," and the agent re-plans and comes back for another review.
  • Discard throws the plan away.

Watching it run

After you approve, the stage badge moves through Building cells, Cells built, Running, and finally Complete. The flow chart lights up as it goes, with each node tracking the cell it stands for, so you can see at a glance what's done, what's running, and what failed.

The plan is shared

A plan belongs to the project, not to one chat. It's visible from every session, and it sticks around across reloads. While one session is building a plan, it holds onto the work so two sessions don't run the same plan at once. If that session stops responding partway through, the plan shows as stalled and another session can pick it up with Resume build.

When to reach for it

Use Plan mode when the task is large, or when you want a say in the approach before any code lands, like a multi-step modeling pipeline. For quick, obvious work, leave it off and let the agent build as it goes.

On this page