FleetHawk is a CLI for AI fleet diagnostics, monitoring, and release safety. It works with OpenClaw, Claude Code, Codex, and any agent framework that leaves useful config, workspace, or session artifacts behind.
AI agents fail silently. Wrong models, stale configs, broken prompts, localhost DBs in production, and ghost monitoring entries all look harmless until they become incidents; FleetHawk catches them before that happens.
npm install -g fleethawk
fleethawk doctorOne-shot fleet health view with model names, last activity, last task, and colored status.
fleethawk statusSample output:
π¦
FleetHawk Status
ββββββββββββ¬βββββββββββββββββββββββββββββββ¬βββββββββββββ¬βββββββ¬ββββββββ¬ββββββββββ¬βββββββββββββββββββββββββββββ¬βββββββββββββββ
β Agent β Model β Last Outputβ Idle β Files β Commits β Last Task β Status β
ββββββββββββΌβββββββββββββββββββββββββββββββΌβββββββββββββΌβββββββΌββββββββΌββββββββββΌβββββββββββββββββββββββββββββΌβββββββββββββββ€
β atlas β anthropic/claude-sonnet-4-6 β 2m ago β 2m β 14 β 2 β Refactor auth module β β
active β
β nova β openai/gpt-5.4 β 15m ago β 15m β 8 β 1 β Fix payment webhook β β
active β
β scout β google/gemini-2.5-pro β 1h ago β 1h β 3 β 0 β Research API docs β β οΈ idle β
β forge β anthropic/claude-opus-4-6 β 3h ago β 3h β 0 β 0 β Deep code review β π΄ silent β
β pixel β ollama/qwen3.5-35b-a3b β never β n/a β 0 β 0 β β β π΄ no output β
β sage β moonshot/kimi-k2.5 β 45m ago β 45m β 2 β 0 β Summarize meeting notes β β οΈ idle β
ββββββββββββ΄βββββββββββββββββββββββββββββββ΄βββββββββββββ΄βββββββ΄ββββββββ΄ββββββββββ΄βββββββββββββββββββββββββββββ΄βββββββββββββββ
Continuous monitoring with configurable thresholds and deduped alerts.
fleethawk watch --idle-threshold 20m --poll-interval 2mCombined watch + periodic doctor checks.
fleethawk monitor --poll-interval 2m --doctor-interval 30mAccountability report with table, markdown, or JSON output.
fleethawk report --format md
fleethawk report --format jsonSample markdown excerpt:
# FleetHawk Report
## atlas
- Model: anthropic/claude-sonnet-4-6
- Status: active
- Files modified: 14
- Git commits: 2
- Session messages: 8
- Last task: Refactor auth module
- Errors: none
## nova
- Model: openai/gpt-5.4
- Status: active
- Files modified: 8
- Git commits: 1
- Session messages: 5
- Last task: Fix payment webhook
- Errors: none
## scout
- Model: google/gemini-2.5-pro
- Status: idle
- Files modified: 3
- Git commits: 0
- Session messages: 12
- Last task: Research API docs
- Errors: noneFull fleet diagnostic: model validity, provider mapping, stale gateway, agentDir existence, workspace collisions, identity bleed, ghost agents, repo hygiene, and DB env mismatch checks.
fleethawk doctor
fleethawk doctor --jsonSample output:
π¦
FleetHawk Doctor
β
atlas β model anthropic/claude-sonnet-4-6 valid
β
nova β model openai/gpt-5.4 valid
β
scout β model google/gemini-2.5-pro valid
β
forge β model anthropic/claude-opus-4-6 valid
β οΈ pixel β model ollama/llama-3.2:8b (local model, cannot verify remotely)
β
sage β model moonshot/kimi-k2.5 valid
β
Gateway running (pid 4821, port 18789)
β
No workspace collisions detected
β
No identity bleed between agents
β οΈ pixel workspace dir does not exist: ~/.agents/workspace-pixel
β
DB env check passed β NEON_DATABASE_URL set, no localhost in production
β
No ghost agents in monitoring config
Results: 10 passed, 2 warnings, 0 critical
Probe each configured agent and compare configured vs responding model.
fleethawk verify modelsDeep inspection for one agent.
fleethawk verify agent atlasDatabase target safety check for the current repo.
fleethawk verify dbPre-merge safety gate for branch hygiene, SQL artifacts, and DB env risks.
fleethawk release-checkSearches for common secret leaks, debug routes, missing rate-limit clues, and runs npm audit.
fleethawk audit securityDependency health snapshot.
fleethawk audit depsPrints fleet topology in a clean table.
fleethawk fleet-mapValidates openclaw.json for missing models, missing agent dirs, and workspace collisions.
fleethawk config validateGenerate a starter fleethawk.config.yaml from a fleet directory.
fleethawk init --fleet ~/agentsFleetHawk reads from ~/.openclaw/openclaw.json by default. You can also point it at a FleetHawk YAML config via --config, or a custom OpenClaw config via --openclaw-config.
These are the kinds of failures FleetHawk is designed to catch:
- Model misrouting: an agent configured for GPT-5.4 silently running on a fallback model
- Broken production resources found via automated QA
- Ghost agents in monitoring config that no longer exist
- Workspace identity bleed between agents sharing directories
- Malformed database URLs (double
postgresql://prefix) - Stale gateway state after config changes
- OpenClaw
- Claude Code
- Codex
- Any agent framework with readable config, workspaces, sessions, or repo artifacts
PRs welcome, issues on GitHub.
MIT