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 Chunking When a prompt, document, or chat history exceeds your model's ctx-size, llmctl automatically splits it into bounded mini-prompts and synthesizes the final answer without context-overflow errors.
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 collapsible run history 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.15.0

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.15.0
File Size Uploaded Provenance Actions
llmctl_cli-0.15.0.tar.gz 312.8 kB With provenance Details for llmctl_cli-0.15.0.tar.gz

Built distribution (wheel)

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

Total release size: 648.8 kB

Release files / llmctl_cli-0.15.0.tar.gz

Download URL llmctl_cli-0.15.0.tar.gz
Size 312.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c7282a3fa345cd8422d86cd0a572700d368d222469ef0f94be01de981e35855d
BLAKE2b-256 checksum
How to use checksums
437fd110d6f2845b6a73c888820aebd017b7d764e6a0738f0000c55205dffa1b
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 5, 2026.

Transparency log

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

Download URL llmctl_cli-0.15.0-py3-none-any.whl
Size 335.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ccfd62d092c2e3f5082c5d9fc7b57a79304891574aa14ec5bf5b0bd735e6f535
BLAKE2b-256 checksum
How to use checksums
06ea36f6704d45ee5ec7f4d42bbcb832e4b77f0f6153048547e57ec28079009e
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 5, 2026.

Transparency log

Security for llmctl-cli 0.15.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.

Select from 2 files

Attestation for llmctl_cli-0.15.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 5, 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