PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Local Llm Python Packages

Python packages with the GitHub topic local-llm. Sorted by monthly downloads, with stars and forks.
mindroom-ai
mindroom

AI agents that know you and your work, in a chat app anyone can use. Open source, any model, self-host or hosted.

159K 323 17
rajveer43
veloxquant-mlx

Fast KV-cache quantization for Apple Silicon (MLX) — 43 research-adapted compression methods with Metal kernels

44K 27 8
xorbitsai
xllamacpp

xllamacpp - a Python wrapper of llama.cpp

21K 87 16
skynetcmd
m3-memory

Local-first Memory Framework for AI Agents · 99.2% LongMemEval-S retrieval @ k=10 · Supports Claude · Antigravity · LangChain · Hermes · Gemini · OpenCode · OpenClaw · MCP-native and plugins · Hybrid search (FTS5 + vector + MMR) · GDPR · FIPS 140-3 ready · 100% local (fully offline) or cloud capable

18K 28 4
raullenchai
rapid-mlx

Rapid-MLX is an open-source (Apache 2.0) OpenAI- and Anthropic-compatible LLM inference server for Apple Silicon, built on MLX, focused on reliable tool calling for coding agents. Up to 4× faster than Apple's MLX (mlx-lm) on the same weights.

15K 4K 430
manunicholasjacob
llama-roofline

Is your llama.cpp decode memory-bandwidth-bound? Find out in one command.

13K 1 0
nasser1941
lcode-cli

A coding agent that runs entirely on your own machine: open-weight models, up to 256K context, NVIDIA GPU or Apple Silicon Mac, via Ollama.

11K 2 0
asher
mlx-kquant

Native K-quant support for MLX, with a quantization and fine-tuning toolchain for Apple Silicon

11K 10 4
MakazhanAlpamys
soup-cli

Fine-tune LLMs from one YAML. Layer streaming trains an 8B model on a 4 GB laptop GPU.

10K 9K 1K
LearningCircuit
local-deep-research

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

8K 9K 839
tobocop2
lilbee

The whole local AI stack in one executable: it runs and manages local AI models across every GPU, and it's a search engine you can talk to, with cited answers from your files, code, and the web. MCP server for coding agents, web crawler, TUI, CLI, REST API, Python library. No Ollama or LM Studio needed, works with both.

8K 64 8
ahwurm
localharness

An open-source, coding agent harness designed specifically for local LLMs. Designed as everything a user needs to jumpstart their own harness (detailed event steams, logs, and performance data) or quickly replace closed source one (featuring out of the box plugins for web search, image gen, memory, auto research and more in dev).

7K 46 5
anchor-inference
protocore

Protocore — the agent loop, and nothing else. A protocol-first ReAct runtime for LLM agents in Python 3.12+: context budget, tool surface, compaction, snapshot and resume. No database driver, no HTTP endpoint — everything outward is a Protocol you implement. MPL-2.0.

7K 0 0
hanyeol
model-compose

Declarative AI pipelines in one YAML file. Tokens, audio chunks, and video frames flow between isolated components. Compose 100+ components for models, agents, speech, vision, and live broadcast. Run local models, cloud APIs, or both. Inspired by docker-compose.

7K 118 17
youssofal
mtplx

The fastest way to run Qwen 3.8 Flash Next, Qwen 3.8 27B and Ternary Bonsai 2 27B on a Mac: 125 tok/s in OpenCode on an M5 Max, and a 27B model on 16 GB Macs. Native MTP speculative decoding on Apple Silicon, exact at any temperature. OpenAI and Anthropic compatible local server.

7K 3K 199
JamesWHomer
jarv

Scriptable, multi-provider AI agent for the terminal — pipe into it, script it, run it on any model, cloud or local

7K 4 0
wickra-lib
wickra-copilot

Market copilot — an LLM grounded in real order book, liquidation and funding microstructure, not vibes: a local trading assistant that cannot hallucinate, over the Wickra core, in ten languages.

6K 3 0
defai-digital
ax-engine

One Mac process. Many models. Real speed. Multi-model LLM serving with prefix reuse, MTP acceleration, and OpenAI APIs — built for Apple Silicon, measured against mlx-lm and llama.cpp.

6K 31 2
waybarrios
vllm-mlx

High-performance OpenAI and Anthropic compatible LLM inference server for Apple Silicon. Native MLX, continuous batching, multimodal models, MCP tool calling, and Claude Code support.

6K 2K 231
remete618
widemem-ai

Local-first memory layer for LLM apps and agents. Runs offline on Ollama, sentence-transformers and FAISS; OpenAI and Anthropic optional. Importance scoring, contradiction resolution, confidence-aware retrieval.

6K 49 15
diverseau
llama-mdl

Run local llama.cpp servers from a config file, with an optional terminal dashboard

6K 1 0
ilan4ever
dflash-console

Local Windows control panel for llama-server and DFlash speculative-decoding engines.

6K 3 1
rokbenko
quackd

One CLI for all your robots. Connect them, command them, and let them work together, each with an LLM for a brain (Claude, OpenAI, Gemini, Grok, or local via Ollama or vLLM), VLAs for arms and decision LLMs (Jev, Laya, Kev). Drives Microduck, Open Duck Mini, LeRobot, XLeRobot, AlohaMini, ToddlerBot, or any ROS 2 base from a laptop, offboard.

6K 257 26
jonigl
mcp-client-for-ollama

Harness the power of local LLMs with this TUI MCP Client for Ollama. Featuring all core MCP primitives (tools, prompts, resources), agent mode, multi-server, model switching, streaming responses, human-in-the-loop, thinking mode, model params config, system prompts, and saved preferences.

5K 829 126
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology