Skip to content
Agent Friendly Code

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.

Which AI coding agent C++ repos are best set up for →

What C++ repos most often miss

Leaves out checks only one agent reads, which almost no repo passes. The methodology explains each check.

Leaderboard — page 1 of 1 for C++ repos, overall
RankRepoScore
1ggml-org/llama.cppGitHub

LLM inference in C/C++

136k ★
87.7
open
2ml-explore/mlxGitHub

MLX: An array framework for Apple silicon

29.2k ★
80.6
open
3protocolbuffers/protobufGitHub

Protocol Buffers - Google's data interchange format

72.2k ★
80.0
open
4duckdb/duckdbGitHub

DuckDB is a high-performance analytical database system

43.2k ★
78.2
open
5scylladb/scylladbGitHub

NoSQL data store using the Seastar framework, compatible with Apache Cassandra and Amazon DynamoDB

15.9k ★
77.4
open
6ClickHouse/ClickHouseGitHub

ClickHouse® is a real-time analytics database management system

51.1k ★
75.6
open
7google-deepmind/mujocoGitHub

Multi-Joint dynamics with Contact. A general purpose physics simulator.

18.4k ★
75.6
open
8nlohmann/jsonGitHub

JSON for Modern C++

51k ★
75.1
open
9microsoft/onnxruntimeGitHub

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator

22.3k ★
74.9
open
10apache/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
11kicad/code/kicadGitLab1.1k ★
71.9
open
12ggml-org/whisper.cppGitHub

Port of OpenAI's Whisper model in C/C++

55.4k ★
71.5
open
13libeigen/eigenGitLab

Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.

1.2k ★
70.3
open
14redpanda-data/redpandaGitHub

Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!

12.7k ★
68.9
open
15godotengine/godotGitHub

Godot Engine – Multi-platform 2D and 3D game engine

120.6k ★
67.5
open
16fmtlib/fmtGitHub

A modern formatting library

26k ★
67.4
open
17opencv/opencvGitHub

Open Source Computer Vision Library

91.7k ★
63.4
open
18facebookresearch/faissGitHub

A library for efficient similarity search and clustering of dense vectors.

41.9k ★
58.2
open
19cartesi/machine-emulatorGitHub

The off-chain implementation of the Cartesi Machine

115 ★
57.7
open
20multicoreware/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
21inkscape/inkscapeGitLab

Inkscape vector image editor

4k ★
50.9
open
22ocornut/imguiGitHub

Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

77.3k ★
30.4
open