microsoft/onnxruntime
GitHubONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
- ai-framework
- deep-learning
- hardware-acceleration
- machine-learning
- neural-networks
- onnx
- pytorch
- scikit-learn
- tensorflow
- Stars:
- 22.2k
- Language:
- C++
- Default branch:
- main
- Last scored:
At a glance
- Rank
- #117 of 401
- Top 29% · #2 of 21 C++ repos
- Checks passed
- 8 of 17
- Full list below
- Best set up for
- Claude Code
- Score 82.0
- Needs most work for
- OpenHands
- Biggest fix: .openhands/setup.sh (+10.0 pts)
What it has
What it's missing
What to fix first
Showing fixes for Claude Code
- 1Pre-commit / git hooksSet up pre-commit (.pre-commit-config.yaml), husky, or lefthook to run format+lint on every commit.+5.3 pts
- 2Manageable sizeIf possible, split into smaller modules or carve out a focused entry path. Document where to start in AGENTS.md.+5.3 pts
- 3Test suiteAdd a tests/ (or test/, __tests__/, spec/) directory with runnable tests. Document how to run them in AGENTS.md.+3.9 pts
Score for each AI agent
Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →
Does microsoft/onnxruntime have agent instructions?
An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.
- AGENTS.md / CLAUDE.md
AGENTS.md(new tab) · 7,686 characters- Agent-specific files
- None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
- Repos that have one
- 10 of 21 C++ repos · 221 of 401 repos on the leaderboard · See examples →
All 17 checks · 8 passed
How microsoft/onnxruntime compares
- vs leaderboard average
- 8.1 pts above
- Average 66.8
- vs C++ average
- 15.6 pts above
- Average 59.3
- Stars among C++ repos
- #13 of 21
Missing here, and how many repos have it
- Pre-commit / git hooks · passed by 29% of leaderboard repos, 29% of C++ repos
- Skills (.agents/skills) · passed by 17% of leaderboard repos, 5% of C++ repos
- Cursor rules (.cursor/rules) · passed by 4% of leaderboard repos, 0% of C++ repos
One fix for the most agents: Pre-commit / git hooks would raise the score for all 9 agents, by up to 6.0 points.
Similar repos
Same language and host as this repo, closest in overall score.
- ml-explore/mlx72.6C++ · 29.1k ★
- duckdb/duckdb70.2C++ · 42.8k ★
- C++ · 15.8k ★
- nlohmann/json69.0C++ · 50.8k ★
- C++ · 50.7k ★
- C++ · 119.6k ★
Same topics, any language
Repos tagged with the same GitHub topics, most shared first.
- ray-project/ray73.6Python · deep learning, machine learning, PyTorch, tensorflow
- Python · deep learning, machine learning, PyTorch, tensorflow
- explosion/spaCy66.2Python · deep learning, machine learning, neural networks
- Python · deep learning, machine learning, PyTorch
- Python · deep learning, PyTorch
- Python · deep learning, PyTorch
Add a badge to your README
Paste this at the top of the README. It shows the score, and links back to this page.
[](https://agentfriendlycode.com/repo/github/microsoft/onnxruntime)Check the score on every pull request
A GitHub Action posts one comment per pull request with how the score changed and why.