Most agent-friendly C++ repos
21 C++ repos, ranked by overall score (the average across agents). They average 59.3, and ggml-org/llama.cpp leads with 87.7.
10 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
- Type configuration: 24% 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 | 132.9k ★ | open | |
| 2 | microsoft/onnxruntimeGitHub | 22.2k ★ | open | |
| 3 | ml-explore/mlxGitHub | 29k ★ | open | |
| 4 | duckdb/duckdbGitHub | 42.7k ★ | open | |
| 5 | scylladb/scylladbGitHub | 15.8k ★ | open | |
| 6 | nlohmann/jsonGitHub | 50.8k ★ | open | |
| 7 | ClickHouse/ClickHouseGitHub | 50.7k ★ | open | |
| 8 | godotengine/godotGitHub | 119.3k ★ | open | |
| 9 | ggml-org/whisper.cppGitHub | 54.8k ★ | open | |
| 10 | libeigen/eigenGitLab | 1.2k ★ | open | |
| 11 | google-deepmind/mujocoGitHub | 16k ★ | open | |
| 12 | protocolbuffers/protobufGitHub | 72.1k ★ | open | |
| 13 | kicad/code/kicadGitLab | 1.1k ★ | open | |
| 14 | fmtlib/fmtGitHub | 25.9k ★ | open | |
| 15 | facebookresearch/faissGitHub | 41.2k ★ | open | |
| 16 | redpanda-data/redpandaGitHub | 12.6k ★ | open | |
| 17 | apache/arrowGitHub | 17.3k ★ | open | |
| 18 | inkscape/inkscapeGitLab | 4k ★ | open | |
| 19 | opencv/opencvGitHub | 91.4k ★ | open | |
| 20 | multicoreware/x265_gitBitbucket | — | open | |
| 21 | ocornut/imguiGitHub | 76.9k ★ | open |