Show HN: TermHub – Open-source terminal control gateway built for AI Agents (github.com)

by duo121 4 comments 5 points
Read article View on HN

4 comments

[−] duo121 40d ago
A native bridge for LLMs and AI Agents to fully control local terminals (iTerm2/Windows Terminal):create tabs, split panes, switch sessions, execute commands, capture real-time output programmatically.Build powerful local AI terminal automation without hacky workarounds.GitHub: https://github.com/duo121/termhub
[−] rcarmo 39d ago
I’ve found tmux does a lot more than you’d expect, and it’s become a trivial suggestion that most models can act upon without any real prompting.
[−] duo121 38d ago
tmux is a human-oriented terminal multiplexer, it cannot programmatically control host terminals like iTerm2/Windows Terminal natively via API like TermHub, nor can it provide hack-free native terminal automation for AI Agents.

tmux can read content but only from a buffer with unstructured text and unstable parsing, while TermHub delivers real-time, structured, AI-native terminal output natively.

[−] rcarmo 37d ago
Well, LLMs don’t know that. I have Codex happily running gdb inside tmux to debug stack traces, and it works fine.
[−] justin_vin 40d ago
[flagged]