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, and SSH tunneling (llmctl tunnel).
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 + /name Connect Nextcloud, Home Assistant, Paperless-ngx, Obsidian, Notion, Todoist, Fetch Web, Brave Search, or Filesystem and invoke them in chat with /nextcloud ....
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, 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 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.13.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.13.0
File Size Uploaded Provenance Actions
llmctl_cli-0.13.0.tar.gz 283.6 kB With provenance Details for llmctl_cli-0.13.0.tar.gz

Built distribution (wheel)

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

Total release size: 588.0 kB

Release files / llmctl_cli-0.13.0.tar.gz

Download URL llmctl_cli-0.13.0.tar.gz
Size 283.6 kB
Tags Source
SHA-256 checksum
How to use checksums
01f9122c993e863d704610d3a74ea7914012f67930c33b80324bd4c3458c0dc7
BLAKE2b-256 checksum
How to use checksums
addd678256c16a6b883a08d6355f16ce16d67fb4892e31ca8318898f3f400acf
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.13.0-py3-none-any.whl

Download URL llmctl_cli-0.13.0-py3-none-any.whl
Size 304.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8439fc95fd80959ce1df50af644aa6369444cc7f3302aff9c87f4f075a2b5747
BLAKE2b-256 checksum
How to use checksums
5b8d7d98cd03449becc747d6ff4bf972e1757c020241bb4297c55d5bbf23b3e6
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.13.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.13.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