License files: what AI coding agents may do with your code
This check looks for a license file at the repo root: LICENSE, LICENSE.md, LICENSE.txt, COPYING or COPYING.md.
How many repos have a license file?
Of the 401 repos on the leaderboard, 368 pass in full (92%), 0 pass in part (0%) and 33 fail (8%).
Why does a license file matter for AI coding agents?
A license tells an agent, and whoever runs it, whether the code may be copied, modified or redistributed. Every profile weighs it low, since it doesn't change how well an agent edits code.
What counts as a license file?
- Full pass: a license file at the repo root.
- Fail: none. We do not read which license it is.
How checks become a score: methodology.
How do I add a license file to my repo?
Add a LICENSE file at the repo root. A license named only in package.json or the README does not pass.
Which AI coding agents weigh a license file most?
- OpenHands4% of its score
- Kimi Code CLI4% of its score
- Claude Code4% of its score
- Codex4% of its score
- Devin4% of its score
- Cursor3% of its score
- Gemini CLI3% of its score
- Aider3% of its score
- Pi3% of its score
Pass rate by language
- Go40 of 40 (100%)
- Java28 of 28 (100%)
- JavaScript15 of 15 (100%)
- PHP12 of 12 (100%)
- Swift10 of 10 (100%)
- Dart7 of 7 (100%)
- Haskell7 of 7 (100%)
- Scala6 of 6 (100%)
- Zig6 of 6 (100%)
- Clojure5 of 5 (100%)
- Python55 of 56 (98%)
- TypeScript79 of 82 (96%)
- Kotlin11 of 12 (92%)
- C9 of 10 (90%)
- Ruby9 of 10 (90%)
- C++18 of 21 (86%)
- Elixir6 of 7 (86%)
- C#6 of 8 (75%)
- Rust27 of 45 (60%)
Top-scoring repos that pass
- Rust · 6.8k ★
- Ruby · 48.1k ★
- pingcap/tidb89.6Go · 40.7k ★
- gitlab-org/cli88.8Go · 1.1k ★
- apache/superset88.7Python · 75.4k ★
- axios/axios88.1JavaScript · 109.3k ★
- aio-libs/aiohttp88.1Python · 16.6k ★
- PostHog/posthog88.0Python · 40.7k ★
- C++ · 133.6k ★
- Python · 46.3k ★
- Rust · 33.3k ★
- TypeScript · 115 ★
Popular repos that fail it
- Rust · 128.5k ★
- rust-lang/rust68.4Rust · 121.6k ★
- tauri-apps/tauri65.7Rust · 112.6k ★
- Rust · 94k ★
- astral-sh/uv78.3Rust · 91.7k ★
- laravel/laravel51.2Blade · 85.4k ★
- Rust · 66.1k ★
- warpdotdev/warp78.4Rust · 65.9k ★
Every check, grouped into what to do first: how to make your repo ready for AI coding agents.