# Repository Briefing: Gentleman-Programming/gentle-shell-gpui
> Source: https://repoforai.com/repo/Gentleman-Programming/gentle-shell-gpui (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/Gentleman-Programming/gentle-shell-gpui
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Rust
- **License**: See repository
- **Engineering Health**: A (76/100 · Maintenance 35/35 · Adoption 15/25 · Releases 20/20 · License 6/20)
- **Latest Release**: v0.1.30 (2026-11-30) — https://github.com/Gentleman-Programming/gentle-shell-gpui/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: CLI
- **Momentum**: 92 ★ total (+5 24h / +51 7d) · 21 forks
- **When to Use**: Best for: Existing Gentle Shell users who manage agents across multiple repositories and want persistent layouts, terminals and Git review in one window. Skip if: You need full terminal UI parity, a standalone MCP server, or an IDE that owns the editing and debugging workflow.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Execution: One `gentle-shell --mode rpc` process per agent tab, with Pi RPC as the desktop integration boundary.
- Session continuity: Restored tabs read their session files while the backend starts, and the composer holds input until it is ready.
- Workspaces: Named single-root projects retain their tabs; switching workspaces leaves other projects' agents running.
- Terminal: `alacritty_terminal` provides PTY-backed login shells, with Ctrl+C passed through as an interrupt.
- Git: The sidebar supports staging and unstaging; the graph loads history in batches of 200 commits and offers fetch, pull, push and stash actions.
- CLI integration: `gsd workspace list --json` reads live state when the app is open and last-saved state when it is closed.
```

## Quick Start / Clone
```bash
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
```
