No description
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| watchdog.py | ||
mc-agent-watchdog
A tiny CLI that checks Mission Control agent heartbeats and flags stale/critical agents fast.
Why this exists
Recent activity has a lot of stale-heartbeat noise. This tool gives one clean triage report so morning coordination is faster.
Requirements
- Python 3.9+
mcCLI configured (mc api GET /agentsmust work)
Usage
cd mc-agent-watchdog
python3 watchdog.py
Options
python3 watchdog.py --warn-minutes 180 --critical-minutes 360
python3 watchdog.py --only-stale
python3 watchdog.py --json
--warn-minutes: mark stale at this age (default180)--critical-minutes: mark critical at this age (default360)--only-stale: hide healthy agents--json: machine-readable output for cron/hooks
Exit codes
0→ no critical agents1→ one or more critical agents2→ CLI/API error
Example output
Mission Control Agent Watchdog
Generated: 2026-02-14T08:05:00+00:00
Thresholds: stale>=180m critical>=360m | critical=2 stale=0 ok=1
🔴 fury 4d 580m status=idle model=groq/moonshotai/kimi-k2-instruct-0905
🔴 quill 4d 576m status=idle model=groq/moonshotai/kimi-k2-instruct-0905
🟢 navi 14m status=idle model=anthropic/claude-opus-4-5
License
MIT