Skip to main content
The Electron main process owns the Moss client and the index; the renderer calls it over IPC to run queries. The index is queried in-process, so search is a local function call rather than a network request and works offline. The index persists to the user data directory and syncs in the background when a connection is available.

Architecture

An Electron renderer searches over IPC through the main process, which owns the Moss client and an index on diskAn Electron renderer searches over IPC through the main process, which owns the Moss client and an index on disk
  • Main process owns a Moss client
  • Renderer calls main via IPC for index/query
  • Index persisted to the user data directory

Example (main process)

Offline-first search

The retrieval pipeline in depth.

Local embeddings

Embed on-device for privacy.