CI configuration: what AI coding agents learn from your pipeline
This check looks for a CI pipeline in the repo: GitHub Actions workflows, or another CI system's config.
By Himanshu Singh · Updated · How we score →
How many repos have CI?
Of the 434 repos on the leaderboard, 416 pass in full (96%), 9 pass in part (2%) and 9 fail (2%).
Why do AI coding agents need CI?
A CI config records how the project is built and tested. An agent reads it for the commands a change must pass, and runs them before opening a pull request.
How do AI coding agents use your CI?
- CI records what a change must pass. Claude Code's docs list tests, the typecheck and CI as how you know work is done.
- Copy CI's exact install, lint and test commands into AGENTS.md, so the agent runs them before pushing instead of learning from a red build.
- Copilot's cloud agent can build the project and run its tests and linters in its own environment; on GitHub Actions,
copilot-setup-steps.ymlinstalls what they need first. - An agent can also watch CI. Claude Code's docs show
/loop 15m check CI on this branch, and if it's red pull the failing job's log, fix it and push.
416 of 434 leaderboard repos pass this check in full (96%). Sources: code.claude.com/best-practices (new tab), docs.github.com/customize-the-agent-environment (new tab).
What counts as CI configuration?
- Full pass: at least one
.ymlor.yamlfile in.github/workflows/. - 90%: a config for GitLab CI, Bitbucket Pipelines, CircleCI, Azure Pipelines, Travis CI, Jenkins, Buildkite, AppVeyor, Cirrus, Drone, Semaphore, Cloud Build, CodeBuild, Bitrise, Codemagic, SourceHut, Zuul, OneDev or TeamCity, a
.woodpecker.yml, or a Woodpecker, Forgejo, Gitea or Tekton folder holding at least one YAML file. - Fail: none of these. We do not check what the pipeline runs.
How checks become a score: methodology.
How do I add CI to my repo?
Add a workflow that runs tests and the linter on every pull request, using the commands you document for local use.
Which AI coding agents weigh CI most?
- OpenHands10% of its score
- Codex9% of its score
- Devin8% of its score
- Claude Code7% of its score
- Gemini CLI7% of its score
- Pi5% of its score
- Kimi Code CLI5% of its score
- Cursor4% of its score
- Aider4% of its score
Pass rate by language
- Rust47 of 47 (100%)
- Java32 of 32 (100%)
- JavaScript16 of 16 (100%)
- PHP14 of 14 (100%)
- C#12 of 12 (100%)
- Dart12 of 12 (100%)
- Elixir7 of 7 (100%)
- Haskell7 of 7 (100%)
- Scala6 of 6 (100%)
- Clojure5 of 5 (100%)
- TypeScript87 of 88 (99%)
- Python53 of 56 (95%)
- Ruby10 of 11 (91%)
- C++19 of 21 (90%)
- C9 of 10 (90%)
- Go36 of 41 (88%)
- Kotlin13 of 15 (87%)
- Swift12 of 14 (86%)
- Zig5 of 6 (83%)
Top-scoring repos that pass
- Ruby · 48.1k ★
- Rust · 6.8k ★
- PostHog/posthog91.2Python · 41.2k ★
- novuhq/novu91.2TypeScript · 40.4k ★
- jdx/mise91.2Rust · 36.6k ★
- TypeScript · 136.4k ★
- Python · 68.4k ★
- TypeScript · 395.3k ★
- vercel/next.js89.5JavaScript · 143.8k ★
- astral-sh/ruff89.5Rust · 51.6k ★
- apache/airflow89.5Python · 47.7k ★
- getsentry/sentry89.5Python · 45.9k ★
Popular repos that fail it
- golang/go47.0Go · 140.2k ★
- Go · 129.4k ★
- swiftlang/swift61.7Swift · 70.6k ★
- karpathy/nanoGPT18.2Python · 65.1k ★
- Python · 60.9k ★
- Kotlin · 13.8k ★
- farzaa/clicky57.0Swift · 8.1k ★
- microsoft/AI23.1Python · 3k ★
Every check, grouped into what to do first: how to make your repo ready for AI coding agents.