







agent-tui runs terminal programs on a PTY and exposes the rendered screen as text or an outline with stable refs. Agents can drive live TUIs, including other AI agents, by snapshotting, pressing keys, and waiting for screen state.
Stop Making TUIs
Our field has a weird relationship with terminal and command line interfaces. The time has come to re-evaluate it.
cmux - The terminal built for multitasking
Free and open source macOS terminal for AI coding agents. Works with Claude Code, Codex, OpenCode, Gemini CLI, Kiro, Aider, and any CLI tool.
Ratatui
Ratatui: Cook up delicious terminal user interfaces in Rust - the fast and lightweight TUI library trusted by developers

nicobailon/pi-interactive-shell
Pi coding agent extension that allows Pi to autonomously control interactive CLIs in an observable overlay. Full PTY emulation, no tmux, token efficient. User can take over anytime.
can1357/oh-my-pi
⌥ AI Coding agent for the terminal — hash-anchored edits, optimized tool harness, LSP, Python, browser, subagents, and more
xai-org/grok-build
SpaceXAI's coding agent harness and TUI. Fullscreen, mouse interactive, extensible.
Joshua Gu on Twitter / X
Recent agentic systems (Claude Code, Codex, RLM, etc.) push context out of the prompt and into the environment (e.g., as files). This helps them maintain long-term knowledge about their goals and functionality.🚨 While this is a good idea, we show a surprising result: systems… pic.twitter.com/XHFVaDcr4l— Joshua Gu (@astrogu_) May 20, 2026

ui.sh — Turn your terminal into a design engineer
A toolkit for coding assistants like Claude Code, Cursor, and Codex to help you build UIs that don't suck.

cua/blog/inside-macos-window-internals.md at main · trycua/cua
Open-source infrastructure for Computer-Use Agents. Sandboxes, SDKs, and benchmarks to train and evaluate AI agents that can control full desktops (macOS, Linux, Windows). - trycua/cua
GitHub - ratatui/ratatui: A Rust crate for cooking up terminal user interfaces (TUIs) 👨🍳🐀 https://ratatui.rs
A Rust crate for cooking up terminal user interfaces (TUIs) 👨🍳🐀 https://ratatui.rs - ratatui/ratatui
GitHub - sst/opentui: OpenTUI is a library for building terminal user interfaces (TUIs)
OpenTUI is a library for building terminal user interfaces (TUIs) - sst/opentui
I Hated Every Coding Agent, So I Built My Own — Mario Zechner (Pi)
The Emacsification of Software
We’re all reading a ton of Markdown. It’s been the lingua franca of software development since long before LLMs. But now agents have led us into a cursed renaissance of TUI tooling, and the reading experience has become intolerable. I’m certain that at least 14% of the agita about AI code is driven by exhaustion over incessantly scrolling terminal Markdown.
Generative UI: The AI agent is the front end
In a new model for user interfaces, agents paint the screen with interactive UI components on demand. Let’s take a look.

We built the GUI for AI - agentic workflows now have a canvas
232 votes, 50 comments. So we built something different: A canvas-based browser interface where you can visually organize, run, and monitor…