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

# Adjutant Agent

> DSPy-native agent used in Autopilot Desktop.

## Overview

Adjutant is a DSPy-native agent for the Autopilot ACP system. Unlike Codex or
Gemini adapters that wrap external binaries, Adjutant runs natively in Rust
with first-class dsrs support.

**Status:** The repo includes Adjutant, but current desktop builds connect only
to Codex by default.

## Key Characteristics

* Native Rust implementation (no external process spawning)
* DSPy signature pipelines for planning and execution
* Unified event stream + signature-driven UI updates

## Plan Mode Signatures

Plan mode signatures live in `crates/dsrs/src/signatures/plan_mode.rs` and are
exposed through the signature registry:

* TopicDecompositionSignature
* ParallelExplorationSignature
* PlanSynthesisSignature
* ComplexityClassificationSignature
* DeepPlanningSignature
* ResultValidationSignature

## Optimization Loop

Plan mode examples and manifests are stored locally:

* `~/.openagents/autopilot-desktop/training/plan_mode.json`
* `~/.openagents/autopilot-desktop/manifests/plan_mode/`
* `~/.openagents/autopilot-desktop/optimization/`

Optimizers: MIPROv2, COPRO, GEPA.

## Integration Surface

* **Backend**: `crates/adjutant/` (DSPy pipelines) + `crates/autopilot_app/` (desktop wiring)
* **UI**: `crates/autopilot_ui/` (WGPUI surfaces)
* **Events**: emits app/server events consumed by the desktop runtime

## Why It Matters

Adjutant is the pathway to programmable, optimizable behavior in Autopilot. It
turns planning into a first-class, measurable system instead of ad hoc prompts.
