Main Menu
  • Tools
  • Developers
  • Topics
  • Discussions
  • News
  • Blogs
  • Builds
  • Contests
  • Compare
Create
    EveryDev.ai
    Sign inSubscribe
    Home
    Tools

    1,924+ AI tools

    • New
    • Trending
    • Featured
    • Compare
    Categories
    • Agents1038
    • Coding971
    • Infrastructure415
    • Marketing398
    • Design335
    • Projects313
    • Analytics299
    • Research290
    • Testing183
    • Integration167
    • Data163
    • Security156
    • MCP145
    • Learning135
    • Communication120
    • Extensions114
    • Prompts110
    • Commerce106
    • Voice102
    • DevOps84
    • Web71
    • Finance18
    1. Home
    2. Tools
    3. tui-use
    tui-use icon

    tui-use

    Agent Harness

    A CLI tool that lets AI agents interact with terminal programs expecting human input — REPLs, debuggers, TUI apps, and anything bash can't reach.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Free and open-source under the MIT License. Use, modify, and distribute freely.

    Engagement

    Available On

    Windows
    macOS
    Linux
    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Agent HarnessAgent FrameworksCommand Line Assistants

    Alternatives

    InkGambitdesloppify
    Developer
    onesuper

    Listed Apr 2026

    About tui-use

    tui-use is an open-source CLI tool that enables AI agents to interact with interactive terminal programs that expect a human at the keyboard. It spawns programs in a PTY, reads the screen as plain text, and sends keystrokes — bridging the gap between AI agents and programs like REPLs, debuggers, and full-screen TUI applications. Built in TypeScript and distributed via npm, it works with Claude Code, Cursor, Codex, Gemini CLI, and other AI coding agents.

    • Full VT Rendering — PTY output is processed by a headless xterm emulator, so ANSI escape sequences, cursor movement, and screen clearing all work correctly; the screen field is always clean plain text.
    • Smart Wait — wait blocks until the screen has been stable for a configurable idle window (debounce), eliminating the need for sleep guesses; wait --text <pattern> adds semantic readiness signals.
    • Snapshot Model — Interaction is an explicit read-decide-type loop with no async streams, no timing guesswork, and no partial output to reassemble.
    • Highlights Detection — Every snapshot includes a highlights field listing inverse-video spans on screen, letting agents identify selected menu items, tabs, or buttons without parsing text.
    • Session Management — A background daemon persists PTY sessions across CLI calls; sessions can be listed, switched, renamed, and killed via simple commands.
    • Scroll & Search — scrollup/scrolldown navigates terminal history; find <pattern> searches the current screen with regex support.
    • Plugin Support — Includes ready-made plugin bundles for OpenAI Codex and Claude Code, installable from a self-hosted marketplace in just a few steps.
    • Cross-platform Prebuilds — Automatically detects platform and uses prebuilt binaries; falls back to source compilation when needed (macOS and Linux; Windows not yet supported).

    To get started, install globally with npm install -g tui-use, then use tui-use start <cmd> to spawn a program, tui-use wait to wait for it to settle, tui-use type "<text>" to send input, and tui-use snapshot to read the current screen.

    tui-use - 1

    Community Discussions

    Be the first to start a conversation about tui-use

    Share your experience with tui-use, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source (MIT)

    Free and open-source under the MIT License. Use, modify, and distribute freely.

    • Full PTY session management
    • Smart wait with debounce
    • Snapshot model
    • Highlights detection
    • Claude Code plugin

    Capabilities

    Key Features

    • Spawn programs in a PTY and read screen as plain text
    • Smart wait with debounce and semantic text pattern matching
    • Snapshot model for explicit read-decide-type interaction loop
    • Highlights field for detecting selected TUI elements via inverse-video
    • Session management with persistent daemon across CLI calls
    • Scroll up/down through terminal history
    • Regex search on current screen content
    • Claude Code plugin support
    • OpenAI Codex plugin support
    • Custom terminal size configuration
    • Multi-line paste support
    • Key press simulation

    Integrations

    Claude Code
    OpenAI Codex
    Cursor
    Gemini CLI
    OpenCode
    Python pdb
    GDB
    vim
    lazygit
    htop
    fzf
    API Available
    View Docs

    Reviews & Ratings

    No ratings yet

    Be the first to rate tui-use and help others make informed decisions.

    Developer

    onesuper

    Read more about onesuper
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    Ink icon

    Ink

    React for CLIs — build and test interactive command-line apps using React components and Flexbox layouts in the terminal.

    Gambit icon

    Gambit

    Gambit is an open-source agent harness framework by Bolt Foundry for building, running, and verifying LLM workflows using typed decks.

    desloppify icon

    desloppify

    A CLI tool that removes AI-generated slop and filler phrases from text, making writing cleaner and more direct.

    Browse all tools

    Related Topics

    Agent Harness

    Infrastructure, orchestrators, and task runners that wrap around LLM coding agents — covering session management, context delivery, worktree isolation, architecture enforcement, and issue-to-PR pipelines.

    49 tools

    Agent Frameworks

    Tools and platforms for building and deploying custom AI agents.

    175 tools

    Command Line Assistants

    AI-powered command-line assistants that help developers navigate, search, and execute terminal commands with intelligent suggestions and context awareness.

    110 tools
    Browse all topics
    Back to all tools
    Explore AI Tools
    • AI Coding Assistants
    • Agent Frameworks
    • MCP Servers
    • AI Prompt Tools
    • Vibe Coding Tools
    • AI Design Tools
    • AI Database Tools
    • AI Website Builders
    • AI Testing Tools
    • LLM Evaluations
    Follow Us
    • X / Twitter
    • LinkedIn
    • Reddit
    • Discord
    • Threads
    • Bluesky
    • Mastodon
    • YouTube
    • GitHub
    • Instagram
    Get Started
    • About
    • Editorial Standards
    • Corrections & Disclosures
    • Community Guidelines
    • Advertise
    • Contact Us
    • Newsletter
    • Submit a Tool
    • Start a Discussion
    • Write A Blog
    • Share A Build
    • Terms of Service
    • Privacy Policy
    Explore with AI
    • ChatGPT
    • Gemini
    • Claude
    • Grok
    • Perplexity
    Agent Experience
    • llms.txt
    Theme
    With AI, Everyone is a Dev. EveryDev.ai © 2026
    Discussions