Open source · MIT

Find, download and run local LLMs.

loom is a terminal interface for llama.cpp. It browses GGUF models on Hugging Face, shows which quant fits your GPU, and explains every flag it passes.

Arch Linux
paru -S loom-cli-git ggml-vulkan
~ — loom run
$ loom run phi4-mini
phi4-mini  2.5 GB
llama-server
-m …/phi4-mini.gguf
the model file
--fit-ctx 4096
context uses the model's maximum when memory allows, shrinking to fit but never below 4k tokens
-ngl all
every layer on the GPU (fails to load if it doesn't fit)
--host 127.0.0.1
only this machine can connect
--port 8080
where the web UI and API are served
Serving on http://127.0.0.1:8080 (web UI; OpenAI API at /v1). Ctrl-C to stop.
srv  server_on_li: listening on http://127.0.0.1:8080

Features

Everything between “which model?” and a running server.

One terminal app for finding a model, picking a quant your hardware can hold, and starting it with llama.cpp.

  • Discover on Hugging Face

    Browse GGUF models sorted by downloads, search and filter them, and see parameters, context and tags before you pull anything.

  • Know what fits

    Every quant lists its size and how it fits your GPU: fits, tight or partly CPU. loom marks the one it recommends.

  • Every flag explained

    loom builds the llama-server command and writes a reason under each flag, so you learn llama.cpp instead of copying it.

  • Downloads that resume

    Interrupted downloads pick up where they stopped. Gated models work once you give loom a Hugging Face token.

  • Serve or chat

    Start a server with a web UI and an OpenAI-compatible API, or chat in the terminal. Activity shows each server and its live log.

  • Profiles

    loom remembers your last settings for each model. Save them as named profiles and start one with --profile.

  • Doctor

    Checks llama.cpp, your GPU and memory, disk space and the Hugging Face token, and says how to fix what it finds.

  • Your keys

    Rebind any key in keys.conf. loom keys prints the defaults, and ? lists them inside the interface.

Preview

From search to server in four steps.

Screenshots of loom running in a terminal on Linux.

loom — list
Library view: downloaded models with GPU fit, and a download in progress
List your models and downloads in one place

Install

Bring any build of llama.cpp.

loom runs models with llama.cpp. It runs on the CPU out of the box; for a GPU, pick a llama.cpp build for it.

Arch Linux

AUR · loom-cli-git

Pulls in llama.cpp. Add a GPU backend such as ggml-vulkan; paru -Ss ggml lists them all.

paru -S loom-cli-git ggml-vulkan

From source

Go 1.24+

Once llama.cpp is installed, build loom with the Go toolchain.

git clone https://github.com/RaafatTurki/loom
cd loom && go install .

llama.cpp backends

  • CPUout of the box
  • Vulkanmost GPUs
  • CUDANVIDIA
  • ROCmAMD
  • MetalmacOS

loom is written and tested on Linux. macOS and Windows support is best effort.

Usage

One command opens it. A few more skip it.

Everything in the interface is also a command. loom help <command> shows a command's options, and ? lists the keys inside the interface.

loom help
loom
open the interface
loom run phi4
start a model, explaining each flag
loom pull owner/repo
download from Hugging Face
loom ls
list downloaded models
loom rm phi4
delete a model
loom help run
options of a command

Gated models

Some models on Hugging Face need you to accept their terms first. loom marks them GATED in Discover and Library.

  1. Open the model's page on huggingface.co and accept its terms.
  2. Create a read token. A fine-grained token needs access to public gated repos.
  3. Give it to loom: run hf auth login, paste it into Config, or set $LOOM_HF_TOKEN.

Without a token, gated downloads are refused and public models still work.

Open source, MIT licensed.

Issues and pull requests are welcome.