lxask: a fine-tuned 1.5B model turns plain English into offline Linux commands, self-checked against man pages
Arch-r007 · reddit · 2026-11-22
A Reddit dev open-sourced lxask: a fine-tuned Qwen2.5-Coder-1.5B (Q4KM GGUF) that converts plain English into shell commands fully offline. It ships llama.cpp inside one Rust binary — no Ollama, Python, or API key — using 1.1 GB disk, 1 GB RAM, 2s per answer on a laptop CPU with no network needed.
How it keeps a 1.5B model honest:
- Retrieves relevant tldr pages and your own man pages before answering
- Verifies every program and option against man pages, retries on failure, marks anything unconfirmable as unverified:
- Asks clarifying questions on vague requests ("add a proxy" — git? apt? docker?)
Bonus: --explain mode breaks down existing commands, and Ctrl+G in bash/zsh/fish converts what you typed into a command. Code, weights, data and evals are all open on GitHub and Hugging Face.
More from coding & agent
- Codex bot takes #1 on Victoris Arena leaderboard for the first time — tristanbob · 2026-11-22
- Vibe coding a jet ski takes hours; matching Rockstar's GTA6 quality takes months — AIandDesign · 2026-11-22
- Building the agent took an afternoon; getting its five data sources working took the rest of the week — PushZealousideal7914 · 2026-11-22
- Grok Bot agents organized a 5,000-person summit in 6-7 months, vs the usual 18 — XFreeze · 2026-11-22
- One command adds a music-video generator plugin to Claude Code — AIandDesign · 2026-11-22
- Does the Next Run Improve? Community Weighs In on Chase's Knowledge Factory — hwchase17 · 2026-11-22