Most agent-friendly C++ repos
22 C++ repos, ranked by overall score (the average across agents). They average 68.6. Best with 100+ stars: ggml-org/llama.cpp (87.7).
12 of them have an AGENTS.md or CLAUDE.md: C++ AGENTS.md examples.
What C++ repos most often miss
- Cursor rules (.cursor/rules): 0% pass rate
- Skills (.agents/skills): 5% pass rate
- Pre-commit / git hooks: 27% pass rate
Leaves out checks only one agent reads, which almost no repo passes. The methodology explains each check.
| Rank | Repo | Stars | Score | External link |
|---|---|---|---|---|
| 1 | ggml-org/llama.cppGitHub LLM inference in C/C++ | 136k ★ | 87.7 | open |
| 2 | ml-explore/mlxGitHub MLX: An array framework for Apple silicon | 29.2k ★ | 80.6 | open |
| 3 | protocolbuffers/protobufGitHub Protocol Buffers - Google's data interchange format | 72.2k ★ | 80.0 | open |
| 4 | duckdb/duckdbGitHub DuckDB is a high-performance analytical database system | 43.2k ★ | 78.2 | open |
| 5 | scylladb/scylladbGitHub NoSQL data store using the Seastar framework, compatible with Apache Cassandra and Amazon DynamoDB | 15.9k ★ | 77.4 | open |
| 6 | ClickHouse/ClickHouseGitHub ClickHouse® is a real-time analytics database management system | 51.1k ★ | 75.6 | open |
| 7 | google-deepmind/mujocoGitHub Multi-Joint dynamics with Contact. A general purpose physics simulator. | 18.4k ★ | 75.6 | open |
| 8 | nlohmann/jsonGitHub JSON for Modern C++ | 51k ★ | 75.1 | open |
| 9 | microsoft/onnxruntimeGitHub ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator | 22.3k ★ | 74.9 | open |
| 10 | apache/arrowGitHub Apache Arrow is the universal columnar format and multi-language toolbox for fast data interchange and in-memory analytics | 17.3k ★ | 73.8 | open |
| 11 | kicad/code/kicadGitLab | 1.1k ★ | 71.9 | open |
| 12 | ggml-org/whisper.cppGitHub Port of OpenAI's Whisper model in C/C++ | 55.4k ★ | 71.5 | open |
| 13 | libeigen/eigenGitLab Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms. | 1.2k ★ | 70.3 | open |
| 14 | redpanda-data/redpandaGitHub Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM! | 12.7k ★ | 68.9 | open |
| 15 | godotengine/godotGitHub Godot Engine – Multi-platform 2D and 3D game engine | 120.6k ★ | 67.5 | open |
| 16 | fmtlib/fmtGitHub A modern formatting library | 26k ★ | 67.4 | open |
| 17 | opencv/opencvGitHub Open Source Computer Vision Library | 91.7k ★ | 63.4 | open |
| 18 | facebookresearch/faissGitHub A library for efficient similarity search and clustering of dense vectors. | 41.9k ★ | 58.2 | open |
| 19 | cartesi/machine-emulatorGitHub The off-chain implementation of the Cartesi Machine | 115 ★ | 57.7 | open |
| 20 | multicoreware/x265_gitBitbucket Open Source H.265 / HEVC video encoder This repository has been migrated to GitHub. Please use the GitHub repository for all development and issue tracking: https://github.com/Multicorewareinc/x265 This repository will remain in sync until June 30, 2026 for transition purposes. | — | 51.1 | open |
| 21 | inkscape/inkscapeGitLab Inkscape vector image editor | 4k ★ | 50.9 | open |
| 22 | ocornut/imguiGitHub Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies | 77.3k ★ | 30.4 | open |