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

# Plan

> How Latch Agent creates structured plans for complex tasks.

<Columns>
  <div>
    Before executing complex tasks, Latch Agent creates a structured plan that breaks down the work into manageable steps. This gives you visibility into what the agent intends to do.
  </div>

  <Frame>
    <img src="https://mintcdn.com/latchbio/O9ccDM5r9gHXixUG/images/agent/plan.png?fit=max&auto=format&n=O9ccDM5r9gHXixUG&q=85&s=28d6f9255ffcfe169392e2f2fc8076df" alt="Plan" width="1276" height="834" data-path="images/agent/plan.png" />
  </Frame>
</Columns>

## How It Works

When you request a complex analysis or task, Latch Agent automatically:

1. Analyzes your request to understand the goals and requirements
2. Creates a structured plan with sequential steps
3. Presents the plan for review (behavior depends on the execution mode)
4. Executes the plan according to your selected mode

### In Step-by-Step Mode

The agent presents the plan and waits for your approval before executing each step. You can review, modify, or approve the plan before execution begins.

### In Proactive Mode

The agent creates the plan and proceeds with execution autonomously, executing steps automatically without requiring approval at each stage.
