Build your own chat UI for Claude Code: the stdin control protocol, with a runnable host
This story is from 2026-12-01. It is preserved in the archive; the latest stories are on the live feed.
claude -p looks like a one-shot command, but it can also be a long-lived child process that talks to your program in both directions. That is how you build your own chat UI, bot, or review tool around Claude Code without scraping a terminal. The part that surprised me is that the CLI can ask your p…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-12-01 00:39 · DEV Community — AI
Build your own chat UI for Claude Code: the stdin control protocol, with a runnable host