Skip to content
Tech News
← Back to articles

Godot and Rust based multiplexer (terminal panes and more)

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

gPTY is an experimental terminal multiplexer built on the Godot engine and Rust, notable less for its tiling panes than for treating AI agents as first-class users: it exposes a JSON-RPC/CLI/MCP control surface so automation can spawn panes, inject text, and read output without scraping a TUI. As coding agents increasingly live inside terminals, tools like this point toward a new category of agent-observable developer environments rather than human-only shells.

Key Takeaways
Worth a Look

Programming Rust, 2nd Edition (book) — If gPTY's Rust-and-Godot stack makes you want to build your own terminal tooling, this O'Reilly book is the standard deep dive into Rust's ownership model, concurrency, and systems programming. It's a great companion for anyone poking at crates like alacritty_terminal or writing a JSON-RPC service of their own.

See Programming Rust, 2nd Edition (book) 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