Version 1.0.0 of tui-use shipped on November 21, 2026, providing persistent terminal sessions that AI agents can read and type into across turns, according to the release notes and pull request. The release bundles a command-line interface, a Model Context Protocol (MCP) server for tool-calling agents, a Claude Code plugin, and the TUI-Bench evaluation suite.12
One daemon serves six MCP tools and the CLI
A single per-user background daemon owns every pseudo-terminal (PTY) session behind a private Unix socket and communicates over newline-delimited JSON-RPC, a lightweight text-based remote procedure format, according to the pull request. Both the CLI and the MCP server act as clients that start the daemon on first use and pass their working directory and environment into new sessions. Through the MCP server, agents send commands, wait conditions, and key names such as ctrl+c or shift+tab to interactive programs.2
Screen output uses numbered text and redacts secrets
The engine wraps @xterm/headless to turn terminal output into numbered text rows with a [x] cursor marker, highlights around selected items, and row diffs between turns, according to the pull request. Sessions also capture scrollback and asciinema recordings, a plain-text format for replaying terminal sessions, while tui-use attach mirrors a live session in a developer's terminal with shared keyboard control. To protect credentials, clients resolve secret_env values locally, exclude variables listed in TUI_USE_SECRETS from session environments, and redact secret input from snapshots, scrollback, and recordings.2
TUI-Bench runs 40 Dockerized tasks on manual dispatch
TUI-Bench packages 40 Dockerized tasks covering editors, git, prompts, REPLs, full-screen apps, ssh, and pickers, according to the pull request. Its runner executes each task in a fresh container for Claude Code, Gemini CLI, and OpenCode, recording success, turns, tokens, cost, and wall time. In the maintainer's full Claude Code run across all 40 tasks with Opus and Haiku over three repeats, agents achieved 100% success with tui-use compared with 99% using only a shell, choosing tui-use in 129 of 240 runs.2
Packaging targets Linux and macOS with Node 22 and 24
The project publishes as @pavanmanishd/tui-use with exact-pinned dependencies and an npm-shrinkwrap.json file, and its continuous integration suite tests 286 unit and integration cases on Linux and macOS with Node 22 and 24, according to the pull request. Running Claude Code inside TUI-Bench accepts either ANTHROPIC_API_KEY or CLAUDE_CODE_OAUTH_TOKEN, and the benchmark runs only on manual dispatch. The pull request also notes operational limits: sessions started by an MCP client end when it disconnects, the daemon rejects a start whose working directory does not exist, and agents are instructed to avoid cursor-dependent batched edits in tui_send.2