r/KittyTerminal • • 2d ago

Using kitty's remote control to answer AI coding agents from a notch app

I posted Openbar here a while back. It lists coding agent sessions (Claude Code, Codex and others) running in kitty. With allow_remote_control and listen_on set, it finds the agent's window through kitten @ by matching the session's pid and pastes your reply there as a bracketed paste plus Enter. It also reads is_focused, so the waiting sound stays quiet when you're already looking at that window.

It runs on Linux now too. One catch I hit: kitty 0.32, the version Ubuntu 24.04 ships, answers the window lookup with whichever window is active, so Openbar checks the pid itself.

Code (GPL): https://github.com/MF-DEEV/Openbar

5 Upvotes

0 comments sorted by