> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Plan Mode

> The agent researches, asks questions, and writes a full plan before building anything.

Plan Mode makes the agent stop and think before acting. Instead of immediately building, the agent researches your request, asks clarifying questions, and produces a detailed plan document. You review the plan, adjust it, and approve it. Only then does the agent start building.

Use Plan Mode for complex projects where getting it right the first time saves credits and effort.

## How to use Plan Mode

<Steps>
  <Step title="Enable Plan Mode">
    In the input bar, click the **Plan** toggle before sending your message. Plan Mode works within Agent Mode, not Chat Mode.

    <Frame caption="The Plan Mode toggle in the input bar.">
      <img src="https://pub-51091dcf1e9d4b04bb2e74f489c4f346.r2.dev/4a9898d328a8bb479d2dc11565b97750731f93dab5e3f224833774063266afa5.png" alt="Input bar with the Plan toggle button highlighted, showing it is enabled before sending a message" />
    </Frame>
  </Step>

  <Step title="Describe your project">
    Type what you want to build. Be as detailed or as brief as you want. The agent fills in the gaps through research and questions.

    <Prompt description="Complex website with multiple features.">
      Build a project management tool where teams can create projects, assign tasks, set deadlines, and track progress. It needs user authentication, a dashboard, and email notifications when tasks are overdue.
    </Prompt>
  </Step>

  <Step title="Answer the agent's questions">
    The agent researches your request and asks clarifying questions. Things like: who is the target audience, what integrations do you need, what is the priority order for features, do you have design preferences.
  </Step>

  <Step title="Review the plan">
    The agent produces a plan document (`plan.md`) that outlines everything it will build, in what order, and how. The plan appears.

    <Frame caption="The plan document displayed  for review.">
      <img src="https://pub-51091dcf1e9d4b04bb2e74f489c4f346.r2.dev/2c128623635ecc2de98f510334b752dcad4572ce9aa79e79f00c389140037a7b.png" alt="Side panel showing a plan.md document with sections for architecture, features, page structure, and implementation order" />
    </Frame>

    Review the plan. If anything is wrong or missing, tell the agent. It adjusts the plan before proceeding.
  </Step>

  <Step title="Approve and let the agent build">
    Once you are happy with the plan, approve it. The agent switches from planning to execution and builds everything according to the plan.
  </Step>
</Steps>

## When to use Plan Mode

<Columns>
  <div>
    ### Use Plan Mode

    * Websites with multiple pages and features
    * Projects that need a database, authentication, or payments
    * Complex multi-step tasks with dependencies
    * Anything where rework would cost significant credits
  </div>

  <div>
    ### Skip Plan Mode

    * Simple one-shot tasks (generate an image, write a quick email)
    * Small edits to existing projects
    * Quick questions or research
    * Tasks you have done before and know the output
  </div>
</Columns>

<Tip>
  Plan Mode is the difference between getting what you wanted and getting something close. For any project with more than two or three moving parts, turn it on.
</Tip>

## What you cannot do in Plan Mode

* You cannot use Plan Mode in Chat Mode. It is an Agent Mode feature.
* You cannot skip the plan and tell the agent to start building immediately while Plan Mode is enabled. Turn off Plan Mode if you want the agent to start without a plan.
* You cannot save a plan as a reusable template for future projects.

## Next steps

<CardGroup cols={2}>
  <Card title="Share a Chat" icon="share" href="/share-a-chat">
    Share your conversation and results with others.
  </Card>

  <Card title="Sandbox & Code Execution" icon="terminal" href="/sandbox-and-code-execution">
    Learn how the agent executes code in an isolated environment.
  </Card>
</CardGroup>
