Skip to main content
DeepSeek Harness Desktop is a Tauri 2 application: Rust owns windows, commands, and OS integration, while the window and interface render in the Electron / Chromium runtime bundled with the installer. The desktop app manages a local Harness service and displays its web interface inside that window.

Architecture diagram

This diagram shows the local runtime path: the desktop UI communicates with the Rust backend through Tauri commands. The backend manages a separate Harness service process, and the embedded client accesses it through a loopback address.
IPC represents commands and events between the desktop UI and native backend. Local data includes profiles and sessions. Component boundaries are not security sandboxes: tools and plugins can still execute local code.

Main layers

Startup flow

1

Resolve configuration

Rust derives release or debug paths, the active profile, preferred core, and port.
2

Prepare dependencies

Reuse compatible local tools or prepare managed Node.js, pnpm, and the core. First startup downloads missing dependencies over the network.
3

Ensure plugins

Check and restore built-in plugins in the active profile before starting the service.
4

Launch and probe Harness

The selected Node launches the Harness entry with --profile <id> --port <port> --no-open, then the backend waits for health.
5

Load the client

Switch from setup or loading state to the local Harness UI. Default ports are 3080 for release and 3081 for debug; an occupied port can trigger fallback.

Trust boundaries

The web client, Rust backend, Harness process, plugins, model providers, and opened workspace are separate components, not separate security sandboxes. Tauri commands narrow native capabilities; Harness tools and plugins can still execute local code with the user’s permissions. Profiles are not operating-system sandboxes. Chromium’s process sandbox isolates renderer processes only; it does not limit the user permissions held by plugins and the Harness process. Next, inspect Runtime and data or the Plugin system.