Show HN: TermHub – Open-source terminal control gateway built for AI Agents(github.com)
github.com
Show HN: TermHub – Open-source terminal control gateway built for AI Agents
https://github.com/duo121/termhub
5 comments
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
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.
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.
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.
Well, LLMs don’t know that. I have Codex happily running gdb inside tmux to debug stack traces, and it works fine.