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