gPTY builds a tmux-style terminal multiplexer on Godot and Rust, with AI agents as the target workload
A solo developer's side project pairs the Godot game engine with Rust PTY handling to grow tmux-style panes into a workspace for orchestrating autonomous AI agents.
A developer going by the handle behind the gPTY project has published a terminal multiplexer built on two stacks rarely seen together: the Godot game engine and Rust. The tool, posted to Hacker News under a Show HN thread that drew 78 points and 41 comments, spawns multiple pseudo-terminals and lets users tile or grid them the way tmux does. The project's code and documentation live on GitHub and a companion site under the godot-pty organization.
The stated motivation was partly educational. The author says gPTY began as an excuse to work seriously in Godot and Rust, two technologies they wanted to learn, with tmux as the structural model. Because Godot supplies a rendering layer that a plain terminal emulator lacks, the project picked up features that would be awkward in a conventional multiplexer, including an on-screen FPS counter and a user-configurable frame rate cap aimed at reducing battery draw on laptops versus desktops running at native refresh.
Where gPTY diverges most from its inspiration is its intended use case. The developer describes the tool as evolving into a terminal workspace for orchestrating autonomous AI agents, a direction driven by their own heavy use of the Oh-my-Pi agent tooling. They also point users toward herdr, a separate orchestrator they discovered mid-project and now rely on frequently, and note it can simply be run inside gPTY rather than replaced by it.
The Godot foundation opens the door to non-terminal content. Panes could eventually host native audio and video, Markdown rendering has already seen groundwork, and a local wiki-style knowledge management framework is the next planned piece. The author also lists simple 2D prototypes such as Snake as a way to exercise the canvas, and a distraction-free full-screen mode is already in place. A browser pane, by contrast, is described as unlikely to happen.
The build process itself is part of the story. The developer acknowledges heavy use of LLMs and AI assistance to generate much of the code, while saying they review and steer the output rather than accepting it wholesale, and that some portions were written by hand. They also admit the pull of Electron, citing prior web projects and the faster development velocity that ecosystem offers, before arguing that AI tooling narrows the gap enough to justify staying with Godot and Rust.
What remains unclear is whether a Godot-rendered terminal can match the latency, input handling, and resource footprint that terminal veterans expect from tools like tmux, Alacritty, or WezTerm. The author concedes that polish and quality-of-life work is unfinished and is soliciting feedback and concerns from early users. The roadmap items to watch are the wiki framework, media panes, and whether agent orchestration becomes the feature that distinguishes gPTY from the multiplexers it was modeled on.