> ## 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.

# Core Concepts

> Key concepts for understanding how Latch Agent works.

Understanding these core concepts will help you get the most out of Latch Agent.

***

### [Plan](/agent/plan)

<Columns>
  <div>
    Agent creates a structured plan before executing complex tasks. Review and approve the plan, or ask for modifications before execution begins.
  </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>

***

### [Modes](/agent/modes)

<Columns>
  <div>
    Choose between **Proactive** mode for autonomous execution or **Step-by-step** mode for guided, incremental analysis with approval at each stage.
  </div>

  <Frame>
    <img src="https://mintcdn.com/latchbio/O9ccDM5r9gHXixUG/images/agent/modes.png?fit=max&auto=format&n=O9ccDM5r9gHXixUG&q=85&s=a19651d993cdf9b82edfca8c589b9164" alt="Modes" width="1298" height="548" data-path="images/agent/modes.png" />
  </Frame>
</Columns>

***

### [Tools](/agent/tools)

<Columns>
  <div>
    The capabilities available to the agent, from running workflows and executing code to generating visualizations and querying databases.
  </div>

  <Frame>
    <img src="https://mintcdn.com/latchbio/O9ccDM5r9gHXixUG/images/agent/tools.png?fit=max&auto=format&n=O9ccDM5r9gHXixUG&q=85&s=d5f33c36c06b797958e3f0fd81106f12" alt="Tools" width="1920" height="980" data-path="images/agent/tools.png" />
  </Frame>
</Columns>

***

### [Code](/agent/code)

<Columns>
  <div>
    View all code the agent produces by clicking **[Edit mode](/plots/layouts#edit-vs-app-mode)**. Every analysis step is transparent and can be modified or rerun.
  </div>

  <Frame>
    <img src="https://mintcdn.com/latchbio/O9ccDM5r9gHXixUG/images/agent/code.png?fit=max&auto=format&n=O9ccDM5r9gHXixUG&q=85&s=89f22fa221a69cfc72e521c4eb6cdc91" alt="Code" width="1540" height="1276" data-path="images/agent/code.png" />
  </Frame>
</Columns>

***

### [Environment](/agent/environment)

<Columns>
  <div>
    Agent runs on Latch Plots with specific behaviors for startup, shutdown, dependencies, and resource allocation. Understand how sessions persist between restarts.
  </div>

  <Frame>
    <img src="https://mintcdn.com/latchbio/O9ccDM5r9gHXixUG/images/agent/environment.png?fit=max&auto=format&n=O9ccDM5r9gHXixUG&q=85&s=3a6d94de73cd3f4ff146fef7f2d96cbc" alt="Environment" width="1006" height="556" data-path="images/agent/environment.png" />
  </Frame>
</Columns>

***

### [Context](/agent/context)

<Columns>
  <div>
    What the agent sees and uses to inform its responses, including your data, conversation history, and available tools. Learn how to manage context effectively.
  </div>

  <Frame>
    <img src="https://mintcdn.com/latchbio/O9ccDM5r9gHXixUG/images/agent/context.png?fit=max&auto=format&n=O9ccDM5r9gHXixUG&q=85&s=3ca2685fede48879ab26a7ffe723dd68" alt="History" width="1302" height="1188" data-path="images/agent/context.png" />
  </Frame>
</Columns>

***

### [History](/agent/history)

<Columns>
  <div>
    Access past conversations with the agent. Review previous discussions and analysis results.
  </div>

  <Frame>
    <img src="https://mintcdn.com/latchbio/O9ccDM5r9gHXixUG/images/agent/history.png?fit=max&auto=format&n=O9ccDM5r9gHXixUG&q=85&s=cc93ca5d8cf784c850314b4b583c7fa8" alt="History" width="2468" height="872" data-path="images/agent/history.png" />
  </Frame>
</Columns>

***
