Lessons building a session watcher for 7 AI coding agents: hooks beat process detection

Weak_Cherry_4878 · reddit · 2026-10-18

The author open-sourced a local panel (MIT) watching sessions across 7 AI coding agents. Key lessons: process/CPU detection can't tell which session needs you — agent-reported lifecycle events via hooks are what matter; every agent exposes a different locator (tmux pane id, Codex thread UUID), so normalizing into one status set is the real job; deep links like codex://threads/<uuid> beat window-title matching; external tools should POST to a local HTTP API on loopback instead of parsing stdout; and non-focus-stealing notifications are the underrated feature.

Original post →

More from coding & agent

coding & agent channel →