Cate unifies six coding-agent CLIs into one observable event stream
Grobiani · reddit · 2026-07-22
Problem
When running several coding agents at once, the team behind Cate needed to tell three states apart: working, waiting for permission/input, and finished. Process monitoring was too weak, and parsing terminal output was too brittle.
Approach
They mapped the native hooks from Claude Code, Codex, Cursor, Grok, OpenCode, and Pi into a single event stream instead of wrapping or scraping processes.
Notable limitation
- Cursor cannot distinguish a command that is about to run from one that is blocked waiting for approval.
- The system therefore avoids guessing when the signal is ambiguous.
Extra engineering details
The write-up also covers:
- session resume
- stale-session handling
- how the unified lifecycle stream is implemented
The author says they would like to see a common lifecycle protocol across coding-agent CLIs.
More from coding & agent
- GPT-6 Astra beats Factorio with enemies in 44 in-game hours at ~$4,500 API cost — liminal_bardo · 2026-09-11
- Investment Analyst Asks How to Build a Claude-Based Diligence Agent Stack — Careless_Tie2286 · 2026-09-11
- How Do You Catch Behavioral Regressions in LLM Agents Between Releases? — Beautiful_Belt_601 · 2026-09-11
- Treating agents like 50 First Dates: a 3-layer context system so every conversation doesn't start from zero — evielync · 2026-09-11
- Running the Firefox MCP on Android via Termux, ngrok, and mcp-proxy — Nervous-Strain7544 · 2026-09-11
- Run Firefox MCP on Android: Termux + ngrok tunnel tutorial — Nervous-Strain7544 · 2026-09-11