← Back to Leaderboard
GGentleman-Programming

Gentleman-Programming/gentle-shell

Pi-native coding CLI for agent delegation, Git review, and permission control

Engineering Health (Methodology)
A+ · 93/100
Maintenance Activity
● Updated today
Latest Release
v5.1.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption18/25
Release Cadence20/20
License Clarity20/20
CLI
Total Stars
★ 3,161
24h Growth
+7
7d Growth
+123
Forks
327

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

Gentleman-Programming/gentle-shell Star History (2026-05-10 - 2026-12-04) ALL-TIME STAR HISTORY (2026-05 – 2026-12) +3.2k in 208d · avg +15/day 3.3k 1.7k 0 2026-05-10: ★ 12026-05-23: ★ 712026-06-06: ★ 1062026-06-20: ★ 1382026-07-04: ★ 1572026-07-18: ★ 1842026-08-01: ★ 2062026-08-15: ★ 2352026-08-29: ★ 2882026-09-12: ★ 7472026-09-26: ★ 1,0972026-10-10: ★ 1,2532026-10-24: ★ 1,4082026-11-06: ★ 1,9462026-11-19: ★ 2,8292026-12-04: ★ 3,161 ★ 3.2k 2026-05 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Gentle Shell is a TypeScript coding harness built on Pi. The npm package is gentle-pi, and its executable is gentle-shell. The manifest identifies @earendil-works/pi-coding-agent, @earendil-works/pi-ai, and @earendil-works/pi-tui as direct dependencies, alongside @heyhuynhgiabuu/pi-pretty and typebox. The tree separates extensions/, runtime/, contracts/, prompts/, skills/, and web/; registered extension commands are discoverable from the command palette.

A parent agent owns scope and final decisions. It keeps well-understood, low-risk work inline, uses a read-only explorer when discovery warrants one, delegates independent edits with disjoint write surfaces to parallel workers, and uses a separate verifier for named high-risk work. Each child runs in its own process. Terminal cards expose progress and usage, and the agent view restores retained threads on resume. For work that cannot be resumed from the diff alone, a feature document preserves the verbatim specification and next step and can be mirrored in memory when available.

Key Capabilities & Differentiators

ODD keeps questions, reviews, and proposals read-only until a change is requested and defaults to test-first for behavior changes when a runnable test applies. Gentle Changes compares the session repository and participating worktrees with HEAD, including untracked files, and loads diffs on demand. Native review keeps a specific candidate in view and scopes review lenses to the risks in the change. The local Tower view brings together session tasks, artifacts, supported usage data, and read-only Engram memory; it also supports messaging sessions and stopping helpers.

A repository-pinned profile can route the orchestrator independently of packaged and review roles. Per-agent fallback chains can continue the same conversation after usage limits, authentication errors, or provider failures Pi has already retried. The bundled nan provider uses Pi’s OpenAI-compatible chat completions path and intersects authenticated /v1/models results with a maintained set of known chat IDs. That is a bounded integration, not arbitrary model discovery: unknown IDs are excluded and audio input is not advertised.

Trade-offs & Limitations

Evaluate it alongside Claude Code for terminal coding, or Cursor if the question is whether to center agent work in an editor or a terminal. Gentle Shell’s differentiator is explicit control over delegation, model routing, and Git review across worktrees; the cost is more knobs to configure and more Pi-specific workflow to learn. In the local benchmark, inline routing took a three-line fix from 335 s and $0.339 to 77 s and $0.105. The high-risk migration passed on the first round with independent verification, but cost rose from $0.403 to $0.555. Those cells were single runs at API-equivalent cost; a separate same-model Codex CLI comparison still took about three times as long on the large task (17.5–17.9 min versus 6.1 min).

RDD is on by default, but changing its mode grants neither consent nor authority; a repository cannot override a machine-wide off setting. Native review requires the filesystem under .git/gentle-ai/candidate-views to honor private POSIX permissions or equivalent Windows ACLs: WSL DrvFS mounts without metadata can reject review startup. For capacity and budget planning, test with realistic worker concurrency and provider quotas. Fallbacks can keep work moving, but a fallback model can cost more.

Hardware & Deployment Guide

Start with the gentle-pi package and the gentle-shell executable. The package requires Node.js ^22.19.0 || >=23.6.0; use a Git workspace for changes and candidate review. The bundled NaN provider requires a key: set NAN_API_KEY or use Pi’s /login nan, then select a model with /model. A stored key takes precedence over the environment variable. This path runs the workspace locally and sends inference requests to a provider; neither an offline inference setup nor a Docker deployment is established here.

gentle-shell tower serves a browser view only on 127.0.0.1. It accepts --no-open, --port, and --json, generates a fresh token in the URL path, and rejects other origins. Lowering permissions takes effect immediately; raising them requires confirmation in that session’s terminal. v4.9.0 added desktop and browser session views, v5.0.0 expanded Desktop RPC and surfaced live context-compaction pressure, and v5.1.0 added read-only setup diagnostics and an optional Controlled Engineering profile mode while pinning Gentle AI v5.1.0.

Runtime: The TypeScript package gentle-pi exposes gentle-shell and depends on Pi’s coding-agent, model API, and TUI packages.
Delegation: Subagents run in separate processes; live cards show model, tokens, cost, and elapsed time, and alt+a opens thread history and stop controls.
Model routing: Repository-pinned profiles can route the orchestrator independently of packaged and review roles, with ordered fallback lists per agent.
Git visibility: alt+g compares the session repository and participating worktrees with HEAD, includes untracked files, and loads diffs on demand.
Review controls: RDD is on by default, but mode selection does not grant review consent or expand permissions; independent verification is reserved for named high-risk work.
Local browser view: gentle-shell tower binds to 127.0.0.1; launches get a fresh URL token, and permission increases require terminal confirmation.
Best For

Terminal-first teams that want to supervise Pi agents across Git worktrees, route models by role, and preserve review evidence across sessions.

Skip If

Your team needs an editor-first workflow, a verified offline inference stack, or a remote multi-user dashboard rather than a loopback-only session view.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLI
gentle-shell desktop              # install what is missing (asks first), then open the window
gentle-shell desktop --status     # versions and what is installed
gentle-shell desktop --uninstall  # remove our mods, layout and shortcuts; Herdr stays

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
gentle-shell ★3.2k+123TypeScriptMITPi-native coding CLI for agent delegation, Git review, and permission control
oh-my-pi40.5k+483TypeScriptMITA Bun/Rust terminal agent for model-flexible coding with LSP and editor integrat
goose57.3k+219RustApache-2.0Rust coding agent with MCP tools and local or hosted models, embeddable via ACP
cline72.1k+116TypeScriptApache-2.0Shared coding-agent engine for IDEs and terminals, with pluggable models and MCP

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/Gentleman-Programming/gentle-shell.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

Gentleman-Programming/gentle-shell Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about gentle-shell

How does Gentle Shell integrate with Pi, and is it a standalone MCP server?

It is a Pi-native coding CLI distributed as gentle-pi, with gentle-shell as the executable. The parent agent can delegate to separate Pi subagent processes; commands such as /gentle:profiles and /gentle:jobs expose controls inside the session. MCP appears in the repository topics, but there is not enough evidence to verify an MCP server entrypoint, transport, or tool inventory.

Does it need a GPU, and what determines local resource usage?

No GPU or dedicated VRAM is specified for the verified API-backed path. The host runs Node.js, the terminal UI, and any active subagents and project commands. Size CPU and RAM for concurrent workers and your own builds and tests. If you run inference separately, size that system for the chosen model; there are no measured host resource requirements here.

Can a company run or redistribute it internally, and does local deployment keep code on-device?

The repository is MIT-licensed, permitting commercial use, modification, and redistribution subject to retaining the required copyright and license notice. Review TRADEMARKS.md separately for branding, and check provider terms before sending project data to a model API. Running the CLI and Tower locally does not by itself keep model requests on your machine.

When should we choose it over Claude Code or Cursor?

Put it on the shortlist with Claude Code if the CLI is your primary workspace; compare it with Cursor if you are deciding whether to move agent work out of the editor. Its reason to adopt is explicit orchestrator and reviewer routing, visible child processes, and worktree-aware review in Pi. For a fair trial, use the same model where available and measure review corrections, elapsed time, and API spend on your own tasks.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining Gentleman-Programming/gentle-shell? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature Gentleman-Programming/gentle-shell on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

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

Saved in your browser · Export Markdown RFC tables or jump into /vs compare