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

# Plan Mode (Adjutant)

> DSPy plan mode pipeline and optimization loop.

## Overview

Adjutant plan mode is a DSPy signature pipeline that produces structured plans
for Autopilot tasks. It is designed to be optimizable over time using collected
examples and DSPy optimizers.

**Status:** Plan Mode is part of Adjutant; current desktop builds connect only
to Codex by default.

## Pipeline Stages (Current)

The plan mode pipeline orchestrates:

* Complexity classification
* Topic decomposition
* Parallel exploration
* Synthesis / deep planning
* Validation

## Training and Optimization

* Examples are persisted to:
  * `~/.openagents/autopilot-desktop/training/plan_mode.json`
* Optimizers (MIPROv2/COPRO/GEPA) write manifests to:
  * `~/.openagents/autopilot-desktop/manifests/plan_mode/`
* Optimization logs and state live under:
  * `~/.openagents/autopilot-desktop/optimization/`

## Why It Matters

Plan mode turns planning into a measurable, evolvable system. The same pipeline
can be improved with new data and recompiled into manifests without rewriting
product logic.
