What problem does it solve? Testing and automating interactive terminal UI applications is difficult because terminal screens are stateless character grids without a persistent DOM, making traditional automation approaches unreliable and flaky. ## Core Features & Use Cases - Programmatic TUI Control: Launch terminal applications in managed sessions and interact via screenshots, keystrokes, and text input. - State Verification: Wait for specific text to appear or disappear, or for the UI to stabilize, with assertion-based verification of outcomes. - Regression Testing: Automate CLI/TUI interaction testing, including Gemini CLI testing with isolated environments and trust-modal bypassing. - Use Case: Verify that a CLI application's interactive prompts behave correctly by launching it in a session, typing input, pressing keys, and asserting expected output text appears on screen. ## Quick Start Ask the agent to launch your terminal application with agent-tui, take a screenshot, type input, and verify the expected output appears.