Self-Healing Watchdog

A background watchdog monitors every session and recovers automatically — context compaction, crash restart, stuck prompt unblocking.

How it works

  1. amux parses ANSI-stripped tmux output to detect: Working / Needs Input / Idle
  2. Context < 20%: sends /compact automatically (5-minute cooldown)
  3. Thinking-block corruption: restarts session and replays the last message
  4. YOLO mode: tool-approval prompts are auto-answered — fully headless operation

When to use this

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 →