Skip to content

β›΅ Multi-agent fleet management CLI for OpenClaw and others. Built for AI agents to manage AI agents. Works on any system 🦞

License

Notifications You must be signed in to change notification settings

oguzhnatly/fleet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Fleet

Multi-agent fleet management for OpenClaw

One CLI to monitor, manage, and orchestrate your entire AI agent fleet.

CI ClawHub License Bash 4+

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 🦞

Fleet Demo

Why Fleet?

πŸ” 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.

Quick Start

# 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

Commands

Monitoring

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

Development

Command Description
fleet ci [filter] GitHub CI status across all repos
fleet skills List installed ClawHub skills

Operations

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

fleet agents

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

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

fleet ci

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

Fleet Health Check
──────────────────
  βœ… coordinator (:48391) 12ms

Endpoints
  βœ… website (200) 234ms
  βœ… api (200) 89ms
  ❌ docs UNREACHABLE

Services
  βœ… openclaw-gateway

Patterns

Fleet supports any agent organization pattern. Three common ones:

Solo Empire

One brain, many hands. The indie hacker setup.

         Coordinator (Opus)
        /     |      \
    Coder  Reviewer  Deployer
   (Codex)  (Codex)   (Codex)

Development Team

Team leads managing specialized developers.

              Orchestrator (Opus)
            /        |         \
      FE Lead     BE Lead     QA Lead
     (Sonnet)    (Sonnet)    (Sonnet)
       / \          |           |
    Dev1  Dev2    Dev1       Tester
   (Codex)(Codex)(Codex)    (Codex)

Research Lab

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.

Configuration

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.

Environment Variables

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)

Architecture

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/.

For AI Agents

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.

Requirements

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

Contributing

Issues and PRs welcome. See CONTRIBUTING.md for guidelines.

Built by a solo operation, for solo operations.

Support

If Fleet is useful to you, consider supporting its development:

Sponsor on GitHub

License

MIT Β· Oguzhan Atalay

About

β›΅ Multi-agent fleet management CLI for OpenClaw and others. Built for AI agents to manage AI agents. Works on any system 🦞

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Languages