Leonxlnx/sable
Electron workspace for running and reviewing Claude Code and Codex side by side
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
Sable is an Electron desktop shell around a stateful local bridge, not a model runtime. The shell in electron/ handles windowing, menus, updates, and keep-awake behavior. Vite serves the React 19 and TypeScript frontend, while server/ owns sessions, accounts, queues, and services. The frontend uses Zustand for view state and communicates with the bridge over WebSocket at /__sable; RPC methods and types live in shared/protocol.ts.
Adapters connect to Claude through the Claude Agent SDK, Codex through codex app-server, and optional OpenCode through opencode acp. They normalize messages, tool activity, and turn state into a shared TimelineItem model, so the UI can render different providers in the same timeline. server/core/runtime.ts manages the timeline and queue. The Capacitor/React Android client connects through the bridge's phone service rather than launching providers itself.
Key Capabilities & Differentiators
The timeline condenses a running turn into a live status line, with expandable command, tool, and edit steps. Claude Code and Codex can delegate to each other, switch within a chat with separate histories and a short handoff, or ask the other agent to review a completed diff read-only. /race runs the same task in separate repository copies so the user can compare results before choosing one. Optional lanes assign overlapping Git sessions separate worktrees and branches.
The workspace puts diffs and line comments beside a terminal and browser. /until repeats a task until a test, build, or lint check passes within round and usage limits. For output beyond prose, show_widget renders interactive views in a sandboxed frame without network, host-app, or file access; the conversation also supports Mermaid and HTML/SVG previews. The Android client can follow live progress, send messages, and answer permissions or questions.
Trade-offs & Limitations
Compared with running a provider CLI directly, Sable adds a common review surface and cross-agent coordination, but it also adds an Electron runtime, a local bridge, and adapters that must keep pace with provider interfaces. Parallel runs and worktrees give changes separate places to land, at the cost of more checkout storage, concurrent project processes, and potentially more provider quota. An editor-native assistant is a better fit if the primary workflow is editing and navigating code rather than supervising agents.
Self-hosting applies to the desktop and bridge, not automatically to inference: model availability and account limits come from the configured agents, and offline behavior depends on the backend. Sable itself does not introduce a dedicated GPU sizing target. Organizations should evaluate installer trust and remote-approval access separately from provider data handling. The documented desktop paths cover Windows and experimental macOS, not Linux.
Hardware & Deployment Guide
Windows 10 and 11 are supported through a per-user installer that is not code-signed. Experimental macOS builds cover Apple silicon and Intel; they are ad hoc signed and not notarized. Install and sign in to Claude Code or Codex before use; OpenCode is optional. Sable keeps its profile in ~/.sable. Android 7 or newer can pair by QR code from a sideloaded APK. The desktop must stay awake; use the same Wi-Fi or Tailscale for remote reachability.
Source development requires Node 22 or newer and pnpm. pnpm dev uses the real profile; node scripts/dev-test.mjs uses a disposable one. Tests and type checking also need the mobile dependencies. Windows packaging uses pnpm desktop:dist; macOS packaging uses pnpm desktop:dist:mac on a Mac. In the v0.2.58–v0.2.60 sequence, Android advanced from 2.27 to 2.29 while updates refined limit-state reporting, model selection, and notification deduplication.
codex app-server, and optional opencode acp feed one TimelineItem stream.server/app.ts hosts bridge RPC handling, while server/core/runtime.ts manages the session timeline and queue./race uses separate repository copies; optional lanes use worktrees and branches for overlapping chats.show_widget runs interactive output in a sandboxed frame without network, Sable, or file access.Developers who already use Claude Code and Codex and need a common place for diffs, second opinions, parallel task runs, and Android approvals.
You need a supported Linux desktop, an editor-first workflow, or an offline model runtime rather than a local shell for provider tools.
Quick Start & Installation
pnpm install pnpm dev # http://localhost:5173, with the bridge attached pnpm test # vitest pnpm typecheck # everything, the tests too pnpm desktop:dist # Windows installer in release/ pnpm desktop:dist:mac # on a Mac: disk image and zip for this Mac's chip
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| sable ★ | 59 | +7 | TypeScript | MIT | Electron workspace for running and reviewing Claude Code and Codex side by side |
| gemini-cli | 109.6k | +376 | TypeScript | Apache-2.0 | A Node.js terminal agent for enterprise Gemini coding workflows and MCP tools |
| oh-my-pi | 40.5k | +483 | TypeScript | MIT | A Bun/Rust terminal agent for model-flexible coding with LSP and editor integrat |
| cline | 72.1k | +116 | TypeScript | Apache-2.0 | Shared 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.
curl -sL https://repoforai.com/repo/Leonxlnx/sable.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about sable
How does Sable connect the UI to the coding agents?
/__sable WebSocket and applies the events it receives. Bridge adapters use the Claude Agent SDK, codex app-server, or opencode acp; they normalize provider events into a shared TimelineItem model. Sable displays MCP activity in that timeline, but its primary integration boundary is the client-to-bridge protocol in shared/protocol.ts, not a standalone MCP server.Does Sable need a GPU, and what drives host resource use?
Can a company self-host Sable, and what does the MIT license cover?
When is Sable preferable to a CLI or an editor-native assistant?
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