L Loach Docs
Ctrl K

Onboarding wizard

A six-step wizard runs on first launch and after a factory reset. Each step saves its own choices before moving on, so closing the wizard part-way still leaves the app in a consistent state - you can finish setting things up from Settings later.

The steps

Every step after the welcome screen has a Back button (on Pick a provider, only until you’ve chosen a path), and dots along the bottom show how far along you are.

The wizard does not ask for a display name. {{USER_NAME}} still resolves from Settings → General; it simply is not collected up front, because the value only pays off once you write it into a custom instruction.

Choosing a model

When Ollama is running but has no models, the provider step reads your machine’s capacity and leads with a single Recommended for this machine card - the largest catalog entry that runs comfortably and fits your free disk space - with a Pull this one button, instead of asking a newcomer to pick blind from a dozen tags. When nothing runs comfortably it suggests the smallest download that fits on disk, and when nothing fits on disk it points at the smallest download overall. The card names the numbers it used, for example “Based on 8.0 GB VRAM · NVIDIA GeForce RTX 4060 · 120 GB free on disk”.

If the recommendation looks wrong for your hardware, see Onboarding sized my machine wrong.

Neither provider path pins a default model silently. When Ollama already has models, the step reports how many it found and shows them in a Default model picker, pre-set to the first one unless you already have a default - one picked earlier, or a model verified on the OpenAI option, which just looking at the Ollama option doesn’t replace (the picker then reads Select a model). The OpenAI path shows the endpoint’s catalog in the same picker, pre-set to its top-ranked chat model each time you verify (see below). Either way you can change the pick here or later from the model dropdown.

Connecting an OpenAI-compatible endpoint

The OpenAI API path asks for a Base URL (defaults to https://api.openai.com/v1; change it for vLLM, LM Studio, LiteLLM or any OpenAI-compatible proxy) and an API key. The key is optional: local servers such as LM Studio usually need none, so leave it blank. Verify & save first lists the endpoint’s models with the key you typed, to prove the connection works, and only then saves the base URL and stores the key in your OS credential manager. If the check fails, the error is shown and nothing is saved, so a bad key never stays saved and never replaces a working one. On success you see Connection verified and a Default model picker ranked so chat models come first - embedding, audio, image and moderation models go to the bottom.

Come back to this step with a key already stored and Loach checks it again: Key stored - not verified yet. shows until the endpoint answers, and Continue unlocks once it does. If the stored key doesn’t work, the error says so - double-check it and the base URL.

Downloads that outlive the wizard

Starting a pull pins that model as your default and unlocks Continue right away, so you can finish setup while it downloads. A progress strip pinned to the bottom of every remaining step shows each pull, with a stop button per download - Ollama keeps the layers it already fetched, so a re-pull resumes from them. Finished pulls stay listed as Downloaded or Failed rather than vanishing. In the chat itself a banner above the composer tracks the same download, and sending to a model that is still downloading is refused with a clear “still downloading (43%)” message rather than a confusing not-found error.

When Ollama is not reachable

The provider step shows Ollama isn’t reachable with three buttons: Start Ollama, Download Ollama (opens ollama.com) and Change URL, for an Ollama on another port or machine. It offers to start Ollama before suggesting a download, since “installed but not running” and “not installed” look identical from a failed probe - if the start fails, its error (such as not finding the Ollama executable) tells the two apart. Loach can only start Ollama on this computer. The panel also re-checks every 3 seconds in the background, so if you leave to install Ollama you come back to a green panel instead of a stale warning.

Dismissing and resuming

Press Esc or click × on any step to close the wizard. On Pick a provider it asks first - Skip setup? with Keep configuring and Skip anyway - because the app needs a provider before you can chat; you can set one up later in Settings → Providers. Steps you have completed stay saved, but the step you close on is not: its switches only save on Continue or Skip. Either way you land in a new, empty chat, and the wizard does not re-appear on later launches unless you run a factory reset.