Fleet Engineering

July 20, 2026 · View on GitHub

fleet-audit dogfood fleet-audit npm fleet-init npm fleet-budget npm fleet-cost npm MIT Pages

Fleet Engineering — Govern populations of agents with accountability

You don’t have an agent problem. You have a population problem. Get a Fleet Ready score.

Fleet engineering is replacing ad-hoc populations of agents with an accountable organization. You design the registry, identity, permissions, inbox, audit trail, and sovereign control that let many loops run safely across a team.

npx @cobusgreyling/fleet-init .
npx @cobusgreyling/fleet-audit . --suggest
# Optional: attach a loop layer
npx @cobusgreyling/fleet-init . --with-loop daily-triage

A fleet is not "many agents." A fleet is a governed population where every action answers one sentence:

Which agent did it, with what authority, against what task, evidenced by what?

→ cobusgreyling.github.io/fleet-engineering
→ Fleet Ready Score (F0–F3)
→ Fleet Engineering essay on Substack

Start here (pick your pain)

SymptomStart with
"We have agents everywhere"Team Agent Registry
Agents act without oversightShared Inbox HITL
Token bill surpriseFleet Budget Guard
"Who did this?" in an incidentCross-Agent Audit
Already have loopsFleet + Loop starter

Unsure? Use the Pattern Picker.

The Stack

LayerUnit of designQuestion
Context EngineeringOne inferenceWhat does the model see?
Harness EngineeringOne agent runHow does a single run execute safely?
Loop EngineeringOne autonomous systemWhat keeps prompting and verifying over time?
Fleet EngineeringMany agents + loopsHow do populations coordinate and govern at scale?
Start hereDescription
Fleet Ready ScoreF0–F3 scoring contract (fleet-audit) — same ritual as Loop Ready
Relaunch playbookGrowth pack: positioning, 7-day ship plan, metrics
ConceptsFleet vs loop vs harness — read this first
Assistant vs ClawRunnable identity models (on-behalf-of vs fixed credentials)
Maturity ModelF0–F3 phased rollout
Five ConcernsTopology, choreography, identity, economics, sovereign control
Accountability TestThe one-sentence standard for real fleets
Pattern PickerWhich fleet pattern to adopt first
Failure ModesIncident-style catalog
Primitives MatrixDIY vs LangSmith vs Cursor vs Claude Code vs Grok
Fleet vs FrameworksGovernance vs LangGraph / CrewAI
Fleet Design ChecklistShip readiness rubric (F0–F3)
Patterns6 production fleet patterns
StartersClone-and-run kits + GitHub template
ExamplesRunnable DIY / LangSmith / OpenHermit walkthroughs
fleet-auditnpx @cobusgreyling/fleet-audit
fleet-initnpx @cobusgreyling/fleet-init
fleet-budgetnpx @cobusgreyling/fleet-budget
fleet-costnpx @cobusgreyling/fleet-cost
StoriesReal wins and honest failures

Getting Started (5 minutes)

# 1. Scaffold fleet + optional loop layer
npx @cobusgreyling/fleet-init ~/my-fleet --pattern team-agent-registry --with-loop daily-triage

# 2. Audit readiness (schema + shadow-agent checks)
npx @cobusgreyling/fleet-audit ~/my-fleet --suggest

# 3. Roll up caps and attribute spend
npx @cobusgreyling/fleet-budget ~/my-fleet
npx @cobusgreyling/fleet-cost ~/my-fleet

# 4. Start F1: registry + permissions only — no unattended L2+ loops

GitHub template: enable "Template repository" in repo settings, then Use minimal-fleet template.

From a clone:

git clone https://github.com/cobusgreyling/fleet-engineering.git
cd fleet-engineering && npm install && npm test
node tools/fleet-init/cli.js /tmp/fleet-demo --pattern team-agent-registry

Phased rollout: F0 ad-hoc → F1 catalog + inbox → F2 shared agents + budgets → F3 enterprise governance

The Seven Fleet Primitives

PrimitiveJob in the Fleet
RegistryWhat agents exist, who owns them, version, lifecycle
Identity & credentialsClaw (service) vs assistant (act-as-user)
Permissions & sharingclone / run / edit; workspace vs individual
Inbox / escalationFleet-wide HITL; approve/reject across agents
Observability & auditTraces, decision evidence, cross-agent search
EconomicsBudgets, quotas, cost attribution per agent/team
Sovereign controlKill switch, rollback, autonomy tiers

Full detail: docs/primitives.md · Cross-platform matrix: docs/primitives-matrix.md

Anatomy of a Fleet (Mermaid)

flowchart TB
    subgraph Registry
        R[Agent Registry<br/>manifests + owners]
    end
    subgraph Identity
        I[Credentials model<br/>Claw vs Assistant]
        P[Permissions<br/>clone · run · edit]
    end
    subgraph Operations
        L1[Loop A]
        L2[Loop B]
        L3[Loop C]
    end
    subgraph Control
        IN[Shared Inbox<br/>HITL]
        AU[Audit / Traces]
        EC[Budgets & Quotas]
        KS[Kill Switch]
    end
    R --> L1 & L2 & L3
    I --> L1 & L2 & L3
    P --> L1 & L2 & L3
    L1 & L2 & L3 --> IN
    L1 & L2 & L3 --> AU
    EC --> L1 & L2 & L3
    KS --> L1 & L2 & L3

Patterns

PatternScaleStarterWeek 1Cost risk
Team Agent Registry3–20 agentsminimal-fleetF1 catalog onlyLow
Shared Inbox HITL2+ active agentsminimal-fleetF1 approve-onlyLow
Hierarchical Delegationmanager + workersminimal-fleetF1 report chainMedium
Agent Clone & Fork1 → many teamsminimal-fleetF1 clone policyLow
Fleet Budget Guardany active fleetminimal-fleetF1 caps onlyLow
Cross-Agent Auditcompliance / incidentsminimal-fleetF1 read-only auditLow

Machine-readable index: patterns/registry.yaml

Operating & Safety

Contributing

Share production patterns, platform mappings, and failure stories. See CONTRIBUTING.md.

License

MIT


Practical, platform-aware reference for fleet engineering — patterns you can clone, checklists you can ship against, and stories that include what broke.