EliasOenal

EliasOenal / term-cli

Public

Interactive terminals for AI agents, built for what you can't --yes away. SSH+MFA, GRUB/U-Boot, debconf installers, SOL/serial consoles, fsck, cryptsetup, pdb/gdb, apt, certbot and even Vim in tmux-backed sessions. Agent-driven, human-assisted for secrets/MFA. Single-file Python. Agent Skill. CI with 680+ tests. BSD License.

27
1
100% credibility
Found Feb 09, 2026 at 20 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

term-cli allows AI agents to execute interactive terminal programs in background sessions without blocking, enabling human intervention for prompts like passwords.

How It Works

1
🔍 Discover term-cli

You hear about term-cli when your AI coding helper gets stuck on interactive programs like debuggers or servers that need real-time input.

2
📥 Set it up quickly

Run a simple one-line installer to add the tools to your computer, needing just a basic terminal helper already there.

3
🤖 Teach your AI

Share easy instructions with your AI assistant so it knows how to use these tools for tricky tasks.

4
AI handles interactive magic

Now your AI runs dev servers, debug sessions, connections, and watchers smoothly without ever freezing or blocking.

5
Team up if needed
🚀
AI solo

AI sends inputs and waits patiently until ready.

🧑
You assist

Jump in, type what’s needed, and hand control back effortlessly.

🎉 Perfect teamwork

Your projects come alive with seamless AI-human collaboration, tackling any terminal challenge effortlessly.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 20 to 27 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is term-cli?

term-cli gives AI agents control over interactive terminals—like SSH with MFA, GRUB/U-Boot menus, debconf installers, fsck, pdb/gdb debuggers, apt, certbot, or even Vim—using tmux-backed sessions that don't block. Written as single-file Python, agents use CLI commands to start sessions, run commands, send text/keys, capture output, wait for prompts, and request human help for secrets. Humans jump in via term-assist to handle tricky bits like passwords, then release control.

Why is it gaining traction?

It tackles term cliffhangers no automation script dodges: serial consoles, bootloaders, and TUIs beyond simple --yes flags, with wait strategies for idle output or patterns. Zero deps past Python/tmux, agent skills for Claude Code/Cursor/Aider, and human requests make it plug-and-play for interactive github actions or web terminals. 400+ tests and CI ensure reliability without bloat.

Who should use this?

AI coding agent users debugging via pdb/gdb or running dev servers in tools like OpenHands or Gemini CLI. DevOps folks automating Linux installs with debconf prompts or SSH to network gear. Teams blending agents with humans for MFA in CI/CD, like interactive self service terminals or github interactive control flows.

Verdict

Solid early pick for agent-driven interactive terminals—great docs, tests, BSD license—but 20 stars and 1.0% credibility score signal low maturity; test in non-prod first. Worth it if you're pushing AI past basic shell commands.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.