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

# Modes

> Switch between Agent and Plan modes

ami has two modes for different workflows.

## Agent Mode

Full capability. ami reads files, writes code, runs commands, and edits your codebase. This is the default mode.

Use Agent Mode when you want ami to make changes directly to your code.

## Plan Mode

Research only. ami reads files, searches code, fetches documentation, and creates plans, but makes no changes.

Use Plan Mode when you want to explore before committing to an approach.

## Switching Modes

Press `Shift+Tab` to toggle between modes, or click **Agent** / **Plan** in the chat input area.

<Tip>
  Use Plan Mode for exploration. When you're unsure how to approach something,
  switch to Plan Mode first. Get a plan, review it, then switch to Agent Mode to
  execute.
</Tip>
