Goal
One-click setup for fully local AI translation: the app downloads, configures, and runs a local LLM if the machine supports it — no cloud account, no API key, nothing leaves the machine. Relevant for teams with sensitive strings and for users who just don't want to manage keys.
Builds on the provider-agnostic LLM layer from #8: the suggestion pipeline only talks to an OpenAI-compatible endpoint at a configurable base URL, so a managed local runtime plugs in as a preconfigured provider pointed at localhost — zero changes to the pipeline, glossary, or draft flow.
Proposed approach
Runtime: Ollama as a managed sidecar
- Detect an existing Ollama install first and reuse it (many devs already run one) — manage our own only if none is found
- Otherwise download the Ollama binary and run it as a Tauri sidecar; the app owns its lifecycle (start on demand, stop on quit)
- Ollama handles the hard parts: model downloads, quantization variants, GPU offload, and it already speaks the OpenAI-compatible API
Hardware check gates the offer
- Probe RAM, VRAM / Apple Silicon unified memory before offering the feature at all
- Gate not just "can it run" but translation quality: small models are weak at multilingual output — an 8B-class model is roughly the floor for decent quality, which implies ~8–16 GB RAM as a practical minimum
- Curate a small model list per hardware tier rather than exposing the full Ollama catalog
UX
Open questions
Dependencies
Goal
One-click setup for fully local AI translation: the app downloads, configures, and runs a local LLM if the machine supports it — no cloud account, no API key, nothing leaves the machine. Relevant for teams with sensitive strings and for users who just don't want to manage keys.
Builds on the provider-agnostic LLM layer from #8: the suggestion pipeline only talks to an OpenAI-compatible endpoint at a configurable base URL, so a managed local runtime plugs in as a preconfigured provider pointed at
localhost— zero changes to the pipeline, glossary, or draft flow.Proposed approach
Runtime: Ollama as a managed sidecar
Hardware check gates the offer
UX
Open questions
Dependencies