What you’ll see
Ollama
- The facts: memory in use by loaded models and how many there are, how many models are installed and the disk space they take, and Ollama’s version.
- Models: Load a model is a menu of your installed models (an embedding model loads by itself when an app uses it, so it isn’t listed), and Pull a model asks for a name, such as
qwen3:8b, and downloads it. - In memory: each loaded model with its size in memory and when it unloads (“unloads in 25m”, or “stays loaded” for one kept in memory with
keep_alive: -1). A model that doesn’t fit on the GPU says where it runs, in Ollama’s own words: “100% CPU”, or “48%/52% CPU/GPU” when it’s split. On a Mac with Apple silicon a model normally runs all on the GPU, so that goes unsaid. Unload at the end of each row frees its memory now. - Installed: every model, newest first, with its parameter count, quantization and size on disk.
Model
One page for every installed model, titled with its name: whether it’s in memory and until when, what it can do (completion, tools, thinking, vision, embedding), how much context it’s loaded with and the most it takes, its parameters, quantization, size, family and when you pulled it. Its Model row has Load or Unload, and Delete model, which asks first.
Status
- No health card.
- When Ollama doesn’t answer, as when its app is quit, the cards say so and the page stays grey.
How it connects
The pages read Ollama’s local API. It has no sign-in, so there’s nothing to save in Settings → Secrets.
Requests it makes on its own 3
- GET
/api/psThe models in memory, their size, how much is on the GPU (
size_vram), their context and when they unload (expires_at).Ollama, ModelOnce a minute
- GET
/api/tagsEvery installed model, its size on disk, parameters, quantization, context and what it can do.
Ollama, ModelOnce a minute
- GET
/api/versionOllama’s version.
OllamaOnce a minute
Requests it makes when you act 4
POST /api/generate{"model": …}, orPOST /api/embed{"model": …, "input": []}for an embedding modelLoads the model, for Ollama’s keep-alive time (5 minutes unless you’ve changed it). The button waits up to 5 minutes for a large model to load.
Ollama, ModelWhen you pick Load a model or press Load
POST /api/generate{"model": …, "keep_alive": 0}Unloads the model now.
Ollama, ModelWhen you press Unload
POST /api/pull{"model": …, "stream": false}Downloads the model. The button spins until it’s done, for up to 30 minutes.
OllamaWhen you press Pull a model and send its form
DELETE /api/delete{"model": …}Deletes the model from Ollama.
ModelWhen you press Delete model and confirm
That’s 180 requests an hour with the Ollama page open, all to your own Ollama.
Sources and buttons explains each part of a page.
Set it up
- Ollama on this Mac: nothing to set up. The pages read
http://localhost:11434, where Ollama’s app answers. - Ollama on another computer: Ollama answers only on its own computer until it’s told to listen on the network, with
OLLAMA_HOST=0.0.0.0:11434(how, in Ollama’s FAQ). The official Docker image listens on the network already. Anyone who can reach that port can use and delete your models, since Ollama has no sign-in: keep it on your own network. - Add the pages. Paste the prompt into your agent, or download the two pages and run
/Applications/Legato.app/Contents/Helpers/legato set ollama-model ollama-model.json, thenlegato set ollama ollama.json. Keep the IDollama-model: every row opens it. - Point them at your Ollama if it’s on another computer: change
http://localhost:11434on both pages to its address, such ashttp://192.168.1.20:11434. macOS lets Legato use plain http only to an IP address, a.localname or this Mac, sohttp://gpu-box.lan:11434is refused; use its IP address or its.localname, or put Ollama behind https.
The cards fill within a minute. If they say Ollama isn’t answering, check it’s running (its icon is in the menu bar on a Mac) and, for another computer, that it listens on the network.
Prompt for your agent
Add 2 Legato pages for Ollama, starting from https://legatobar.com/examples/ollama.json, https://legatobar.com/examples/ollama-model.json. Use the page IDs ollama, ollama-model if they’re free: the pages link to each other by those IDs, so with any other ID, change the matching legato://page/ links.
Add the pages as they are, keeping their page IDs. If my Ollama isn’t on this Mac, change http://localhost:11434 on the source of both pages to its address. Don’t press Load a model, Unload, Pull a model, Load or Delete model to test them.
Use the local Legato MCP tools or /Applications/Legato.app/Contents/Helpers/legato.
Use list_pages first and choose an unused page ID. Do not overwrite an existing page. If I explicitly ask to update one, read its full body with get_page, preserve unrelated cards and settings, and use if_match with that version. On version_mismatch, read again before merging.
Ask me only for non-secret setup details that are missing. Never ask me to paste a password, token or API key into chat, page JSON or command arguments. Tell me to save it in Settings → Secrets for the service host, or link it from 1Password there.
Use the downloadable page, not the illustration’s sample data. Never invent readings. Fix any invalid_page paths and verify that the page loads. Do not press buttons that change the service or real devices to test it.Download the pages
Questions
Why doesn’t the page turn red when Ollama stops?
On a Mac you quit Ollama’s app often, and it isn’t a problem, so the page has no health card. When Ollama doesn’t answer, the cards say so.
Why do two models open the same page?
A model’s page is found by its digest, the fingerprint of its files, since a link can’t carry a name like qwen3:8b. Two names for the same files (after ollama cp) share one digest, so both open a page titled with the first, and Delete model deletes that name only.
Why does Pull a model sometimes fail on a large model?
Ollama stops a download when its request closes. The button waits up to 30 minutes; a model that takes longer stops there, and Ollama keeps what it got, so pressing it again carries on. A very large model is easier to pull in Terminal with ollama pull.
Why is Pull a model not in Spotlight?
A button that can take more than a minute stays in the panel, where you can see it working. Load a model is a menu of what’s installed now, so it stays in the panel too. Unload is on each row, and row buttons are never in Spotlight.
Does it show Ollama’s cloud models?
A cloud model you’ve added to Ollama is listed under Installed with the rest, by its name. The pages don’t read your cloud usage or balance, which need your Ollama account’s key.