Show HN: Headless terminal - Allow agents to run any interactive TUI or CLI
Category: devtools
Tags: terminal-emulator, cli-tool, ai-agents, tui, automation, go
Score: 7.5/10 (Innovation: 7, Technical: 8, Documentation: 8, Utility: 7)
Headless terminal is a CLI tool that allows AI agents and automated scripts to drive interactive terminal UIs like vim, nethack, or htop by providing a detached pseudo-terminal with VT parsing and synchronization primitives. It's interesting because it bridges the gap between traditional TUI tools that expect human interaction and the growing world of agentic AI, enabling agents to control complex interactive programs that were previously inaccessible to automation.
Target audience: backend devs, devops, AI/ML engineers
Repository: https://github.com/montanaflynn/headless-terminal · Go · MIT · 85 stars
View on Hacker News