Skip to content
SIRJAHIBENTLEY
All work
Concept & early prototypeOffline-first retrieval and local inference

Private AI Workspace

An offline-first concept for document Q&A on hardware the user controls, with encrypted portable storage and host-machine compute for inference.

Concept and early prototype. Implemented and planned items are listed separately. No benchmark data is claimed.

01 · Problem

Many small organizations want AI assistance over sensitive documents but cannot or will not send them to a third-party API.

02 · Context

The concept packages documents, an encrypted index and model weights on portable storage. All compute — embeddings and generation — runs on the connected host computer. The drive itself performs no AI computation.

03 · Constraints

  • Must function without a network connection.
  • Host hardware varies widely; model choice must degrade gracefully.
  • Portable storage bandwidth and capacity limit model size and index load time.
  • Loss or theft of the drive must not expose data.

04 · Architecture

HOST MACHINE · COMPUTEPORTABLE SSD · STORAGEUserLocal appLocal runtimeAPI · policyEmbedderCPU/GPUQuantized LLMHost inferenceVector indexEncryptedModel weightsRead-only

05 · Alternatives considered

Hosted LLM API

Highest quality and least effort, but data leaves the organization. Out of scope for this concept.

On-prem GPU server

Suitable for larger teams; higher cost and IT ownership. Offered as a deployment option.

Portable storage + host compute

Chosen for the concept: low barrier, user-controlled data and explicit speed limits.

06 · Decision rationale

  • Separating storage from compute keeps the portable unit simple and allows better host hardware later.
  • Retrieval with citations reduces reliance on model memory and makes answers checkable.
  • Policy and redaction run before retrieval, so governance does not depend on the model.

07 · Trade-offs

  • Smaller local models are less capable than frontier hosted models.
  • Loading weights from external storage is slower than from internal NVMe.
  • Model and software updates must be distributed deliberately.

08 · Security

  • Full-volume encryption on the portable drive, unlocked per session.
  • No telemetry by default; the audit log stays local.
  • Signed application builds and checksummed model weights.

09 · Testing approach

  • Retrieval evaluation on a fixed question set with expected source passages.
  • Hallucination spot checks: answers must cite a source or decline.
  • Cold-start tests across a range of host machines.

10 · Implemented vs. planned

Implemented

  • Local retrieval pipeline with citations
  • Quantized model loading from external storage
  • Basic redaction rules

Planned

  • Encrypted-volume unlock UX
  • Desktop shell
  • Evaluation dashboard
  • Optional private network gateway

11 · Next steps

  • Publish evaluation methodology
  • Pilot with a small practice under suitable agreements
  • Document hardware guidance

12 · Stack

PythonFastAPIOpen-weight LLMs (quantized)Local vector indexElectron/Tauri shell (planned)

Next case study

Cloud Reference Platform