llmctl
Your local & Homelab AI studio and CLI for llama.cpp / GGUF models on Linux, macOS, and Windows — pure Python, zero runtime dependencies, zero telemetry, and full ownership of your data.
What you can do with llmctl
| Feature | Why it helps |
|---|---|
| Local & Homelab Web Studio | Dark-studio Chat UI on http://localhost:8080 with LAN/Tailscale Homelab mode (llmctl --set-homelab), optional password login, SSH tunneling (llmctl tunnel), and Hybrid Inference Nodes (llmctl node). |
| Isolated Project Folders | Organize conversations by topic in expandable folders with shared intra-project context, color, description, and custom instructions (or upload .md/.txt/.pdf/.docx). |
| User Memory & Temp Chats | Automatically remembers your preferences locally (user_memory.json) — or switch to Temporary Chats that never save or learn anything. |
1-Click MCPs (/) & @ Context |
Connect multiple Obsidian vaults, Filesystem paths, Nextcloud, Home Assistant, Paperless-ngx, Notion, Todoist, or Fetch Web via /name — and use @ directly in chat to attach local files/folders (mixed paths even when llmctl lives on a server), browse server paths, or read @node:/path over SSH. |
| Auto Context & Local Hybrid RAG | Dynamic per-model token budgets (15% system/memory, 25% project RAG, 45% history, 15% reply), persistent SQLite rolling summaries, SQLite FTS5 BM25 + optional /v1/embeddings RRF (llmctl rag), and automatic mini-prompt chunking. |
| Multimodal Deep Research | Agentic web & scholarly research (OpenAlex, arXiv) + your PDF/DOCX/XLSX/PPTX/images with 1–5 academic rigor and native .docx / .md export. |
| Scheduled Tasks | Recurring routines (daily, weekly, cron) with model-grouped execution queue (avoiding VRAM swaps), configurable run retention (--max-runs), and Telegram, Discord, or Browser Push notifications. |
| Privacy & Data Sovereignty | 100% local. Export/import portable .zip backups and physically purge databases & derived memory (secure_delete + VACUUM) from the UI or llmctl data. |
| Smart Model & VRAM Control | llmctl get inspects Hugging Face GGUFs before downloading, prevents OOM, auto-tunes GPU/KV-cache settings, pushes local GGUFs to servers with pre-transfer hardware checks (llmctl push), and zero-copy imports from Ollama, LM Studio, or Jan. |
Install in 1 command
Recommended (PyPI — Linux, macOS & Windows)
uv tool install llmctl-cli
# or via pipx / pip:
pipx install llmctl-cli
pip install --user llmctl-cli
One-line installers
- Linux / macOS:
curl -fsSL https://raw.githubusercontent.com/Ana-Alonso/llmctl/main/install.sh | bash - Windows (PowerShell):
irm https://raw.githubusercontent.com/Ana-Alonso/llmctl/main/install.ps1 | iex - Native packages (
.deb,.rpm, Homebrew, Scoop): available on GitHub Releases.
Up and running in 2 minutes
llmctl init # 1. Detect GPU/RAM, initialize config & install llama-server
llmctl get -i # 2. Search HF models, check VRAM fit, auto-tune & load
llmctl service install --web-proxy # 3. Auto-start Web UI + OpenAI API proxy on http://localhost:8080
Already using Ollama, LM Studio, or Jan? Import models without duplicating disk space via
llmctl import ollama(orlmstudio/jan).
Documentation Guides
| Guide | Topics covered |
|---|---|
| Getting Started | Installation, first hardware-tuned model, Web UI, and VRAM management. |
| Homelab, SSH & MCPs | llmctl --set-homelab, optional login, llmctl tunnel, Nextcloud/Home Assistant/Paperless-ngx, /name invocation, and common fixes. |
| Privacy & Your Data | Exact file locations, .zip export/import, cascading physical deletion, and automatic > ctx_size mini-prompt chunking. |
| CLI Reference | Complete categorized reference of every command and flag. |
Everyday Commands
llmctl web # Open the local Web UI
llmctl get -i # Install & auto-tune a model for your GPU/RAM
llmctl load / unload # Load or free a specific model in VRAM
llmctl top # Live GPU/VRAM, RAM & loaded-models dashboard
llmctl chat # Terminal chat (supports -f file, --image & pipes)
llmctl research "Topic" # Multimodal Deep Research with .docx / .md export
llmctl --set-homelab # Expose Web UI on LAN/Tailscale (optional login & SSH)
llmctl tunnel user@homelab # Open a secure SSH tunnel to your Homelab server
llmctl push model.gguf user@homelab # Check remote GPU/RAM fit before pushing a GGUF
llmctl node bridge user@homelab # Hybrid mode: run heavy models locally, keep data on server
llmctl data info # Inspect, export, import, or physically purge local data
llmctl learn "<fact>" # Save a fact to user memory (or use /learn in chat)
llmctl memory / project / mcp / schedule / notify # Full Web UI parity in the CLI
llmctl doctor # Diagnose environment, hardware & service
Requirements & Platforms
- Python >= 3.11 (standard library only, 0 runtime dependencies).
llama-server(llama.cpp), installable directly withllmctl server install.- Native backends:
systemd --user(Linux),launchd(macOS),process(Windows/WSL/containers), andremote.
License
MIT — see LICENSE and CHANGELOG.md.
Metadata
Release files for llmctl-cli 0.20.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llmctl_cli-0.20.0.tar.gz | 353.9 kB | With provenance | Details for llmctl_cli-0.20.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llmctl_cli-0.20.0-py3-none-any.whl | Python 3 | none | any | Details for llmctl_cli-0.20.0-py3-none-any.whl |
Total release size: 733.1 kB
Release files / llmctl_cli-0.20.0.tar.gz
| Download URL | llmctl_cli-0.20.0.tar.gz |
|---|---|
| Size | 353.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7dc9f1cce7965196b12f2b77efda112c33db0b7a02514f5ea76aa9cf5795253a
|
|
BLAKE2b-256 checksum How to use checksums |
5f12e982bf7a2e376bc5c4c75554ebe57433add2f15941ea20385c91dcfa6d4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logRelease files / llmctl_cli-0.20.0-py3-none-any.whl
| Download URL | llmctl_cli-0.20.0-py3-none-any.whl |
|---|---|
| Size | 379.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c1f8982fd5eb99addc0b5991603d1fe11a2cedb65013e1859a959aa94d2d2a0
|
|
BLAKE2b-256 checksum How to use checksums |
b4dfb9ce9f277f66c1f31922951d0c9e627f20c87a8e51c276fa3ddaa2ee4c3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logSecurity for llmctl-cli 0.20.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for llmctl_cli-0.20.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.