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.
196 repos matching “cpp”
Run models locally
Stars:136kllama.cpp
LLM inference in C/C++
C++ · MIT · updated 9 days agoDetails›Speech & audio
Stars:55.4kwhisper.cpp
Port of OpenAI's Whisper model in C/C++
C++ · MIT · updated 10 days agoDetails›Image generation
Stars:8.1kstable-diffusion.cpp
Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++
C++ · MIT · updated 15 days agoDetails›Speech & audio
Stars:4.4kaudio.cpp
An all-in-one, pure C++ inference engine for audio models, powered by ggml. Supports TTS, STT, VAD, voice conversion, music generation, and more, with highly optimized performance. No Python dependency.
C++ · updated 10 days agoDetails›Robotics & driving
Stars:4.3kBehaviorTree.CPP
Behavior Trees Library in C++. Batteries included.
C++ · MIT · updated 17 days agoDetails›Open models
Stars:3kchatglm.cpp
C++ implementation of ChatGLM-6B & ChatGLM2-6B & ChatGLM3 & GLM4(V)
C++ · MIT · updated 2 years agoDetails›Robotics & driving
Stars:2.2kCppRobotics
cpp implementation of robotics algorithms including localization, mapping, SLAM, path planning and control
C++ · MIT · updated 2 years agoDetails›Run models locally
Stars:2.2knode-llama-cpp
Run AI models locally on your machine with node.js bindings for llama.cpp. Enforce a JSON schema on the model output on the generation level
TypeScript · MIT · updated 12 days agoDetails›Learn AI
Stars:2.1kpytorch-cpp
C++ Implementation of PyTorch Tutorials for Everyone
C++ · MIT · updated 28 days agoDetails›Data science
Stars:2kAnime4KCPP
A high performance anime upscaler
C++ · GPL-3.0 · updated 4 months agoDetails›Run models locally
Stars:1.6krwkv.cpp
INT4/INT5/INT8 and FP16 inference on CPU for RWKV language model
C++ · MIT · updated 1 year agoDetails›Speech & audio
Stars:868bark.cpp
Suno AI's Bark model in C/C++ for fast text-to-speech generation
C++ · MIT · updated 2 years agoDetails›Learn AI
Stars:813tensorrt-cpp-api
TensorRT C++ API Tutorial
C++ · MIT · updated 6 months agoDetails›Computer vision
Stars:735YOLOv8-TensorRT-CPP
YOLOv8 TensorRT C++ Implementation
C++ · MIT · updated 6 months agoDetails›Computer vision
Stars:722SAM3DBody-cpp
Real-time 3D full-body reconstruction from a single camera, Multiperson BVH output, Pure C++ runtime, ONNX + ggml, 70-joint skeleton with hands.
C++ · MIT · updated 1 month agoDetails›AI agents
Stars:663llama-cpp-agent
The llama-cpp-agent framework is a tool designed for easy interaction with Large Language Models (LLMs). Allowing users to chat with LLM models, execute structured function calls and get structured output. Works also with models not fine-tuned to JSON output and function calls.
Python · updated 8 months agoDetails›Coding assistants
Stars:661memory.cpp
Your repo remembers: local-first AI memory and context control plane for developers and coding agents.
Rust · MIT · updated 29 days agoDetails›Open models
Stars:572clip.cpp
CLIP inference in plain C/C++ with no extra dependencies
C++ · MIT · updated 3 months agoDetails›Run models locally
Stars:570minigpt4.cpp
Port of MiniGPT4 in C++ (4bit, 5bit, 6bit, 8bit, 16bit CPU inference with GGML)
C++ · MIT · updated 3 years agoDetails›Learn AI
Stars:544ModernRoboticsCpp
Modern Robotics: Mechanics, Planning, and Control C++ Library --- The primary purpose of the provided software is to be easy to read and educational, reinforcing the concepts in the book. The code is optimized neither for efficiency nor robustness. http://modernrobotics.org/
C++ · updated 5 months agoDetails›Run models locally
Stars:510speech.cpp
Speech synthesis, speech recognition and voice activity detection for voice conversation, in C++ on ggml: Qwen3-TTS, Irodori-TTS, Qwen3-ASR, ReazonSpeech, parakeet and Silero VAD on Metal, Vulkan and the CPU, with an OpenAI-compatible server and live transcription.
C++ · MIT · updated 10 days agoDetails›Video & animation
Stars:504CppRobotics
Header-only C++ library for robotics, control, and path planning algorithms. Work in progress, contributions are welcome!
C++ · MIT · updated 2 years agoDetails›Coding assistants
Stars:500codex_py2cpp
Converts python code into c++ by using OpenAI CODEX.
Python · MIT · updated 2 years agoDetails›Speech & audio
Stars:438audio.cpp-webui
audio.cpp with a full-task WebUI - pure C++ audio-model inference engine powered by ggml. TTS, ASR/STT, VAD, voice conversion, speaker diarization, music generation. No Python dependency.
C++ · updated 26 days agoDetails›MCP servers
Stars:428mcpproxy-go
Supercharge AI Agents, Safely
Go · MIT · updated 9 days agoDetails›Run models locally
Stars:327deepseek.cpp
CPU inference for the DeepSeek family of large language models in C++
C++ · updated 1 year agoDetails›Chat interfaces
Stars:327openai-cpp
OpenAI C++ is a community-maintained library for the Open AI API
C++ · MIT · updated 2 years agoDetails›Run models locally
Stars:196Breeze-TTS-2.cpp
Bilingual English and Mandarin text to speech in C++ and GGUF. Voice design, cloning, direction and experimental voice conversion. Vulkan backend, streaming HTTP and WebSocket server, web UI and a C API.
C++ · Apache-2.0 · updated 15 days agoDetails›Run models locally
Stars:46kjan
Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
Rust · updated 12 days agoDetails›Learn AI
Stars:34.9kC-Plus-Plus
Collection of various algorithms in mathematics, machine learning, computer science and physics implemented in C++ for educational purposes.
C++ · MIT · updated 1 month agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.