Skip to content

Desktop Mode

Desktop mode is the recommended way to use TrustRAG. Everything runs locally on your device — no external servers or databases needed.

How It Works

When you launch TrustRAG desktop, the app:

  1. Starts an embedded Rust backend (Axum)
  2. Creates a local SQLite database with FTS5 search
  3. Automatically creates a local user account
  4. Serves the Flutter UI connected to the local backend

Supported Platforms

PlatformFormatNotes
Windows.exe installer, portable .zipInno Setup installer
macOS.tar.gzUniversal binary (unsigned)
Linux.tar.gzx64
Android.apkARM + x86
iOS.tar.gzUnsigned, requires sideloading

Data Storage

All data is stored locally in SQLite:

  • Documents and chunks
  • Conversations and messages
  • Citations and review records
  • Workspace and user configuration
  • FTS5 full-text search index

Limitations vs Server Mode

FeatureDesktopServer
DatabaseSQLite + FTS5PostgreSQL + pgvector
Vector searchBasic similaritypgvector ANN
Document processingEmbeddedDedicated Python sidecar
Multi-userSingle userMulti-user with roles
Object storageLocal filesystemMinIO / S3

Released under the Apache 2.0 License.