Skip to main content

llmctl

Linux macOS Windows Release PyPI Python 3.11+ Zero Runtime Deps License: MIT

Leer en Español (README.es.md)

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

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 (or lmstudio / 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 with llmctl server install.
  • Native backends: systemd --user (Linux), launchd (macOS), process (Windows/WSL/containers), and remote.
Platform main Status Backend / Artifacts
Linux (Python 3.11–3.13 + lint + ty) Linux systemd --user / .deb / .rpm
macOS (Python 3.11–3.13) macOS launchd + Apple Silicon Metal
Windows (Python 3.11–3.13) Windows process + NVIDIA / Vulkan / CPU

License

MIT — see LICENSE and CHANGELOG.md.

Metadata

Release files for llmctl-cli 0.22.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llmctl-cli 0.22.1
File Size Uploaded Provenance Actions
llmctl_cli-0.22.1.tar.gz 379.0 kB With provenance Details for llmctl_cli-0.22.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llmctl-cli 0.22.1
File Interpreter ABI Platform Actions
llmctl_cli-0.22.1-py3-none-any.whl Python 3 none any Details for llmctl_cli-0.22.1-py3-none-any.whl

Total release size: 784.2 kB

Release files / llmctl_cli-0.22.1.tar.gz

Download URL llmctl_cli-0.22.1.tar.gz
Size 379.0 kB
Tags Source
SHA-256 checksum
How to use checksums
64b626bcdab395847cfe525fce6295a78fea94c22481222a0e9b6a43a3c256f0
BLAKE2b-256 checksum
How to use checksums
8c3296f82e7bc26454f980ca959bcdfc522eb8b299c2341eeb67f20b4cc5822f
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 log

Release files / llmctl_cli-0.22.1-py3-none-any.whl

Download URL llmctl_cli-0.22.1-py3-none-any.whl
Size 405.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a5961e0eaef01ffd568e202d24430fac47de5a02ea29192a6e83f10321b93ae
BLAKE2b-256 checksum
How to use checksums
aa64e971b337a208f97b24950d2f6aa647b66bdc81f85d4772425c6fd590c3f9
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 log

Security for llmctl-cli 0.22.1

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.

Select from 2 files

Attestation for llmctl_cli-0.22.1.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 log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page