Skip to content
Projects

About

Open-source desktop workspace for the coding CLIs you already use (Claude Code, Codex, OpenCode, and more), plus a Rust agent, translation, and screen Q&A.

Developer Tools

How these counts are measured

Measured star growth

in 24h
+8
in 7 days
+7
in 15 days
+5
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

Original
Kivio Desktop

Kivio Desktop

Local Multi-CLI Orchestration Workbench · Pure Rust Agent Engine · Screen-Level AI Assistant

Release Platform Engine Installer Downloads License

简体中文 · English · Release Notes · Changelog

Download · CLI Orchestration · Rust Benchmarks · Translate & Lens · Hotkeys · Development · QQ 1104450740


Kivio Desktop Unified Workbench and Diff Review

Keep using Claude Code, Codex, or Antigravity already installed on your machine — Kivio packs 10+ local coding CLI orchestration, a pure Rust built-in Agent engine, and always-on translation, screenshot OCR, and Lens visual Q&A into a single ~33 MiB native desktop app for macOS and Windows. No Kivio account required; bring your own subscriptions or API keys with all chats and notes stored locally.

❤️ Sponsor

Interested in sponsoring Kivio? Reach out via GitHub Issues or QQ group 1104450740.

Sponsors (click to collapse)
Crab-ai Thanks to Crab-ai for sponsoring this project. Crab-ai offers a unified model API gateway so you can access multiple leading models with one API key. Sign up for Crab-ai →

1. Local Multi-CLI Control Plane & Orchestration

Use any supported coding CLI installed on your computer inside one unified workspace to switch models, review code changes, and coordinate tasks across agents.

Switch Local CLIs & Delegate Cross-Agent Reviews Manage Per-CLI Models & Relay Profiles
Cross-CLI Orchestration and Model Picker Local CLI Management
  • 10 Local External CLI Agents — Auto-detects Claude Code, Codex CLI, Antigravity, Gemini CLI, OpenCode, Grok CLI, Kimi CLI, Pi, Hermes, and DeepSeek Harness; import existing native sessions and continue them in their original working directory.
  • Non-Invasive Relay & Env Overrides — Import profiles from cc-switch or attach per-CLI custom providers and environment variables that apply only to Kivio-spawned processes, leaving your global ~/.claude and ~/.codex files untouched.
  • Cross-CLI Delegation & Voice Dispatch — Through the built-in Kivio-server local MCP bus, ask Codex to delegate an independent diff review to Antigravity (grouping child threads beneath the parent); dispatch tasks across projects via real-time voice orchestration or paired devices.
  • Git Worktree Isolation & Right Review Dock — Isolate parallel agent work in separate Git worktrees; post-turn file-change cards open directly into the right Dock's file tree, inline Git diff, commit/branch controls, and integrated terminal.

2. Pure Rust Built-in Agent & Resource Discipline

Alongside orchestrating external CLI agents, Kivio ships its own standalone Rust engine, kivio-agent-sdk. When calling API keys, custom relays, or local endpoints (Ollama / vLLM / LM Studio), the built-in runtime executes the tool loop and up to 32 concurrent sub-agents natively in-process — supporting side-by-side multi-model comparisons, model re-answering, and automatic multi-key failover.

Kivio Rust Engine vs Pi Agent and OpenCode Benchmarks

  • Head-to-Head vs. Open-Source Coding Agents (Warm Persistent & Cold One-Shot) — Measured on Apple M4 (16 GB) under an identical loopback OpenAI SSE + 4-tool schema + disk file-read workload against Pi Agent v1.7.0 (TypeScript · Node.js v24) and OpenCode v1.18.34 (TypeScript · Bun): even with cold start completely excluded using each agent's native persistent mode (in-process Rust Tokio vs. warm pi --mode rpc workers vs. a single warm opencode serve HTTP /session daemon), 16 concurrent warm sessions take 3.25 ms / 8.8 MiB total RAM in Kivio — 7.1× faster and 212× less RAM than warm Pi (1.83 GiB), and 108× faster and 107× less RAM than OpenCode's daemon (950 MiB); for one-shot CLI execution, Kivio finishes in 7.15 ms / 4.9 MiB (22× faster than pi -p, 135× faster than opencode run).
  • Full Native GUI Smaller Than Terminal-Only CLIs — The standalone kivio-agent-sdk binary is 12.0 MiB, and Kivio's complete macOS .dmg installer (full GUI + Rust core + OCR) is 32.6 MiB (82.0 MiB unpacked .app) — 4.2× smaller than OpenCode's CLI-only binary (138 MiB) and 8.5× smaller than Pi + Node.js (278 MiB); long chats page a 60-message / 512 KiB tail window (cutting 1k-step live DOM nodes from 36,095 to 456) and free the WebView on window close.

Reproducibility: Physical memory footprints collected via macOS vmmap -summary (warm persistent processes) and /usr/bin/time -l (one-shot runs); built-in engine harnesses live under crates/kivio-agent-sdk/examples and UI baselines in docs/perf/chat-rendering-baseline.md.


3. Screen-Level AI: Translation, OCR & Lens

Always ready in the system tray — translate or inspect anything on screen via global hotkeys without switching apps:

Lens Freeze-Screen Annotation & Visual Q&A Screenshot OCR Translation Overlay
Lens Formula Extraction Screenshot Translation
  • Four Translation Modes — Floating bilingual Quick Translate, cross-app Selection Translate, Screenshot OCR Translate, and In-Place Replace Translate (painting translated text directly back over the original layout).
  • Lens Capture & Handoff — Freeze the screen, select a region or window, annotate with arrows, rectangles, or mosaic blur, ask multi-turn visual questions, and hand the capture + thread straight back to the main chat window.
  • Native & Offline OCR — Uses native OS engines (Apple Vision / Windows OCR) out of the box, with optional one-click installation for an offline RapidOCR pack.

4. Visual Automations & Research Extensions

Node-Based Visual Automation Canvas Kivio Study Literature & Bilingual PDFs
Automation Canvas Kivio Study
  • Automations & Scheduled Tasks — Under Tasks, build n8n-style node Automations (connecting triggers, modular Agent slots, HTTP, shell commands, and IF / Switch branches) or bind recurring Scheduled Tasks to any conversation.
  • Kivio Study Academic Workbench — Opt-in built-in extension with nested paper collections, DOI lookup, isolated PDF2zh formula-preserving bilingual PDF translation, page-grounded Q&A, and Pandoc export.
  • Built-in Productivity Suite — Local knowledge bases, Milkdown rich-text notes, image/video media studio, Skills & MCP plugin center, 12 dual-mode themes, and a native in-process Momo desktop pet.

Download & Installation

Download the latest release from GitHub Releases:

  • macOS (Apple Silicon): Kivio.Desktop_*_aarch64.dmg
  • Windows 10 / 11 Installer: Kivio.Desktop_*_x64-setup.exe (uses Edge WebView2)
  • Windows Portable: Kivio.Desktop_*_x64-portable.zip (unzip and run Kivio Desktop.exe)

[!IMPORTANT] macOS First Launch & Permissions: Release builds are ad-hoc signed and unnotarized. On first launch, right-click the app → Open, or run:

xattr -cr "/Applications/Kivio Desktop.app"

Grant Accessibility and Screen Recording permissions for screen tools. If macOS reports missing permissions after an upgrade, quit Kivio, remove the old entry in System Settings, and re-add the app.

Quick Start

  1. Pick a Local CLI or Provider: Complete onboarding. Installed CLIs appear immediately in the titlebar picker; configure API keys, Provider OAuth, or local endpoints under Settings → Providers.
  2. Link a Project: Press ⌘⇧K / Ctrl+Shift+K and add a folder under Projects to enable Git worktrees and the right review Dock.
  3. Capture Screen Context: Press ⌘⇧G / Ctrl+Shift+G for Lens visual Q&A or ⌘⇧A / Ctrl+Shift+A for screenshot translation anywhere.

Default Hotkeys

All shortcuts are remappable with conflict detection under Settings → Hotkeys:

Action macOS Windows Action macOS Windows
Open Chat ⌘ ⇧ K Ctrl + Shift + K Selection Translate ⌘ ⇧ T Ctrl + Shift + T
Close Chat Window ⌘ ⇧ W Ctrl + Shift + W Screenshot Translate ⌘ ⇧ A Ctrl + Shift + A
Quick Translate ⌘ ⌥ T Ctrl + Alt + T Replace Translate ⌘ ⇧ R Ctrl + Shift + R
Lens Visual Q&A ⌘ ⇧ G Ctrl + Shift + G Screenshot Annotate ⌘ ⇧ S Ctrl + Shift + S

Development

Requires Node.js 20.19+, npm, Rust, and Tauri 2 prerequisites (plus Swift on macOS for the OCR helper):

npm install
npm run dev                  # Launch isolated Kivio Dev desktop app
npm run build                # Production installer (or npm run build:dev)
npm run architecture:check   # Verify module dependency boundaries
npm run lint && npm run typecheck && npm test
cargo test --manifest-path src-tauri/Cargo.toml   # Windows: powershell -File scripts/win-cargo-test.ps1
Dev Isolation, Architecture Docs & FAQ
  • Dev Isolation: Kivio Dev uses com.zmair.kivio.dev with isolated data, skills, and ports, leaving production com.zmair.kivio untouched (avoid continuing the same external CLI native session in both builds at once). Run npm run protocol:generate && npm run protocol:check after changing chat-protocol; model metadata lives in kivio-models.
  • Shared Rust Build Cache Across Worktrees (Optional): If heavy multi-worktree development causes src-tauri/target disk bloat or repeated dependency rebuilds, you may optionally use the third-party Cargo fork huacnlee/cargo locally for shared caching and automatic size limits (not required; CI and release builds continue to use standard Cargo).
  • Further Reading: Architecture · Domain Language · Engineering Standards · Kivio Agent SDK · Backup & Restore · Chat Probe
  • Where Data Lives: Stored locally under ~/Library/Application Support/com.zmair.kivio (macOS) or %APPDATA%\com.zmair.kivio (Windows).
  • Why Imported CLI Chats Stay on Their Original CLI: Importing creates a display snapshot and session binding while the CLI retains ownership of its native session (ADR-0001, ADR-0002).

Community & Contributing

Issues and PRs are welcome (for larger features, please open an issue first; see docs/agents/issue-tracker.md).

Kivio QQ Group 1104450740 Join the Kivio Community

• Official QQ Group: 1104450740
• Feedback & Bugs: GitHub Issues · Downloads: GitHub Releases

Star History

Star History Chart

License

GPL-3.0-or-later © ZM

Explore related projects

Loading…