kongweiguang/Kerminal
About
基于 Rust 与 GPUI 构建的原生桌面终端与远程工作台:集成本机/SSH/SFTP/嵌入式 RDP/串口分屏、文件传输与编辑、Docker/Podman/tmux 运维、内置 AI Agent 与双模 MCP(stdio/HTTP),以及零 WebView 原生插件系统。
Systems & InfrastructureMeasured star growth
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en.md
OriginalKerminal
Native Rust + GPUI desktop terminal & remote workbench — multi-protocol sessions, AI Agents & MCP, and zero-WebView native plugins in one app.
Download · Quick start · AI & MCP · Plugins · Architecture · 简体中文

Kerminal is a native desktop terminal workbench built with Rust, GPUI, and GPUI Kit. Run local shells, SSH, SFTP, embedded RDP, Telnet, and serial sessions across colored tab groups, nested splits, and multiple windows; open file transfers, container management, server monitoring, tmux, and AI agents from a customizable toolbar; connect external AI clients over headless stdio or desktop HTTP MCP; and extend hosts, native UI views, and MCP tools through a pure-GPUI plugin system.
Captured from the native Windows app with demo data.
Download and install
Download the package for your platform from GitHub Releases:
| Platform | Package |
|---|---|
| Windows x64 | .exe installer for the current user |
| Linux x64 | .AppImage or .deb |
| macOS | Apple Silicon or Intel .dmg |
The Windows installer is unsigned and the macOS packages are unnotarized. Verify downloads against SHA256SUMS.json on the release page if your OS displays a warning. Linux requires system graphics libraries, and the .deb package requires glibc 2.35 or later. Installation and desktop interaction on macOS still await verification on physical macOS hardware.
macOS shows "is damaged and can't be opened". Because the bundle is unsigned and unnotarized, drag Kerminal.app into /Applications and remove the quarantine attribute in Terminal:
xattr -dr com.apple.quarantine /Applications/Kerminal.app
Prefix with sudo if needed. On Apple Silicon, if it still fails to launch due to a missing signature, run codesign --force --deep --sign - /Applications/Kerminal.app.
Upgrading from 0.3.x. Quit the old app completely (including its tray process) and back up your data directory before installing. On first launch, the 0.4 stable release checks and migrates supported formats in ~/.kerminal. Keep the backup under .kerminal-migration/ because older versions cannot read migrated data. Development and beta builds use ~/.kerminal-gpui and do not automatically merge formal data.
Quick start
- Open a terminal or connect to a host. Click
+in the title bar to open a local shell, or click+at the bottom of the left sidebar to add SSH, SFTP, embedded RDP, Telnet, serial, or local hosts — or import directly from~/.ssh/config. - Split and organize. Split panes right or down from the pane header (right-click a split button to pick another host for the new pane). Organize tabs into colored tab groups, zoom any pane temporarily, or detach tabs into independent windows without disconnecting.
- Open session tools. Open files, containers, server monitoring, tmux, port forwarding, snippets, or command history from the right tool rail, or launch the dual-pane SFTP workspace from the top toolbar.
- Use AI and extensions. Launch Codex, Claude Code, or PI Agent beside your terminal from the Agent panel, copy headless
kerminal-mcpconfigs under Settings → MCP, or browse and install native plugins under Settings → Extensions.
What you can do
Terminals & multi-protocol connections
- Unified multi-protocol workbench. Manage local shells (profile templates), SSH, standalone SFTP, Telnet, serial devices (with a dedicated serial toolbar), and embedded native RDP. SSH supports passwords, private keys, SSH agents, proxies, multi-hop jump hosts, configurable
known_hostspolicies, and an~/.ssh/configimport wizard. - Embedded native RDP. Powered by IronRDP with MS-RDPEGFX and hardware H.264, bidirectional clipboard and file streaming (CLIPRDR), local shared folder redirection (RDPDR), canvas file drag-and-drop, exclusive fullscreen with an auto-hiding HUD, standalone window detach/re-attach, or optional external client mode per host.
- Power-user terminal features. Colored tab groups (preset + HSV custom colors), nested splits and Pane Zoom, multi-window zero-disconnect tab detach/merge, Vi Copy Mode, Quick Select (highlight and copy visible paths, URLs, and tokens), shell prompt jumping and copy-last-output, safe multiline paste preview, asciicast session recording, cursor-anchored command suggestions, keyword highlighting, synchronized broadcast input to selected panes, auto-reconnect, Quick Open, and Command Palette.
File transfers, built-in editor & remote ops
- SFTP workspace & ZMODEM. Browse current-session files in the sidebar or transfer between endpoints in the dual-pane SFTP workspace with cancel, retry, conflict handling, and transfer recovery records. With
lrzszinstalled remotely, SSH panes natively supportrzuploads andszdownloads (pressEnterto open the system file picker orEscto cancel; duplicate downloads keep both files). - Built-in native editor. Open and edit local, SFTP, and container text/code files directly inside workspace tabs.
- Remote operations. Monitor server resources and processes over SSH; manage Docker, Podman, and Compose (logs, YAML, exec shells, container files); manage tmux sessions and SSH port forwarding (including proxy scripts). Available actions depend on the connection type, remote tooling, and account permissions.
Customizable workspace & file-first configuration
- Frameless Settings workspace tab. Settings opens as a full-height singleton workspace tab so you can switch freely with terminal tabs, preview shell changes live, and rely on automatic saving.
- Six-zone customizable toolbar. Drag and reorder actions and tool buttons directly across six anchor zones (titlebar left/right, sidebar bottom-left/bottom-right, right rail upper/lower), toggle visibility, and choose each tool's panel placement (attached right, left, top, bottom, or floating window). Empty zones collapse automatically to reclaim canvas space.
- Themes, TOML config & encrypted sync. Light, dark, or system mode × 6 app palettes (Kerminal, JetBrains, Fleet, Xcode, Claude, VS Code), independent terminal color schemes with zero-dependency
.itermcolors/.tomlimport, 3 UI density presets, window opacity and wallpaper materials, per-platform shortcuts, human-editable TOML configs, anXChaCha20-Poly1305encrypted credential vault, and end-to-end encrypted Git config sync. See the configuration guide.
See light appearance settings and six-zone toolbar customization


AI agents and dual-mode MCP

Built-in AI Agent panel
- Launch Codex, Claude Code, PI Agent, or any custom CLI launcher right beside your active terminal.
- Explicitly resume, rename, archive, or delete past agent sessions; regular tab switching preserves the agent's bound target without drifting.
- Terminal settings let you route agent commands visibly into the bound terminal or to background terminals; built-in Codex and Claude Code launch with full access by default.
Dual-mode MCP server for external AI clients
- Headless stdio (
kerminal-mcp). Bundled with the installer and launched directly by external MCP clients (Claude Code, Codex, PI Agent, etc.) without opening the Kerminal desktop window; copy ready-to-paste client configs from Settings → MCP. - Desktop Streamable HTTP. Start or stop the local HTTP endpoint from Settings → MCP (default
http://127.0.0.1:37657/mcp, remembering your auto-start preference); optional LAN mode enforces encrypted vault bearer-token auth (for trusted networks only). - Full runtime tool catalog. Call
kerminal.helpandkerminal.runtime_snapshotto discover available tools covering background/interactive PTYs, SSH execution, SFTP file transfer, Docker / Podman / Compose, tmux, port forwarding, server monitoring, command history, config validation & diagnostics, and bridged plugin MCP tools (plugin.<id>.<tool>). Permissions and approvals are managed by the MCP host. See MCP tool definitions.
Pure-native plugin system

Kerminal ships a zero-WebView, pure-GPUI native plugin system whose extensions automatically inherit your theme, palette, density, and keyboard interactions:
- Native GPUI views. Plugin UIs are declared as typed native view nodes (sections, lists, key-value rows, copy lists, forms, selects, QR codes, tabs, notices) and rendered directly by GPUI — no embedded browser engine.
- Isolated runtimes. Supports declarative (
None), long-running bidirectional JSON-RPC (Sidecar), and spawn-on-demand with immediate process-tree reaping (Oneshot) managed byProcessSupervisor. - Extension points:
- Custom host & connection types (
host.test/host.open), returning either a native plugin workspace tab or a controlled local terminal intent; - UI surfaces across the tool rail/sidebar, workspace tabs, settings pages, commands, and shortcuts;
- AI / MCP tool bridge via
contributes.mcp_tools, automatically exposing schema-validatedplugin.<id>.<tool>entries over both desktop HTTP and headless stdio MCP; - Host APIs including
workspace.context, plugin-ownedterminal.*,ssh.exec,sftp.*,port_forward.*,state.*, and validatedshell.openExternal.
- Custom host & connection types (
- Built-in marketplace & pure Rust SDK. Search, install, update, uninstall, or drop in local packages under Settings → Extensions from the official or custom JSON catalog (installation and enablement changes take effect after restart; Sidecar and Oneshot plugins run with your user privileges, so enable only trusted plugins). Build cross-platform plugins with zero JS runtime using the pure-Rust
kerminal-pluginCLI (create/build/check/package). See the plugin catalog and developer examples.
Architecture
Kerminal is structured as a 7-crate Rust modular monolith: kerminal-desktop is the single composition root owning single-instance coordination, data-migration gating, and shared runtime wiring; kerminal-ui and kerminal-mcp (desktop Streamable HTTP :37657 and standalone headless stdio) both orchestrate use cases through kerminal-application; kerminal-domain has zero runtime dependencies, and kerminal-terminal has zero I/O dependencies while maintaining separate snapshots for desktop rendering and MCP consumers. External plugins run as isolated Sidecar / Oneshot subprocesses under ProcessSupervisor over bidirectional JSON-RPC, while local TOML configs, SQLite WAL command history, and the XChaCha20-Poly1305 encrypted vault coordinate access under a root .storage.lock.
Run from source
Install the pinned Rust toolchain and your platform's build dependencies — see Rust toolchain and build dependencies:
git clone https://github.com/kongweiguang/Kerminal.git
cd Kerminal
cargo xtask run
Stable releases default to ~/.kerminal, while source builds default to ~/.kerminal-gpui. Set KERMINAL_CONFIG_ROOT to use an isolated directory. Run cargo xtask smoke for an isolated native startup check, or cargo xtask ci for the full architecture, formatting, check, Clippy, and test gate.
License
Kerminal is licensed under GPL-3.0-or-later. License · Third-party notices
Explore related projects
Loading…