Show HN: TUI-use: Let AI agents control interactive terminal programs (github.com) AI
The GitHub project tui-use ("Show HN") proposes a way for AI agents to operate interactive terminal programs by running them in a PTY, rendering the screen with a headless xterm emulator, and sending keystrokes based on clean screen snapshots (including TUI selection “highlights”). It targets use cases like REPL sessions, CLI wizards, database CLIs, SSH-driven interactive workflows, and full-screen TUIs such as vim/htop/lazygit, with a command-line interface plus plugins for agents like Claude Code. The article notes it works on Unix-like systems and strips most terminal styling, relying on metadata to identify active selections.
April 08, 2026 17:10
Source: Hacker News