A modern ollama alternative
翻译准备中
正在加载完整 README。
查看完整 README ↗alkahest desktop) to browse, download, configure and watch models.Download the package for your system from the latest release:
| System | Package |
|---|---|
| Linux | .deb, .rpm, .AppImage (desktop) or alkahest-<version>-<target>.tar.gz (server and CLI only) |
| macOS | Alkahest_<version>_aarch64.dmg (Apple Silicon) or _x64.dmg (Intel) |
| Windows | alkahest_<version>_x64-setup.exe or the .zip |
Every package ships a CPU build of llama.cpp, so it works out of the box. For your GPU:
alkahest engines install llama-cpp # best build for this machine (CUDA, Vulkan, ROCm, Metal)
alkahest engines install llama-cpp --native # or compile one tuned to this CPU
Setup scripts (scripts/setup/install.sh, install.ps1), Homebrew, Docker and running as a
service are covered in the install guide. Already installed?
alkahest update moves to the newest release.
alkahest pull llama3.2:3b # from the Ollama registry
alkahest pull hf.co/ggml-org/tiny-llamas:Q4_0 # from Hugging Face
alkahest serve # listens on 127.0.0.1:11435
alkahest run llama3.2:3b "Why is the sky blue?" # in another terminal
alkahest ls lists what you have, alkahest ps what is loaded, alkahest stop unloads.
Port 11435 is one above Ollama's, so both can run side by side.
Point any Ollama, OpenAI or Anthropic client at http://127.0.0.1:11435:
from openai import OpenAI
client = OpenAI(base_url="http://127.0.0.1:11435/v1", api_key="unused-on-loopback")
reply = client.chat.completions.create(
model="llama3.2:3b",
messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
curl http://127.0.0.1:11435/api/chat -d '{"model":"llama3.2:3b","messages":[{"role":"user","content":"Hello"}]}'
The API reference lists every route, including the Anthropic Messages API, embeddings, reranking, speech, images and decisions.
Alkahest reads curated catalogs of models and engine builds from git repositories, so new
entries arrive without a new release. The official catalog lives in catalog/;
you can add your own, private ones included.
alkahest search qwen --source catalog
alkahest pull alkahest/qwen/qwen2.5-0.5b-instruct
alkahest catalog add mycompany https://github.com/mycompany/models --subdir catalog
Models you already have on disk are added the same way, from a GGUF file, a folder (split
shards, a vision projector, a Modelfile, or a Hugging Face safetensors folder) or an
Ollama-style Modelfile. The source files are never modified:
alkahest import ~/models/mistral-7b-instruct.Q4_K_M.gguf # copy into the store
alkahest import ~/models/qwen2-vl/ --name qwen2-vl --link # register in place, no copy
alkahest create my-assistant -f Modelfile # FROM ./file.gguf, TEMPLATE, PARAMETER ...
alkahest run ./tiny.gguf "Hello" # import and run in one step
alkahest keys create laptop --expires 30d # prints the key once
alkahest serve --host 0.0.0.0:11435 # non-loopback requests now need a key
Keys can be limited to inference or admin and to specific models. TLS, reverse proxies, CORS, limits and monitoring are described in Serving and security.
alkahest desktop opens the library, model discovery, per-model settings, running models,
engines, API keys, catalogs and settings, with a tray icon. It talks to the server over the same
API as any client. See the desktop guide.
The user guide is in docs/book/src (build it with
mdbook build docs/book):
cargo build --release -p alkahest --no-default-features # server and CLI
cargo build --release -p alkahest --features desktop # with the desktop app
The toolchain is pinned in rust-toolchain.toml. Contributor rules are in
AGENTS.md.
MIT, copyright 2026 Digio. See LICENSE and NOTICE; third-party
licences are listed in the licences page.