Multi-agent fleet management for OpenClaw
One CLI to monitor, manage, and orchestrate your entire AI agent fleet.
Quick Start β’ Commands β’ Patterns β’ Configuration β’ Docs
You're running multiple OpenClaw gateways: a coordinator that thinks, employees that code, review, deploy, and research. Fleet gives your coordinator full operational awareness. Which agents are up, which CI is red, what changed since the last check.
Built for AI agents to manage AI agents. Works on any system π¦
π Visibility Β· Know which agents are up, which CI is red, what changed overnight. One command, full picture.
π Delta tracking Β· SITREP remembers the last run. Only shows what changed. No noise.
π§ Zero config Β· fleet init detects running gateways, discovers your workspace, links itself to PATH. One command to go from clone to operational.
π§© Modular Β· Each command is a separate file. Adding a new command means dropping a .sh file in lib/commands/. No monolith, no framework.
β‘ Agent native Β· Designed to be used by agents, not just humans. The SKILL.md teaches any OpenClaw agent to manage a fleet autonomously, install dependencies, and adapt to any environment. If bash isn't available, your agent figures out another way.
π¦ Pattern library Β· Solo empire, dev team, research lab. Pre built configs for common setups.
# Install via ClawHub
clawhub install fleet
# Or via skills.sh (works with Claude Code, Codex, Cursor, Windsurf, and more)
npx skills add oguzhnatly/fleet
# Or clone directly
git clone https://github.com/oguzhnatly/fleet.git
fleet/bin/fleet init # links PATH, detects gateways, creates config
# Check your fleet
fleet agents
fleet health
fleet sitrep| Command | Description |
|---|---|
fleet health |
Health check all gateways and endpoints |
fleet agents |
Show agent fleet with live status and latency |
fleet sitrep [hours] |
Full SITREP with delta tracking |
fleet audit |
Check for misconfigurations and risks |
| Command | Description |
|---|---|
fleet ci [filter] |
GitHub CI status across all repos |
fleet skills |
List installed ClawHub skills |
| Command | Description |
|---|---|
fleet backup |
Backup gateway configs, cron jobs, auth profiles |
fleet restore |
Restore from latest backup |
fleet init |
Interactive setup with gateway detection |
See more command output examples
Agent Fleet
βββββββββββ
β¬’ coordinator coordinator claude-opus-4 :48391 online 13ms
β¬’ coder implementation codex :48520 online 8ms
β¬’ reviewer code-review codex :48540 online 9ms
⬑ deployer deployment codex :48560 unreachable
β¬’ qa quality-assurance codex :48580 online 7ms
Fleet Audit
βββββββββββ
Configuration
β
Config file exists at ~/.fleet/config.json
β
Config permissions: 600
β
All agent tokens configured
β
No placeholder tokens found
Agents
β
All 5 agents online
β
Main gateway healthy (:48391)
CI
β
gh CLI available
β
All CI green
Resources
β
Memory usage: 43%
β
Disk usage: 7%
Backups
β
Last backup: 2 day(s) ago
All clear Β· 11 checks passed, 0 warnings
CI Status
βββββββββ
frontend (myorg/frontend)
β
Update homepage (main) passed 2h ago
β
Fix footer (main) passed 4h ago
backend (myorg/backend)
β Add endpoint (main) failed 1h ago
β
Fix auth (main) passed 3h ago
Fleet Health Check
ββββββββββββββββββ
β
coordinator (:48391) 12ms
Endpoints
β
website (200) 234ms
β
api (200) 89ms
β docs UNREACHABLE
Services
β
openclaw-gateway
Fleet supports any agent organization pattern. Three common ones:
One brain, many hands. The indie hacker setup.
Coordinator (Opus)
/ | \
Coder Reviewer Deployer
(Codex) (Codex) (Codex)
Team leads managing specialized developers.
Orchestrator (Opus)
/ | \
FE Lead BE Lead QA Lead
(Sonnet) (Sonnet) (Sonnet)
/ \ | |
Dev1 Dev2 Dev1 Tester
(Codex)(Codex)(Codex) (Codex)
Specialized agents for knowledge work.
Director (Opus)
/ | \ \
Scraper Analyst Writer Fact Check
(Codex) (Sonnet) (Sonnet) (Codex)
See docs/patterns.md for detailed guides and examples/ for configs.
Fleet reads ~/.fleet/config.json. Create one with fleet init or manually:
{
"workspace": "~/workspace",
"gateway": {
"port": 48391,
"name": "coordinator"
},
"agents": [
{ "name": "coder", "port": 48520, "role": "implementation", "model": "codex" },
{ "name": "reviewer", "port": 48540, "role": "code review", "model": "codex" }
],
"endpoints": [
{ "name": "website", "url": "https://myapp.com" },
{ "name": "api", "url": "https://api.myapp.com/health" }
],
"repos": [
{ "name": "frontend", "repo": "myorg/frontend" },
{ "name": "backend", "repo": "myorg/backend" }
]
}Everything is configurable. No hardcoded ports, models, or names. Your fleet, your way.
See docs/configuration.md for the full schema.
| Variable | Description | Default |
|---|---|---|
FLEET_CONFIG |
Config file path | ~/.fleet/config.json |
FLEET_WORKSPACE |
Workspace override | Config value |
FLEET_STATE_DIR |
State persistence | ~/.fleet/state |
NO_COLOR |
Disable colors | (unset) |
fleet/
βββ bin/fleet # Entry point
βββ lib/
β βββ core/ # Config, output, state management
β β βββ config.sh # JSON config loader
β β βββ output.sh # Colors, formatting, HTTP helpers
β β βββ state.sh # Delta state persistence
β βββ commands/ # One file per command
β βββ agents.sh # Agent fleet status
β βββ audit.sh # Misconfiguration checker
β βββ backup.sh # Config backup/restore
β βββ ci.sh # GitHub CI integration
β βββ health.sh # Endpoint health checks
β βββ init.sh # Interactive setup
β βββ sitrep.sh # Structured status reports
β βββ skills.sh # ClawHub skill listing
βββ templates/configs/ # Config templates
βββ examples/ # Architecture pattern examples
β βββ solo-empire/
β βββ dev-team/
β βββ research-lab/
βββ docs/ # Documentation
βββ tests/ # Integration tests
βββ SKILL.md # ClawHub agent instructions
βββ .github/workflows/ # CI pipeline
Modular by design. Each command is a separate file. Add your own by dropping a .sh file in lib/commands/.
Fleet ships with a SKILL.md that any AI coding agent can read. Install it and your coordinator automatically knows how to manage the fleet:
clawhub install fleet # OpenClaw agents
npx skills add oguzhnatly/fleet # Claude Code, Codex, Cursor, Windsurf, etc.The agent reads the skill file, learns the commands, and runs health checks autonomously during heartbeat cycles.
| Dependency | Version | Notes |
|---|---|---|
| bash | 4+ | macOS ships 3.2, run brew install bash |
| python3 | 3.10+ | No pip packages needed |
| curl | any | Pre installed on most systems |
| OpenClaw | any | Gateway support required |
| gh CLI | any | Optional, for CI commands |
Issues and PRs welcome. See CONTRIBUTING.md for guidelines.
Built by a solo operation, for solo operations.
If Fleet is useful to you, consider supporting its development:
