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
- Grok Build v0.2.110 adds safer MCP management and session recovery — elonmusk · 2026-07-22
- Testing Kimi K3 for Frontend: Delivers a Full Day's Work in 1 Hour — FuSheng_0306 · 2026-07-22
- Langy pitches a Claude Code-style AI engineer for non-technical domain experts — _rchaves_ · 2026-07-22
- A solo builder put live sports odds behind MCP so agents stop making up lines — paperandbeyond23 · 2026-07-22
- Slite plugs Claude into company docs with an MCP integration — femke_plantinga · 2026-07-22
- Claude Skills resource hub passes 68K stars as workflow customization grows — ComposioHQ · 2026-07-22