Gentleman-Programming/gentle-shell-gpui
A Rust/GPUI desktop host for Gentle Shell agents, terminals and Git
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Gentle Shell GPUI is a native Rust desktop host, not a second agent runtime. Its Rust 2024 workspace contains crates/core, crates/pi-rpc and crates/app, and uses GPUI and GPUI Kit for the interface. Each agent tab starts gentle-shell --mode rpc and talks to it over Pi RPC. Gentle Shell remains responsible for agent execution, permissions, skills, extensions and Engram memory; the desktop app reconstructs terminal-only views from the same files and events rather than embedding the original TUI.
The host sets GENTLE_SHELL_INTERACTIVE_HOST=1 for ask_user_question dialogs and the live helper activity feed. The workspace declares async-channel, serde and serde_json with preserve_order. Vendored crates sit outside workspace membership and enter through Cargo patches, including a compatibility correction for an X11 input-method crash triggered by a dead key. Restored tabs can read session files and show conversations before their Gentle Shell processes are ready.
Key Capabilities & Differentiators
Named workspaces have one root each and save their tabs and layout. Agents keep running when you switch projects, and status indicators show when another workspace is active or needs input. Users can tile panes, choose horizontal or vertical tabs and run a login shell in a real PTY via alacritty_terminal. The Files sidebar honors .gitignore, opens previews beside the agent and can hand off to an installed editor.
The Git sidebar supports staging and unstaging, and the graph shows local and remote refs and loads commits in batches of 200. It offers fetch, pull, push and stash alongside history browsing. The desktop app also exposes gsd workspace commands for inspecting and changing workspace state. Model access stays with Gentle Shell: the desktop layer does not establish a separate provider or inference stack. On Windows, the folder explorer can browse a WSL distro's filesystem when the agents run there.
Trade-offs & Limitations
Compared with running Gentle Shell directly in a terminal, the desktop host adds persistent layouts, project switching, Git views and previews without replacing the agent's extension stack. The cost is that Pi RPC is not equivalent to the native TUI: Auto permission mode can refuse actions because it does not count RPC input as a live human decision. With Gentle Shell older than 4.8, live helpers lack model, token and cost details, Claude subscription windows are unavailable, and only the agent can stop helpers or background jobs.
Compared with a full IDE, this is a workspace for directing agents and reviewing their changes. Its preview and Git panes reduce editor switching, but deep editing and debugging remain reasons to keep a dedicated editor. Each workspace has only one root, and changing it affects Files and future tabs without moving existing tabs. The Cargo workspace declares MIT, but repository metadata lists the license as unspecified and the root listing has no standalone license file; verify the exact release terms and dependency notices before redistribution.
Hardware & Deployment Guide
The release downloads provide the desktop distribution path, including a Windows installer. A source build requires a Rust toolchain that supports the 2024 edition and a working native GPUI environment for the target platform. At runtime, the host must be able to launch Gentle Shell; choose 4.8 or later if you need the Desktop channel for helper telemetry and controls. The Windows installer adds the gsd launcher to the user PATH; it is a .cmd for cmd and PowerShell, not Git Bash. On macOS and Linux, the command palette can install gsd into ~/.local/bin.
Size the deployment for the desktop host, active agent processes and PTYs, then account separately for inference wherever the selected backend runs. Check outbound access for remote model providers and optional GitHub or avatar features if the environment is restricted. Recent releases show targeted maintenance: v0.1.28 updated the url dependency for a RustSec advisory, v0.1.29 corrected literal handling of Git filenames and missing ENGRAM_BIN reporting, and v0.1.30 refined the Git History header and ref-chip layout.
gentle-shell --mode rpc process per agent tab, with Pi RPC as the desktop integration boundary.alacritty_terminal provides PTY-backed login shells, with Ctrl+C passed through as an interrupt.gsd workspace list --json reads live state when the app is open and last-saved state when it is closed.Existing Gentle Shell users who manage agents across multiple repositories and want persistent layouts, terminals and Git review in one window.
You need full terminal UI parity, a standalone MCP server, or an IDE that owns the editing and debugging workflow.
Quick Start & Installation
gsd workspace list --json gsd workspace current gsd workspace create frontend . gsd workspace switch frontend gsd workspace rename frontend web gsd workspace set-root web ./src gsd workspace remove web --force
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| gentle-shell-gpui ★ | 92 | +51 | Rust | — | A Rust/GPUI desktop host for Gentle Shell agents, terminals and Git |
| cc-switch | 159.1k | +1.6k | Rust | MIT | Tauri desktop manager for AI coding providers, local routing, and MCP config |
| herdr | 54.2k | +916 | Rust | Apache-2.0 | Rust terminal multiplexer for persistent, multi-machine coding-agent workspaces |
| orca | 155.6k | +13.8k | TypeScript | MIT | An Electron IDE for running coding agents in parallel Git worktrees |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/Gentleman-Programming/gentle-shell-gpui.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about gentle-shell-gpui
How does the desktop app integrate with Gentle Shell?
gentle-shell --mode rpc and communicates through Pi RPC. Gentle Shell runs the agent, skills, permissions and extensions; the desktop app renders the interface. The integration boundary is Gentle Shell's process protocol, not a standalone MCP server exposed by the desktop app.What hardware should I budget for?
Can we redistribute it commercially or run it entirely on-premises?
When should I choose this over Gentle Shell in a terminal or an IDE?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy