Show HN:Interminai - 讓 AI 驅動 TTY 的互動式終端機

Show HN:Interminai - 讓 AI 驅動 TTY 的互動式終端機

Hacker News·

一個名為 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.

Image

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

Image

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

Image

Image

Languages

Footer

Footer navigation

Hacker News

相關文章

  1. Show HN:15歲少年打造離線AI終端代理,能修復錯誤

    4 個月前

  2. 終端機上的持續性人工智慧

    4 個月前

  3. Show HN:White Collar Agent - 一款具備 TUI 介面的電腦任務 AI 代理

    4 個月前

  4. Show HN:Miditui – 一款藉助 AI 開發的終端 MIDI 編曲、混音與播放應用

    3 個月前

  5. Show HN:Arctic – 一款整合多個AI程式碼計畫的終端機優先TUI

    4 個月前