Desktop Workspace Overview
Architecture, performance benchmarks, and capabilities of the native BhaiCode desktop app.
The BhaiCode Desktop App is a native development workspace built with Tauri 2, Rust, and React 19. It gives you high-velocity AI assistance with local-first privacy, native terminal integration, and a small memory footprint.
Rather than bundling Chromium and Node.js runtimes inside Electron, BhaiCode Desktop renders with your operating system’s native webview and runs filesystem, process orchestration, and PTY terminal work through a compiled Rust core.
Installer size, versus ~120–150 MB for a typical Electron editor.
Idle memory footprint, versus ~500–800 MB.
Cold startup time, versus 2.5–4.5 s for a typical Electron editor.
Architecture
Performance versus a typical Electron editor
| Metric | BhaiCode Desktop (Tauri 2) | Typical Electron editor |
|---|---|---|
| Installer size | ~7–8 MB | ~120–150 MB |
| Idle memory footprint | ~45 MB RAM | ~500–800 MB RAM |
| Cold startup time | < 350 ms | 2.5–4.5 s |
| Execution security | Native OS keychain & path denylist | Plaintext config files |
Two working modes
A focused interface for task delegation (Cmd + 1 / Ctrl + 1):
- Step-by-step implementation plan progression.
- Subagent delegation, e.g. system design to Planner or heavy refactors to Executor.
- Real-time tool execution logs.
- Permission approval gates for terminal commands and sensitive actions.
A dual-pane developer environment (Cmd + 2 / Ctrl + 2):
- File explorer with Git status indicators.
- CodeMirror 6 editor with syntax highlighting for 100+ languages.
- Ask AI on Selection: highlight code to explain, refactor, or test it inline.
- Integrated PTY terminal running your system’s native shell.
Local-first security and BYOK
- Zero remote code storage: your source stays on your local filesystem.
- Native OS keychain vault: keys for OpenAI, Anthropic, Gemini, and Nous Portal are stored in macOS Keychain, Windows Credential Manager, or Linux Secret Service, never in unencrypted config JSON.
- Direct provider connection: requests go from your machine to the provider endpoint without a BhaiCode proxy.
- Air-gapped offline models: connect local models via Ollama at
http://localhost:11434.