Skip to content
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.

301K 411 34
MakazhanAlpamys
soup-cli

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

28K 11K 2K
xorbitsai
xllamacpp

xllamacpp - a Python wrapper of llama.cpp

23K 3 1
lpalbou
abstractcore

Build your app on AI capabilities, not on providers. AbstractCore is one abstraction layer over open-source and cloud models: it understands and generates text, images, voice, music, video and 3D, so you design once and never deal with how each capability is wired.

20K 13 0
rajveer43
veloxquant-mlx

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

19K 37 11
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.

17K 4K 445
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.

15K 10K 963
Siddhant-K-code
llmtracefx

Evidence-first tools to measure, verify, and optimize LLM inference across local GPUs and OpenAI-compatible APIs.

13K 16 1
the-vibey-project
vibey-engine

Free, censorship-free open-source orchestrator and Claude Code / Codex killer: writes code like a principal software engineer with no slop, autonomous AGI with superintelligence coming soon.

12K 5 3
aion7891
rag-titan

Many RAG types, one simple Python API. Runs locally with Ollama or with Claude.

12K 5 2
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).

12K 77 7
asher
mlx-kquant

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

12K 11 6
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.

12K 5 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.

11K 122 21
mirzahusadzic
midwife

Does a decision rest on the evidence you think it does? Gadfly cuts or changes one declared line in fixed ways, asks the reader again, and reads the verdict by fixed rules, not a model.

11K 0 0
AlexanderNyr
auralite-ai

Train and fine-tune LLMs on an old PC without a GPU. AuraLite Studio (Windows app, no Python) picks a model for your computer, fine-tunes Qwen3.5 with LoRA/QLoRA on the CPU, trains small models from scratch and exports GGUF for Ollama and LM Studio. English and Russian UI.

10K 8 3
octrow
ollama-rename-files

Rename messy files by their content with a local Ollama model: CLI and desktop GUI, no API keys, originals backed up.

10K 48 4
vedicreader
rishi

A fast LLM driver with tools, for local and hosted models.

10K 0 0
lastreload
mnemonic-proxy

Context management proxy for AI coding agents: verbatim archive, on-demand recall, and saved engine state on supported backends.

10K 82 7
meadow-kun
llm-speed

Measure local LLM speed, first-token latency, and throughput. Reproducible benchmarks across GPUs and Apple Silicon.

10K 0 0
youssofal
mtplx

The fastest way to run Inkling 2 Mini, Qwen 3.8 and Ternary Bonsai 2 27B on a Mac: Inkling 2 Mini at up to 128.8 tok/s and Flash Next at 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.

9K 3K 226
benethos-hub
benethos-mailbox-service

Self-hosted REST API and web UI for all your mailboxes (IMAP, JMAP, POP3, Gmail, Microsoft 365, Outlook.com), with a Python client, an MCP server for AI assistants and small AI agents that sort and tag mail on their own. All of them act only within the rights, folders and send limits you grant. Change feed, signed webhooks, audit.

9K 6 0
benethos-hub
benethos-mailbox-mcp

Self-hosted REST API and web UI for all your mailboxes (IMAP, JMAP, POP3, Gmail, Microsoft 365, Outlook.com), with a Python client, an MCP server for AI assistants and small AI agents that sort and tag mail on their own. All of them act only within the rights, folders and send limits you grant. Change feed, signed webhooks, audit.

8K 6 0
skynetcmd
m3-memory

Local-first memory backend for AI agents · 99.2% LongMemEval-S retrieval @ k=8 · 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

8K 32 4
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology