Show HN: Hty – Puppeteer for the terminal let's AI agents drive interactive CLIs
Hty is a new tool that allows AI agents to interact with command-line interfaces (CLIs) by reading the screen and sending keystrokes. It enables agents to handle various interactive programs, making it easier for them to perform tasks that typically require human input. With features like session persistence and live observation, hty aims to enhance the capabilities of AI in terminal environments.
- ▪Hty allows AI agents to drive any interactive CLI by reading the screen and sending keys.
- ▪The tool wraps interactive programs in a persistent PTY session, enabling agents to interact as humans do.
- ▪Hty supports various applications, including vim, git, and scaffolding wizards, making it versatile for different tasks.
Opening excerpt (first ~120 words) tap to expand
htyCopy pagehty Puppeteer for the terminal. Let AI agents drive any interactive CLI — editors, REPLs, auth flows, scaffolding wizards — by reading the screen and sending keys. Install Point your AI agent at the skill: Install hty using this skill: https://hty.sh/skill.md It teaches the agent when to reach for hty, how to drive sessions, and handles installing the hty CLI itself. Or install the skill directly via the skills CLI : npx skills add LatentEvals/hty --skill hty Installing hty yourself? See all methods → Why hty exists Unlock a world of TUI and CLI software for your AI agent. If you’ve used agents, you’ve seen them struggle with things like create-next-app, or watched them try to stage a sprawling diff by shuffling files into /tmp, rm-ing changes, and getting hopelessly confused.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Hty.