Skip to main content
LocalPilot Banner

LocalPilot

Local AI, Made Simple.

PyPI Version Python Versions License: GPL v3 Platform Documentation

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

Website • Documentation • PyPI • Report Bug


🌟 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

  • 🧠 Hardware-Aware Recommendation: Evaluates CPU, RAM, GPU, Apple Silicon Unified Memory vs. discrete VRAM, and storage budgets. Filters out incompatible models before you waste bandwidth.
  • 🧭 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: Structured event logs, audit checkpoints before destructive actions, and support bundle diagnostics.

🚀 Quick Start

1. Installation

pipx install localpilot

With pip or uv

pip install localpilot
# or
uv tool install localpilot

Standalone Shell Installer

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

🎮 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

Outputs CPU cores, system RAM, safe memory budget, GPU accelerators (CUDA/Metal), and discovered runtimes.

2. Discover Compatible Models

localpilot discover

Filter by task or search query:

localpilot discover --task coding
localpilot discover -q "llama"

3. Guided Model Setup

localpilot setup <candidate-id>

LocalPilot checks whether supporting software (such as Ollama or llama.cpp) is already present. If found, it calmly uses it:

"LocalPilot found supporting software already installed. We can use it to run this model."

4. Run & Chat

localpilot run <model-id-or-install-id>

5. Monitor Running Models

localpilot running

6. Storage Inspection & Safe Removal

# View storage breakdown
localpilot storage

# Safely remove a model without affecting other installations
localpilot remove <installation-id>

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


👤 Author & Maintainer

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


📄 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.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 localpilot 0.1.0
File Size Uploaded
localpilot-0.1.0.tar.gz 4.7 MB Details

Built distribution (wheel)

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

Total release size: 4.8 MB

Release files / localpilot-0.1.0.tar.gz

Download URL localpilot-0.1.0.tar.gz
Size 4.7 MB
Tags Source
SHA-256 checksum
How to use checksums
c4e03c28694c232011a9cc97dd181cc68b2f6c6cde2b6853481f7b44cf27a2fc
BLAKE2b-256 checksum
How to use checksums
a75e85ba280ef3c809b56f9281937ef3af147cdab6176847f0bd9c44c6c0cfc7
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.0-py3-none-any.whl

Download URL localpilot-0.1.0-py3-none-any.whl
Size 95.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa9ba9429d7e1b58768e6de8833429d7e23e9b33c72845d6fc0af68726e4ba88
BLAKE2b-256 checksum
How to use checksums
f7c8cc3822177be0eeb4b3f41bb3e1f3e75acfc13c36bab39a7eb4338697c376
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 history Release notifications | RSS feed

0.1.5

2 release files

0.1.1

2 release files

This release

0.1.0 This release

2 release files

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