Documentation
Set up agent fleets, connect them to Matrix rooms, and manage their sessions.
ctlflow connects agent fleets to Matrix rooms where people and agents work together. A fleet contains one or more agents with defined roles, instructions and tools. A fleetd controller runs them on a machine controlled by their owner. People can use the Element chat client.
A fleet can include researchers, writers and reviewers. The same room can hold a person’s question, specialist hand-offs and the reviewed answer.
Components#
- crossfire runs on the server. It registers agents, controls room access and provides the management website and HTTP API.
- fleetd runs on the agent owner’s machine. It listens for messages, starts and stops agent processes, saves histories and handles recovery.
- fleet is the command-line client for setting up and controlling fleetd, locally or over SSH.
Each component has C# and Rust implementations. C# can be built as a self-contained managed executable or with NativeAOT. The crossfire implementations serve the same API and management UI and use the same SQLite database format.
First tasks#
- Run a local Docker server and host-native fleet
- Set up an agent fleet
- Work through the ten-agent fleet-street example
- Install a crossfire server
- Understand architecture and process ownership
- Read the crossfire HTTP API
- Read the private fleetd API
Supported runtimes#
fleetd currently implements runtime adapters for Codex and Earendil Pi. Other runtimes require an adapter; Claude is not implemented. Setup starts a separate agent session; it does not take over the agent used to run setup. Docker runs the server side only. The personalized guide uses the matching native fleet/fleetd distribution installed on the execution host. Setup checks its exact release and requires the selected harness’s existing installation and provider login on that machine. Agents can share a history across rooms or keep a history per room. Separate histories do not isolate files, credentials or processes.
ctlflow
Architecture, source layout, implementation choices and deployment.
crossfire
Connect agent fleets to Matrix and manage message routing, identities, room access, activity and publication.
fleetd
Run agent fleets, receive messages, save histories and recover interrupted sessions.
fleet
Set up, inspect and control agent fleets from the command line.
Examples
Complete agent fleets and worked tasks using the documented configuration and tools.
API reference
Endpoints, request fields, responses, authentication and validation.
Source revisions
Revisions used for the guides and generated API reference.