Skip to main content
LocalPilot Banner



LocalPilot Logo

LocalPilot

Local AI, Made Simple.

English • العربية (Arabic)

PyPI Version Python Versions License: GPL v3 DOI Platform Documentation

Find an AI that fits your computer, set it up safely, and help you use it.

Website • Beginner Guide • Model Catalog • FAQ • Technical Architecture • التوثيق بالعربية • PyPI • DOI


🌟 Why LocalPilot?

Running local AI shouldn't require configuring build flags, figuring out CUDA or Metal layer offloading, calculating KV-cache bytes, or manually nursing broken environment variables.

LocalPilot is a friendly, hardware-aware Python application that guides you from discovery to chat. It inspects your real hardware capabilities, scores models based on verified compatibility, sets up runtimes with safe defaults, and monitors resource usage in a calm, full-screen terminal dashboard or intuitive CLI.


✨ Key Features

  • 🧙‍♂️ 6-Step Guided Setup Wizard: Welcoming non-technical onboarding checking computer capabilities, setting practical goals (writing, questions, coding), recommending pre-verified models, and executing multi-stage setups with live progress.
  • 💬 Integrated In-TUI Chat: Full-screen token-streaming terminal chat screen (ChatScreen) with styled message bubbles, auto-scrolling, and responsive cancellation directly within the terminal UI.
  • 🧠 Decision Quality & Shortlist Comparison:
    • Strict Compatibility Gating: Incompatible configurations exceeding RAM/VRAM budgets are strictly excluded—never illegally falling back.
    • Near-Duplicate Suppression: Equivalence grouping ensures diverse model choices instead of multiple quants of the same model.
    • Shortlist Distinctions & Roles: ★ Top Pick, Compact Choice, Extended Memory, and Lightweight Choice with side-by-side comparison matrix modal (c key).
    • Launch Memory Recheck: Truthful warnings before start if background applications reduce required RAM/VRAM.
  • 🛡️ Truthful Error Recovery System: Structured AppError contract with 25 typed error codes answering what happened, current situation, file impact, next steps, and technical details, with safe default modal focus.
  • 🧭 3-Axis Execution Architecture: Decouples model computation into three orthogonal dimensions:
    • Inference Backends: llama.cpp (GGUF, Metal, CUDA), vLLM (advanced Linux+GPU).
    • Managed Execution Services: Ollama, LM Studio / llmster, and Docker Model Runner.
    • Deployment Methods: Direct isolated worker processes (direct_worker), local API services (local_api_service), and containers.
  • 🛡️ External Service & Data Protection:
    • Respects external daemons: unloads models from memory (keep_alive=0 / /v1/models/unload) without killing shared background services.
    • Reference-counted storage protects your model files and never deletes unowned files.
  • 📦 Multi-Scope Installation: Choose between Application-Isolated (default, no root needed), User-Space (~/.local/bin), or System-Wide (/usr/local/bin).
  • 💻 Dual Interface:
    • Interactive TUI: A beautiful full-screen dashboard powered by Textual.
    • Fast Scriptable CLI: Clean, structured CLI commands powered by Typer and Rich.
  • 📝 Comprehensive Observability & Decision Audits: Structured event logs, audit checkpoints before destructive actions, immutable decision records in audit_decisions, and support bundle diagnostics.


🚀 Installation & Quick Start

Choose the method that fits your computer:

No need to configure Python virtual environments or paths manually:

curl -fsSL https://raw.githubusercontent.com/fakhruldeen/LocalPilot/main/install-localpilot.sh | bash
pipx install localpilot

Option 3: With pip or uv

pip install localpilot
# or
uv tool install localpilot

👉 For advanced flags, custom scopes, and uninstallation instructions, see the Installation Guide.


🧠 New to Local AI? Read This First

If terms like inference backends, weights, VRAM, Ollama, or Docker seem confusing, read our friendly Beginner's Guide to Local AI.

In short:

  • Model Weights: A large data file containing learned knowledge (like a book).
  • Inference Backend (e.g. llama.cpp, vLLM): The computational engine that does the math on your CPU or GPU (like the reader).
  • Execution Service (e.g. Ollama, LM Studio, Docker): Optional background daemons that manage models and local APIs.
  • Why LocalPilot?: You don't have to manually match engines, calculate memory bytes, or troubleshoot Docker. LocalPilot inspects your machine, selects the optimal plan automatically, and reuses any tools you already have installed!

🎮 Usage Guide

Launch the Terminal Dashboard (TUI)

Simply type:

localpilot

Use keyboard shortcuts to navigate:

  • d Find compatible models
  • i View installed models
  • r View running models & resource usage
  • s Inspect managed storage
  • a Activity and decision history
  • q Exit

Command-Line Interface (CLI)

1. Inspect Your Computer's Hardware

localpilot doctor

Audits CPU cores, available RAM, memory safety thresholds, hardware acceleration (Metal on Mac, CUDA on Linux), and active background services.

2. Discover Compatible Models

# List all models verified to fit your memory safely
localpilot discover

# Filter by task or search query
localpilot discover --task chat
localpilot discover -q "llama"

3. Guided Model Setup

localpilot setup <candidate-id>

Downloads real weights, validates SHA-256 integrity, configures local runtime adapters, and executes automated smoke inference before marking the model ready.

4. Instant Offline Chat

localpilot chat <candidate-id-or-model-id>

Launches an immediate private conversation. When you exit with /exit or Ctrl + C, memory is instantly returned to your operating system.

5. Inventory & Process Inspection

# View installed models on this computer
localpilot installed

# View active running models and memory consumption
localpilot running

6. Storage Inspection & Safe Removal

# View storage breakdown across weights and databases
localpilot storage

# Safely remove a model and reclaim disk space
localpilot remove <installation-id> --delete-files

7. Application Updates & Support

# Check PyPI and update LocalPilot application
localpilot self update

# Generate an anonymized diagnostic report for troubleshooting
localpilot support

# Cleanly uninstall LocalPilot and optionally purge stored models
localpilot self uninstall --purge-models

🌍 Arabic Documentation & Website (التوثيق والموقع باللغة العربية)

LocalPilot provides first-class documentation and a complete native website in Arabic for Arabic-speaking users and researchers:


📐 Architecture Overview

Application Services (CLI / TUI / Setup / Chat)
                    │
                    ▼
          ┌───────────────────┐
          │   ExecutionPlan   │
          └─────────┬─────────┘
                    │
   ┌────────────────┼────────────────┐
   ▼                ▼                ▼
Backend          Service         Deployment
llama.cpp        Ollama          direct_worker
vLLM             LM Studio       local_api_service
                 Docker Runner   container

For full details on platform compatibility and supported backend/service combinations, see the Support Matrix and the Technical Architecture Manual.


👤 Author & Maintainer

Mohamed Fouad Fakhruldeen
Creator & Maintainer of LocalPilot. Working across PMO governance, AI systems, and agile enterprise operating systems.


⚠️ Disclaimer


📚 Citation

If you use LocalPilot in your research, academic study, or open-source projects, please cite it as:

@software{fakhruldeen_2026_localpilot,
  author       = {Mohamed (Fouad) Fakhruldeen},
  title        = {fakhruldeen/LocalPilot: v0.1.6},
  month        = oct,
  year         = 2026,
  publisher    = {Zenodo},
  version      = {v0.1.6},
  doi          = {10.5281/zenodo.23424540},
  url          = {https://doi.org/10.5281/zenodo.23424540}
}

Text / APA Citation:

Mohamed (Fouad) Fakhruldeen. (2026). fakhruldeen/LocalPilot: v0.1.6 (Version v0.1.6) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.23424540


📄 License

This project is licensed under the terms of the GNU General Public License v3 (GPLv3). See the LICENSE file for details.

Metadata

Release files for localpilot 0.1.6

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

Source distribution (sdist)

Source distribution for localpilot 0.1.6
File Size Uploaded Provenance Actions
localpilot-0.1.6.tar.gz 5.6 MB Without provenance Details for localpilot-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for localpilot 0.1.6
File Interpreter ABI Platform Actions
localpilot-0.1.6-py3-none-any.whl Python 3 none any Details for localpilot-0.1.6-py3-none-any.whl

Total release size: 5.7 MB

Release files / localpilot-0.1.6.tar.gz

Download URL localpilot-0.1.6.tar.gz
Size 5.6 MB
Tags Source
SHA-256 checksum
How to use checksums
fa454d2c76576bcd988718d8fcb6871b883b18382c7484ad9cb7a80b8a10c4ec
BLAKE2b-256 checksum
How to use checksums
ecf6e4b7b3f6f7554bd4452afbabb5c7be36782789ce3d73dcd9e561aa443bb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / localpilot-0.1.6-py3-none-any.whl

Download URL localpilot-0.1.6-py3-none-any.whl
Size 161.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8d32b9acc327698a3a3d4679da18e48cdbf63243278596c7c2664fa3859f9fd5
BLAKE2b-256 checksum
How to use checksums
ec0c5f2a2932601ac545a3c79bfae5a2211c18f44fb9875e6edde5e60af84502
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for localpilot 0.1.6

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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