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