cmgenerate
Local LLM inference in Rust: a library, CLI, chat client, HTTP server, and tool agent. Reads memory-mapped weights and runs quantized kernels on the CPU, with Vulkan, CUDA and Metal acceleration.
Downloads — version 0.3.6
Linuxx86-64
Linuxaarch64 (ARM64)
Windowsx86-64
Windowsaarch64 (ARM64)
macOSx86-64
macOSaarch64 (ARM64)
Linux binaries link glibc 2.28 or later.
What each archive contains
Every archive unpacks to the nine programs below, the web UI's assets in webui/, README.md and the man pages (as written and as PDF).
| Program | Purpose |
|---|---|
cmgenerate | Generate, inspect, score, or convert; also --repl and --serve |
cmchat | Persistent chat with line editing and history |
cmserve | HTTP server with address and model-name options |
cmagent | Chat with file tools and optional shell commands |
cmfinetune | LoRA finetuning on the CPU, and merging an adapter into a GGUF |
cmtranscribe | Speech to text with Parakeet TDT (Phonon-2 or a Parakeet GGUF); text, JSON, SRT or VTT |
cmspeech | Text to speech with Kokoro-82M; English built in, more languages with espeak-ng |
cmvoiceagent | Spoken front end for cmagent: microphone, Parakeet, Kokoro, spoken approvals |
cmagent-webui | Browser front end for cmagent: conversations, approvals, files, skills, voice; serves webui/ |
Running
Unpack, then run from the extracted directory. A model can be a GGUF file, safetensors file, llama2.c .bin, or a HuggingFace directory with config.json.
tar xzf cmgenerate-0.3.6-linux-x86_64.tar.gz
cd cmgenerate-0.3.6-linux-x86_64
./cmgenerate model.gguf "Explain Rust ownership." -n 128 -t 0
./cmchat model.gguf
./cmserve model.gguf --listen 8080
./cmagent model.gguf "Summarize this repository."
./cmagent-webui --root ~/project # then open http://localhost:8787
--help lists each program's options; /help lists the commands inside a conversation. The man pages in man/ explain the options in detail: man -l man/cmgenerate.1.