Open-source AI repos
Open-source AI, all in one place.
13,356 open-source AI repositories for learning, teaching, research and building. Kept up to date by the community: anyone can add a repo with a pull request.
201 repos in Run models locally matching “python”
Runtimes, inference servers and quantisation for running models on your own hardware.
Run models locally
Stars:434bc250
AMD BC-250 (PS5 APU) setup guide — Ollama + Vulkan inference, poor man's AI assistant via Signal, stable-diffusion.cpp image generation
Python · updated 2 months agoDetails›Run models locally
Stars:426topicGPT
TopicGPT: A Prompt-Based Framework for Topic Modeling [NAACL'24]
Python · MIT · updated 5 months agoDetails›Run models locally
Stars:412my-virtual-office
A self-hosted 2D AI workspace for AI Agents
Python · AGPL-3.0 · updated 17 days agoDetails›Run models locally
Stars:409local-assistant-examples
Build your own ChatPDF and run it locally
Python · MIT · updated 1 year agoDetails›Run models locally
Stars:392Star-Attention
Efficient LLM Inference over Long Sequences
Python · Apache-2.0 · updated 1 year agoDetails›Run models locally
Stars:390AReno
An easy-to-use, fast toolkit to scale up RL post-training on a single node.
Python · Apache-2.0 · updated 11 days agoDetails›Run models locally
Stars:384MoE-Infinity
PyTorch library for cost-effective, fast and easy serving of MoE models.
Python · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:383home-generative-agent
AI agent for Home Assistant — talk to your home, create automations in plain language, analyze cameras with face recognition, and get proactive anomaly alerts. Cloud LLMs or fully local.
Python · MIT · updated 10 days agoDetails›Run models locally
Stars:364swiftLLM
A tiny yet powerful LLM inference system tailored for researching purpose. vLLM-equivalent performance with only 2k lines of code (2% of vLLM).
Python · Apache-2.0 · updated 1 year agoDetails›Run models locally
Stars:363ecologits
EcoLogits tracks the energy consumption and environmental footprint of using generative AI models through APIs.
Python · MPL-2.0 · updated 10 days agoDetails›Run models locally
Stars:363KVSplit
Run larger LLMs with longer contexts on Apple Silicon by using differentiated precision for KV cache quantization. KVSplit enables 8-bit keys & 4-bit values, reducing memory by 59% with <1% quality loss. Includes benchmarking, visualization, and one-command setup. Optimized…
Python · updated 1 year agoDetails›Run models locally
Stars:357TinyLLM
Setup and run a local LLM and Chatbot using consumer grade hardware.
JavaScript · MIT · updated 1 month agoDetails›Run models locally
Stars:356Knowledge-Base-Self-Hosting-Kit
A Docker-powered RAG system that understands the difference between code and prose. Ingest your codebase and documentation, then query them with full privacy and zero configuration.
Python · updated 8 months agoDetails›Run models locally
Stars:353ShellOracle
A terminal utility for intelligent shell command generation
Python · GPL-3.0 · updated 2 months agoDetails›Run models locally
Stars:351ThinkRAG
A LLM RAG system runs on your laptop. 大模型检索增强生成系统,可以轻松部署在笔记本电脑上,实现本地知识库智能问答。
Python · MIT · updated 10 months agoDetails›Run models locally
Stars:350focoos
🚀 Lightning-fast computer vision models. Fine-tune SOTA models with just a few lines of code. Ready for cloud ☁️ and edge 📱 deployment.
Python · MIT · updated 11 months agoDetails›Run models locally
Stars:346phonon
Phonon: open speech recognition models (Phonon-2, Phonon-1) — CLI, CPU and CUDA images
Python · Apache-2.0 · updated 1 month agoDetails›Run models locally
Stars:345monocle
Monocle is a framework for tracing GenAI app code. This repo contains implementation of Monocle for GenAI apps written in Python.
Python · Apache-2.0 · updated 18 days agoDetails›Run models locally
Stars:341syncode
Efficient and general syntactical decoding for Large Language Models
Python · MIT · updated 10 months agoDetails›Run models locally
Stars:340ollamafreeapi
OllamaFreeAPI: Free Distributed API for Ollama LLMs Public gateway to our managed Ollama servers with: - Zero-configuration access to 50+ models - Auto load-balanced across global nodes - Free tier with no API keys required - Built on ollama-python
Python · updated 1 month agoDetails›Run models locally
Stars:324leanctx
Drop-in prompt compression for production LLM apps. Cut your token bill 40-60% without changing your code. Python SDK, LLMLingua-2, MIT.
Python · MIT · updated 3 months agoDetails›Run models locally
Stars:319BitNet-Transformers
0⃣1⃣ BitNet-Transformers: Huggingface Transformers Implementation of "BitNet: Scaling 1-bit Transformers for Large Language Models" in pytorch with Llama(2) Architecture
Python · updated 2 years agoDetails›Run models locally
Stars:319deepdoc
Deep research tool for local knowledge base.
Python · MIT · updated 2 months agoDetails›Run models locally
Stars:318picollm
On-device LLM Inference Powered by X-Bit Quantization
Python · Apache-2.0 · updated 19 days agoDetails›Run models locally
Stars:310Flash-RL
Implementation for FP8/INT8 Rollout for RL training without performence drop.
Python · MIT · updated 1 year agoDetails›Run models locally
Stars:307llm-wiki-v2
Turn your documents into a Markdown wiki you can read, that answers with citations. Works with any LLM provider, Ollama included. CROW classifier routing: 89% right note vs 62%, 2.1× faster ingest, 68% fewer tokens.
Python · AGPL-3.0 · updated 14 days agoDetails›Run models locally
Stars:304awesome-hermes-usecases
Curated real-world use cases for Hermes Agent — the self-improving AI agent from Nous Research. Backed by primary sources.
Python · MIT · updated 1 month agoDetails›Run models locally
Stars:303backdoor
Run Claude Code against any AI provider. DeepSeek, Groq, Ollama, OpenRouter — your call.
Python · MIT · updated 6 months agoDetails›Run models locally
Stars:303dub-studio
Free offline AI video dubbing studio for Windows — voice cloning, translation, subtitles & on-screen-text localization. 100% local, one native .exe, zero Python.
Rust · updated 10 days agoDetails›Run models locally
Stars:300freelingo
Open-source, self-hosted AI language learning platform with local or cloud LLMs, CEFR study plans, an AI tutor, voice conversations, flashcards, and spaced repetition.
Python · AGPL-3.0 · updated 13 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.