Skip to main content

LocalDeploy logo

LocalDeploy

Find the local AI models that fit your machine, run them in one click, and connect them to your tools.

CI status PyPI version MIT license Python 3.11+

LocalDeploy on an RTX 5090 recommends models, starts Qwen3.6 35B-A3B, and streams an answer.

Which model, which quant, which engine, and will it fit? LocalDeploy reads your GPU, RAM and disk, recommends models that fit, then downloads, runs and measures them on your machine. Your tools reach them under names that never change, such as local/coder, through OpenAI, Anthropic and Ollama-compatible APIs. Everything runs locally: no cloud inference, no telemetry.

Quick start

pip install localdeploy
localdeploy                 # opens http://localhost:8000/ui

On Home, select Chat, choose Pick the best model for me, review the download, and select Get & run. Open Chat and try “Hello, what can you help me with?” The welcome page can install llama.cpp for your GPU or CPU. Ollama is needed for models pulled from the Ollama library. CPU-only machines can run smaller models, though responses may be slower. Other ways in:

Windows, macOS, Linux without Python set up git clone https://github.com/oney-erge/LocalDeploy.git, then run.bat, ./run.command or ./run.sh
Docker (Ollama included) docker compose up, then open http://localhost:8000/ui
Run with uv uvx localdeploy

Installation has the details, including the NVIDIA GPU in Docker. If setup fails, report an install problem.

What it does

  • Recommends what fits. Pick a use case (coding agent, chat, vision, long documents, fast helper, embeddings, rerank) and get models ranked for this machine, with the exact quant, the memory it needs and the speed to expect.
  • Gets and runs in one click. Download, deploy on the right engine, start, optionally run a speed and quality check, and give it a name.
  • Searches everywhere. Hugging Face, the Ollama library, LM Studio's picks, ModelScope and a curated list, plus your own GGUF files and URLs. Open a result to see which of its quants fit before you download.
  • Runs several models at once. A scheduler fits them into VRAM and RAM, unloads idle ones and restarts a crashed server. Engines: llama.cpp, Ollama, vLLM, Strata for models larger than your GPU, and any OpenAI-compatible server you already run (LM Studio, Docker Model Runner, ...).
  • Shows how good it is. Streaming chat with images and tools, two models side by side, benchmarks on your own questions, and live CPU, RAM, VRAM and tok/s.
  • Connects your tools. One click adds the names to Kilo Code, OpenCode and Continue; Claude Code works through /v1/messages; every model on disk is in one library that says what uses it and what deleting it frees.

Use it from your tools

curl http://localhost:8000/v1/chat/completions -H "Content-Type: application/json" \
  -d '{"model": "local/coder", "messages": [{"role": "user", "content": "Hello"}]}'
API Routes
OpenAI-compatible /v1/chat/completions, /v1/responses, /v1/embeddings, /v1/rerank, /v1/models
Anthropic Messages /v1/messages
Ollama-compatible /api/chat, /api/generate, /api/embed, /api/tags, /api/ps
Terminal localdeploy recommend coding, localdeploy run local/coder "hi", localdeploy status (CLI)
Everything the UI does The control API, described at http://localhost:8000/docs

A name loads its model on the first request, and you can point it at another model later without touching any client (Model hub).

Compared with Ollama or LM Studio

They run a model you already chose. LocalDeploy helps you choose it, runs it on the engine that suits your hardware (Ollama is one of them), checks it on your questions, and keeps your tools pointed at the right model as you change it.

Privacy and safety

  • Runs on your machine and talks only to engines on localhost. No telemetry.
  • It goes online only for what you ask: model search, downloads, the llama.cpp build. OFFLINE=true blocks all of it.
  • Fit estimates are guidance: drivers, context length and other apps on the GPU change real memory use. LocalDeploy records what it measured and adjusts.
  • Keep it on localhost. API_TOKEN is a shared token, not internet-grade authentication. Tool calls go back to your app and are never executed by LocalDeploy. See Security.

Documentation

Guide Use it for
Installation Launchers, Docker, pip, and GPUs
UI guide Every page and what it calls
Model hub Names, deployments, the library, Discover, the recommender
Clients Kilo Code, OpenCode, Continue, Claude Code and others
API options Request examples, including the decision API's small classifiers
API reference Every route, generated from the code
Models Benchmark results and recommended profiles
Architecture How it fits together
Screenshots A tour of the UI
Contributing Development setup and checks

MIT licensed. Built by Oney Erge.

Metadata

Release files for localdeploy 0.8.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 localdeploy 0.8.0
File Size Uploaded Provenance Actions
localdeploy-0.8.0.tar.gz 860.1 kB With provenance Details for localdeploy-0.8.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.8 MB

Release files / localdeploy-0.8.0.tar.gz

Download URL localdeploy-0.8.0.tar.gz
Size 860.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c2a3162a96b0806b4352efe855423e44fc24ad9082f6bdb0e6b8854d79652bbf
BLAKE2b-256 checksum
How to use checksums
7a7478df7dd93a8cb64803d475505b20e85ee6858fdcf0b3fbb0b3de29a5c308
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 / localdeploy-0.8.0-py3-none-any.whl

Download URL localdeploy-0.8.0-py3-none-any.whl
Size 892.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87a281e629650aa012dba9eeb63893ec397eea49eef222575e0ca46156dd6a6f
BLAKE2b-256 checksum
How to use checksums
300672e0d16e3be1f7f23c8f0e4ca538ba381a458f4f4f3abd17c029abcbe510
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 localdeploy 0.8.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 localdeploy-0.8.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