Introduction
Castellan
Self-evolving agent coordination runtime — the harness is the castellan.
Install
curl -fsSL https://raw.githubusercontent.com/Alphabetsoup16/Castellan/main/install.sh | bash
Agents wake from a decaying pressure field, verify work through typed harness recursion (RAH), and improve topology from episode logs. Default castellan run is deterministic — wire LLMs via MCP, ACP, or remote panes when you need them.
Why Castellan
| Typical harness | Castellan | |
|---|---|---|
| Coordination | Scripts / chat | Pressure field + scheduler |
| Topology | Fixed | Evolved from episodes |
| Recursion | API subagents | RAH-verified multiplexer depth |
| Execution | Vendor PTY | In-tree mux + castellan dashboard |
Episode flywheel
flowchart LR
RUN[castellan run] --> LOG[.castellan/episodes]
LOG --> EVOLVE[castellan evolve]
EVOLVE --> GATE[castellan drift-check]
GATE --> RUN
classDef runtime stroke:#0969da,stroke-width:2px
classDef evolve stroke:#d97706,stroke-width:2px
classDef gate stroke:#1a7f37,stroke-width:2px
class RUN,LOG runtime
class EVOLVE evolve
class GATE gate
- Run —
castellan runorcastellan run --rlm - Log — episode JSON under
.castellan/episodes/ - Evolve — topology mutations from the corpus
- Gate —
castellan drift-checkagainst the verification manifest
castellan run --goal "reach target" --plugin gridworld
Common commands
castellan run --goal "reach target" --plugin gridworld
castellan --help
castellan evolve --episodes 16 --workspace .castellan/episodes
castellan drift-check
Quickstart · Daily driver · What Castellan is / is not · CLI reference