Expand description
Agent adapter layer.
Each coding agent (Claude Code, Codex CLI, Aider) is wrapped in an adapter that knows how to:
- Build the command to spawn the agent in a PTY
- Provide prompt detection patterns for its output
- Format input to inject into the agent’s stdin
The supervisor uses this trait to control agents without knowing their specific CLI conventions.
Modules§
Structs§
- Spawn
Config - Configuration for spawning an agent process.
Enums§
- Backend
Health - Health state of an agent backend.
Constants§
- KNOWN_
AGENT_ NAMES - Known agent backend names (primary aliases only).
Traits§
- Agent
Adapter - Trait that all agent adapters must implement.
Functions§
- adapter_
from_ name - Look up an agent adapter by name.
- health_
check_ by_ name - Check backend health for a named agent.