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.
51 repos in Run models locally matching “code”
Runtimes, inference servers and quantisation for running models on your own hardware.
Run models locally
Stars:3.5kclaude-code-local
Run Claude Code 100% on-device with local AI on Apple Silicon. MLX-native Anthropic-API server. 6 fighters incl. Muse-Glimmer 30B (now multimodal — reads images, abliterated), Gemma 4 31B, Qwen 3.5 122B (65 tok/s), DeepSeek V4 Flash (1M ctx). Private, offline, airgap-ready. Built for NDA / legal /…
Python · MIT · updated 10 days agoDetails›Run models locally
Stars:2.5kcodel
Fully autonomous AI Agent that can perform complicated tasks and projects using terminal, browser, and editor.
TypeScript · AGPL-3.0 · updated 2 years agoDetails›Run models locally
Stars:811llm-algo-leetcode
Hands-on LLM algorithms and systems with PyTorch, Triton & CUDA.《大模型算法与系统教程》:模型架构与训练、后训练、推理加速、性能与算子优化,配套 Notebook 练习、答案解析、测试与实验。
Jupyter Notebook · updated 14 days agoDetails›Run models locally
Stars:638alphacode
Free MIT AI coding agent — no API key needed. Built-in free model, or bring Claude, GPT, Gemini, DeepSeek, Ollama +50 more. Swarm mode, 40+ tools, browser & desktop automation, built in Rust.
Rust · MIT · updated 10 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:171local-code-community
Source code of Local Code, a private AI agent for Mac, iPad and iPhone. Runs DeepSeek 4.1 on device, with Python, Node.js and a shell built into the app.
C · GPL-3.0 · updated 10 days agoDetails›Run models locally
Stars:13.3kHalfrost-Field
🏻 Source Code Deep Dives, System Design & Engineering Blogs | Halfrost-Field 冰霜之地:源码解析、系统设计与工程实践笔记
Go · CC-BY-SA-4.0 · updated 20 days agoDetails›Run models locally
Stars:10.9kllama-gpt
A self-hosted, offline, ChatGPT-like chatbot. Powered by Llama 2. 100% private, with no data leaving your device. New: Code Llama support!
TypeScript · MIT · updated 2 years agoDetails›Run models locally
Stars:9.6keinops
Flexible and powerful tensor operations for readable and reliable code (for pytorch, jax, TF and others)
Python · MIT · updated 3 months agoDetails›Run models locally
Stars:8.5kGenieX
Run frontier LLMs and VLMs locally on Qualcomm devices across NPU, GPU, and CPU with a few lines of code
Go · BSD-3-Clause · updated 11 days agoDetails›Run models locally
Stars:3.8kaiac
Artificial Intelligence Infrastructure-as-Code Generator.
Go · Apache-2.0 · updated 8 months agoDetails›Run models locally
Stars:2.2kNeurite
Fractal Graph-of-Thought. Rhizomatic Mind-Mapping for Ai-Agents, Web-Links, Notes, and Code.
JavaScript · MIT · updated 8 months agoDetails›Run models locally
Stars:2kcore
Your Personal AI OS
TypeScript · updated 11 days agoDetails›Run models locally
Stars:1.4kinference-optimisation-skill
Agent skill for hill-climbing local LLM serving speed (decode, speculative decoding, prefill, KV, startup, TTFT) on any hardware and quantization
Python · MIT · updated 14 days agoDetails›Run models locally
Stars:1.4kllama-modchip
🐋 Run 284B DeepSeek-V4-Flash (<59GiB RAM, 44.4 tok/s pp, 9.1-14.7 tok/s) & 30B MoEs (25-111 tok/s) on a pure 64GB CPU at 256K ctx (0 GPUs). SwiGLU-H2, Stockfish-PVS L3 & 13ms Claude Code restore.
Python · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:1.3kPolyStrata
Run large AI models on your own PC: Qwen3.8-Flash-Next on Strata's engine, and GLM 5.3 Flash, DeepSeek V4 Flash, LFM2.5, Qwen3.6, Ornith 1.5, Gemma 4, Tiel Coder and MiniCPM-V on a second engine written for PolyStrata. One-click install for Windows and Linux, OpenAI/Anthropic API on localhost.
C++ · MIT · updated 13 days agoDetails›Run models locally
Stars:1.3kPolyStrata
Run large AI models on your own PC: Qwen3.8-Flash-Next on Strata's engine, and GLM 5.3 Flash, DeepSeek V4 Flash, LFM2.5, Qwen3.6, Ornith 1.5, Gemma 4, Tiel Coder and MiniCPM-V on a second engine written for PolyStrata. One-click install for Windows and Linux, OpenAI/Anthropic API on localhost.
C++ · MIT · updated 13 days agoDetails›Run models locally
Stars:1.1kz80ai
Z80-μLM is a 2-bit quantized language model small enough to run on an 8-bit Z80 processor. Train conversational models in Python, export them as CP/M .COM binaries, and chat with your vintage computer.
Python · updated 7 months agoDetails›Run models locally
Stars:901genex-desktop
Desktop app for game dev with AI: make games in Unreal Engine, Unity, Godot or the browser. The agent sets up the engine, builds your game and play-tests it by itself.
TypeScript · MIT · updated 10 days agoDetails›Run models locally
Stars:880deep-learning-wizard
Open source guides/codes for mastering deep learning to deploying deep learning in production in PyTorch, Python, Apptainer, and more.
Python · MIT · updated 1 month agoDetails›Run models locally
Stars:867TrenTorch
Don't memorize ML. Understand it from first principles including Inference, Cuda, Deep Learning, Data Science and Reinforcement Learning
Python · updated 10 days agoDetails›Run models locally
Stars:833helix
Private Agent Fleet with Spec Coding. Each agent gets their own GPU-accelerated desktop. Run Claude, Codex, Gemini and open models on a full private AI Stack
Go · updated 10 days agoDetails›Run models locally
Stars:692timber
Ollama for classical ML models. AOT compiler that turns XGBoost, LightGBM, scikit-learn, CatBoost & ONNX models into native C99 inference code. One command to load, one command to serve. 336x faster than Python inference.
Python · updated 7 months agoDetails›Run models locally
Stars:674slotstream
Run a 105 GB AI model on a Mac that can't hold it. Qwen3.8-Flash-Next 4-bit, streamed from SSD on 16–64 GB Apple Silicon Macs. Fully native Swift, MLX and Metal. Offline, no Python. CLI, Swift library, and Ollama/OpenAI/Anthropic APIs. Works with Claude Code and Codex.
Swift · MIT · updated 13 days agoDetails›Run models locally
Stars:661ARIS-in-AI-Offer
Bilingual (中文+EN) ML / LLM / diffusion / agent interview cheat sheets for AI 秋招 — generated by ARIS /interview-cheatsheet, rendered by /render-html into single-file HTML, reads anywhere — plus a CV→DBLP-fact-checked academic homepage generator and hand-authored long-form blogs 🌱
Python · MIT · updated 13 days agoDetails›Run models locally
Stars:630Deepdive-llama3-from-scratch
Achieve the llama3 inference step-by-step, grasp the core concepts, master the process derivation, implement the code.
Jupyter Notebook · MIT · updated 1 year agoDetails›Run models locally
Stars:629qqqa
Fast, stateless LLM for your shell: qq answers; qa runs commands
Rust · MIT · updated 1 month agoDetails›Run models locally
Stars:529aicommit2
A Reactive CLI that generates commit messages for Git and Jujutsu with Ollama, ChatGPT, Gemini, Claude, Mistral and other AI
TypeScript · MIT · updated 1 month agoDetails›Run models locally
Stars:465kolosal-cli
Super lightweight Ollama + Qwen Code alternative to run Llama 3.3, DeepSeek-R1, Phi-4, Gemma 3, Mistral Small 3.1 and other large language models.
TypeScript · Apache-2.0 · updated 11 months agoDetails›Run models locally
Stars:453open-skills
OpenSkills: Run Claude Skills Locally using any LLM
Python · Apache-2.0 · updated 10 months agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.