Self-Healing Watchdog
A background watchdog monitors every session and recovers automatically — context compaction, crash restart, stuck prompt unblocking.
How it works
- amux parses ANSI-stripped tmux output to detect: Working / Needs Input / Idle
- Context < 20%: sends
/compactautomatically (5-minute cooldown) - Thinking-block corruption: restarts session and replays the last message
- YOLO mode: tool-approval prompts are auto-answered — fully headless operation
When to use this
- Running agents overnight while you sleep
- Claude Code keeps crashing from context compaction
- Agents getting stuck on tool-approval prompts in batch work
Related demos
Try amux
Run dozens of Claude Code agents in parallel. Python 3 + tmux. Open source.
git clone https://github.com/mixpeek/amux && cd amux && ./install.sh
amux register myproject --dir ~/Dev/myproject --yolo
amux serve # → https://localhost:8822
View on GitHub
Getting started →