Install the desktop app (recommended)
No source build needed — grab the official installers from GitHub Releases:
SHA256 checksums (
SHA256SUMS-macos.txt / SHA256SUMS-windows.txt) are on the
same page.
- macOS: ad-hoc signed — if Gatekeeper blocks the first launch, right-click the app → “Open”
- Windows: unsigned — when SmartScreen warns, choose “More info → Run anyway”
Requirements
Running from source needs three things:Install and run the desktop app
1
Clone and install dependencies
bun install sets up apps/*, apps/sidecar/*, and
packages/*. If the Electron binary is missing (common on restricted networks),
run node apps/electron/node_modules/electron/install.js once.2
Start development mode
next dev for the
renderer (:3000, HMR), an esbuild --watch build of the main process (Electron
restarts itself when dist/*.cjs changes), and the agent sidecar. No Rust, no
long compile wait.3
Configure a model
Open Settings → Models and add an API key for a provider. Credentials are encrypted
with AES-256-GCM into the local database, with the master key wrapped by the system
keychain (safeStorage) — never stored in plaintext. See
Security & keys.
Common commands
Smoke the sidecar without the UI
The sidecar is a standalone process and can be started on its own for a protocol smoke:apps/electron/scripts/, run against --remote-debugging-port; see the repo README.
Dev vs production data isolation
This is easy to trip over, so it gets its own section. Dev mode (unpackaged runs, or starting with--dev) uses the separate app identifier
com.kova.assistant.dev, shown as “Kova Dev”. Its data directory therefore becomes:
- Installing or uninstalling the production build does not touch dev data, and vice versa;
- The production (packaged) build uses
com.kova.assistant; the two cannot read each other’s ciphertext; - For further isolation between multiple instances / e2e runs, override the data directory:
KOVA_DATA_DIR=/tmp/kova-sandbox.
FAQ
Rebranding the app
Rebranding the app
This is a template repo; rebranding is one command:The script covers the brand’s three forms (slug / Pascal / UPPER), the
electron-builder.yml productName / appId, the runtime identifier and window title
in the main process paths.ts, and backs up files before changing them.Port 3000 is taken / pointing at another renderer
Port 3000 is taken / pointing at another renderer
Use
KOVA_DEV_URL for the renderer address, KOVA_DATA_DIR for the data directory,
and bun run dev -- --remote-debugging-port=9222 to pass flags through to Electron.Next
See what these capabilities look like in real use.
