Skip to content
Tech News
← Back to articles

Show HN: Godot and Rust based multiplexer (terminal panes and more)

read original get Programming Rust, 2nd Edition (O'Reilly) → more articles
Why This Matters

gPTY is a terminal multiplexer built on Godot and Rust that treats AI agents as first-class users, exposing a JSON-RPC/CLI/MCP control surface so automation can spawn panes, inject text, and read output without scraping a TUI. That matters because today's agent tooling often hacks around terminals designed only for humans, making automation brittle. It signals a broader shift toward developer tools with documented machine-facing APIs alongside their UIs.

Key Takeaways
Worth a Look

Programming Rust, 2nd Edition (O'Reilly) — If gPTY's Rust-powered terminal multiplexer makes you want to build your own systems-level tooling, this O'Reilly guide is the classic deep dive into ownership, concurrency and safe low-level programming. It's the kind of reference that stays open next to your terminal panes while you wrangle async I/O and crates like alacritty_terminal.

See Programming Rust, 2nd Edition (O'Reilly) on Amazon → Affiliate link — we may earn a commission on purchases, at no extra cost to you. Product picked by AI based on this article; it is not a tested recommendation.

gPTY - a PTY foundation built on Godot and Rust. Provides a tiling grid for panes (terminal, code, file-tree, etc.), a concept capture engine, and a JSON-RPC/MCP control surface so AI agents and automation tools can spawn panes, inject text, and observe output on terminals without scraping a TUI.

Overview

PTY - Spawn and manage independent shell sessions in a resizable tiling grid. Full DEC STD 070 via alacritty_terminal : 16 / 256 / true color , scrollback with regex search, wrapped text selection.

- Spawn and manage independent shell sessions in a resizable tiling grid. Full via : / / , scrollback with regex search, wrapped text selection. Public API - JSON-RPC IPC socket + CLI ( gpty new-pane , gpty inject , …) + MCP server. AI agents, scripts, and orchestrators drive the workspace over a documented, versioned protocol.

- JSON-RPC IPC socket + CLI ( , , …) + MCP server. AI agents, scripts, and orchestrators drive the workspace over a documented, versioned protocol. Concept engine - RegEx triggers on PTY output capture the reply and route it into adjacent panes (code viewer, Inspector). Write your own or ship the defaults. Concepts capture and display only - they never inject input into a shell.

- RegEx triggers on PTY output capture the reply and route it into adjacent panes (code viewer, Inspector). Write your own or ship the defaults. Concepts capture and display only - they never inject input into a shell. Agent observability - Reasoning pane passively projects documented agent lifecycle events (OMP, extensible); Inspector pane runs a private, tool-free Q&A session. Observability only - gpty never orchestrates agent state.

- Reasoning pane passively projects documented agent lifecycle events (OMP, extensible); Inspector pane runs a private, tool-free Q&A session. Observability only - gpty never orchestrates agent state. Persistence - Scrollback, settings, workspaces (named tab sets), and profiles auto-save to SQLite/JSON and restore on restart; full-text search across each pane's persisted history.

- Scrollback, settings, workspaces (named tab sets), and profiles auto-save to SQLite/JSON and restore on restart; full-text search across each pane's persisted history. Cross-platform - Standalone binaries for Linux, macOS, and Windows. No Godot or Rust toolchain required to run.

- Standalone binaries for Linux, macOS, and Windows. No Godot or Rust toolchain required to run. Documentation - https://godot-pty.github.io/gpty/

- https://godot-pty.github.io/gpty/ The vast majority of this codebase, including most of the Godot UI layout and the Rust ( gpty-core ) GDExtension bridge, was generated using LLMs; and as such, the underlying code may contain unidiomatic patterns and/or bugs.

... continue reading