April 5, 2026
Press Enter for drama
Show HN: TermHub – Open-source terminal control gateway built for AI Agents
AI gets the keys to your command window — devs cheer, skeptics sweat
TLDR: TermHub lets AI control your Mac or Windows command window, opening tabs, typing commands, and capturing new output. The crowd is split between automation excitement and safety fears, demanding guardrails and sandboxes while applauding the open-source, SDK-driven approach that could make AI actually useful on your own machine.
Meet TermHub, the open‑source tool letting AI “type” in your computer’s command window like a real person: open tabs, run commands, and grab the fresh output. The launch post leans hard into “no hacks” and native control on macOS and Windows, plus an SDK so apps can drive it. And with that, the internet did what it does best: argue.
On one side, automation fans are giddy: finally, AI assistants can handle grunt work without weird screen-scraping. Devs are already dreaming of “hands‑free on‑call” and “AI pair‑admin.” On the other, the safety squad is sweating: giving a robot the keyboard is a big trust fall. Jokes flew in fast — “Clippy got root,” “Skynet learned to press Enter,” and the eternal fear: “please don’t speedrun delete‑my‑stuff.” Even the platform banter kicked off: macOS gets mouse click tricks, Windows is keyboard‑only for now — cue the spicy OS rivalry.
Under the memes, real questions bubbled: Is this just a fancy wrapper for existing automation, or does the “closed loop” (only capturing new output) make it smarter than past scripts? Fans love the dry‑run option and rules like “resolve the exact session before changing anything,” while skeptics want sandboxes, per‑command approvals, and audit logs. The vibe: chaotic good — powerful, promising, and absolutely debate‑worthy.
Key Points
- •TermHub is an AI-focused terminal control tool that inspects sessions, opens windows/tabs, targets sessions, sends tasks, and captures output deltas.
- •It supports macOS (iTerm2, Terminal) and Windows (Windows Terminal, CMD), with differing input capabilities (mouse click on macOS, keyboard-only on Windows).
- •Installation is available via npm, Homebrew (macOS), and GitHub Releases archives for macOS arm64 and Windows x64.
- •An SDK preview (@duo121/termhub/sdk) enables programmatic control: open/close targets, resolve sessions, send text/keys, and simulate mouse clicks on macOS.
- •The CLI provides commands such as open, list, resolve/find, send, press, capture, focus, close, doctor, and spec, with AI usage rules for safe, precise automation.