Repository

yusukeshib/babysit

babysit

Wrap a command in a PTY and control it from the outside — read output, screenshot the screen, send input, attach/detach. Handy for scripts and AI coding agents.

7stars

Open github.com

yusukeshib/babysit

babysit

A CLI tool that wraps a command in a PTY, allowing external control via output reading, screenshots, input sending, and attach/detach. Designed for scripts and AI coding agents.

Visit project

Show me a random project

First shared
Jun 16, 2026
HN activity
30

Show HN@yusukeshibataJun 16, 2026

Show HN: Babysit – let coding agents operate a TUI

I've been trying to automate my work recently, but I ofeten encounter the situation where agents needs human intervention to complete the task. So I made a simple command that wraps a TUI called babysit that has a terminal emulator inside using pty. Agents can start commands in background, and they can ask human by attaching the TUI on a new tmux pane when human intervention is needed, or they can operate the TUI with screenshot/send/expect/wait commands. So far, I really like using it, and I wanted to share it here. https://github.com/yusukeshib/babysit

Community

Hacker News discussion

Loading the thread…