Gemini Desktop is a native desktop application designed to interact with the Gemini CLI via the Agent Client Protocol (ACP) over standard input/output using JSON-RPC. Built with Tauri v2, Rust, and SvelteKit, it offers a modern and efficient interface for working with Gemini AI models.
Key Features:
Real-time token streaming with cancelable requests for smooth interactions.
Interactive tool execution permissions to review and approve commands before they run.
Support for multiple Gemini models, including Auto (Gemini 3), Gemini 3.8 Flash, and custom entries.
Integration with Model Context Protocol (MCP) servers for enhanced configuration management.
File, folder, and Git context attachments with inline autocompletion.
Multi-theme system with adaptive syntax highlighting.
Target Audience and Benefits:
Ideal for developers, AI researchers, and professionals looking to integrate Gemini into their workflows. Users benefit from efficient interaction with the Gemini CLI, enhanced security through tool execution permissions, customizable model selection, and seamless integration with existing tools.
Available via Windows Package Manager (WinGet), you can install Gemini Desktop using 'winget install [package ID]' for easy deployment. This application is optimized for AI enthusiasts and professionals seeking to use Gemini's capabilities in their projects.
README
🚀 Gemini Desktop
A modern, blazing-fast native desktop application for interacting with the Gemini CLI via the Agent Client Protocol (ACP) over standard I/O (JSON-RPC). Built from the ground up with Tauri v2, Rust, and SvelteKit / Svelte 5.
Full bidirectional JSON-RPC streaming directly over the child CLI process stdin/stdout.
Resilient JSON-RPC ID parsing and stopReason: "end_turn" completion handling across Gemini CLI and Antigravity CLI (agy), eliminating hanging "working" states.
Non-blocking real-time model steering mid-flight with mode-aware steering prompts.
Interactive Tool Execution Permission Intercepts — review and approve tool/command execution before changes occur on your machine.
Tucks multi-step agent tool executions into an expandable accordion tree (ToolCallGroup.svelte) displaying only the single active running task with a live spinner during execution.
Automatically collapses completed steps into a single compact header ([▶] N steps completed • 2m 15s) with a one-click toggleable tree view, keeping the assistant's final response clean and readable.
Error Filter Pill: Toggle between "All Steps" and "Errors Only" to instantly isolate failed executions and stack traces.
Batch Multi-Toggle: One-click "Expand All / Collapse All" to inspect parameters, raw stdout, and errors across all steps simultaneously.
Drag-and-Drop Drop Zone: Drag and drop code files, documents, or screenshots directly onto the chat canvas with an interactive dashed drop zone overlay.
Clipboard Screenshot Paste: Paste screenshots directly (Win+Shift+S or Ctrl+V) into composer; saved automatically to .gemini/attachments/ with thumbnail preview chips.
Inline @ mention autocomplete popover with fuzzy search across workspace files and directories.
One-click Git context presets: @git:diff (working tree changes), @git:staged (index changes), and @git:status.
Removable badge chips row with individual and "Clear All" dismiss controls.
📊 Context Window & Cumulative Token Meter Gauge
Live session token consumption meter in the chat header tracking active tokens against the 1M ceiling.
Visual color indicator and warning notification when approaching 750,000+ tokens with one-click recommendation to compact context.
💬 Prompt History Navigation & Sanitized Markdown
↑ and ↓ arrow navigation in ChatPromptComposer.svelte cycling through past sent prompts while preserving active in-progress drafts.
XSS-safe markdown rendering powered by DOMPurify with event-delegated code block copy buttons.
🎨 Multi-Theme System & Syntax Highlighting
4 tailored themes: Platinum Dark (default), Gemini Aurora, Cyber Emerald, and Platinum Light (platinum-white).
Full theme-adaptive highlight.js syntax highlighting palette tuned for readable light and dark contrast.
This boots Vite with hot-module reloading on localhost:1420 and spawns the native Tauri desktop window.
4. Code Quality & Verification
# Type check Svelte & TypeScript
npm run check
# Run Rust unit tests
npm --prefix src-tauri test
# or
cargo test --manifest-path src-tauri/Cargo.toml
5. Build for Production
npm run tauri build
Compiled binaries and installers will be output to src-tauri/target/release/bundle/.
🤖 CI / CD
Automated builds and releases are managed via GitHub Actions (.github/workflows/release.yml):
Pushing any tag matching v* (e.g. v0.1.0) triggers a build on windows-latest.
Compiles the SvelteKit frontend and Rust release binary with LTO optimizations.
Automatically publishes the release and attaches .exe installers, .msi packages, and standalone portable executables (GeminiDesktop-Portable.exe) to GitHub Releases.
Manual triggers are also supported via workflow_dispatch in the GitHub Actions tab.