Show HN:Interminai - 讓 AI 驅動 TTY 的互動式終端機
一個名為 Interminai 的新專案被介紹,它作為一個 PTY 代理,透過擷取螢幕輸出並傳送鍵盤輸入,讓 AI 代理能夠與 Vim、Git rebase 和 GDB 等命令列介面 (CLI) 應用程式進行互動。
Navigation Menu
Search code, repositories, users, issues, pull requests...
Provide feedback
We read every piece of feedback, and take your input very seriously.
Saved searches
Use saved searches to filter your results more quickly
To see all available qualifiers, see our documentation.
🌀 an Interactive Terminal for AI (interminai) - A PTY proxy enabling AI interaction with interactive CLI applications like vim, git rebase -i, gdb and other TUI programs through screen capture and keyboard input.
License
Uh oh!
There was an error while loading. Please reload this page.
mstsirkin/interminai
Folders and files
Latest commit
History
Repository files navigation
interminai - 🌀 an Interactive Terminal for AI
A terminal proxy that enables programmatic interaction with interactive CLI applications.

AI agent (Claude) using interminai to perform an interactive git rebase

AI agent (Claude) using interminai to perform interactive gdb debugging
What It Does
Many powerful CLI tools require human interaction - vim waits for keystrokes, git rebase -i opens an editor, apt asks for confirmation, TUI applications respond to keyboard input. These tools can't be automated with simple shell scripts because they:
interminai solves this by wrapping any interactive program in a pseudo-terminal (PTY), capturing its screen output as text, and providing a simple API to send input and read the display. This allows AI agents, scripts, or automated systems to interact with vim, git, debuggers, configuration wizards, and any other interactive terminal application.
Core Capabilities
Use Cases
Installation
interminai is available in two implementations with identical functionality:
Choose the one that best fits your needs.
Option 1: Rust Implementation (Recommended)
Prerequisites:
Build from source:
Install as Agent Skill:
Option 2: Python Implementation
Prerequisites:
Install as Agent Skill:
The Python implementation (interminai.py) is ready to use without compilation.
Quick Start
Documentation
Verification
Commands
License
This project is licensed under the GNU General Public License v2.0 - see the LICENSE file for details.
Author
Michael S. Tsirkin [email protected]
About
🌀 an Interactive Terminal for AI (interminai) - A PTY proxy enabling AI interaction with interactive CLI applications like vim, git rebase -i, gdb and other TUI programs through screen capture and keyboard input.
Resources
License
Uh oh!
There was an error while loading. Please reload this page.
Stars
Watchers
Forks
Releases
Packages
0
Contributors
2
Languages
Footer
Footer navigation
相關文章