📊Total AI Commits
4.8M
Across both agents
📁Total Repositories
1.4M
Public repos on GitHub
🟠Claude Code Commits
4.2M
4.0% of GitHub
🟢Codex Commits
600.4K
0.8% of GitHub
Commit Share
Claude Code 87.6%
Codex 12.4%
🟠
Claude Code
(Anthropic)Weekly Growth
+8.0%
Doubling Time
61 days
Net Lines Added
30.7B
Active Since
2025-02-01
🟢
Codex
(OpenAI)Weekly Growth
+12.5%
Doubling Time
42 days
Net Lines Added
5.3B
Active Since
2025-05-01
Daily Commits (7-day moving average)
Language Breakdown (%)
Repository Star Distribution (%)
Head-to-Head Comparison
| Metric | 🟠 Claude Code | 🟢 Codex |
|---|---|---|
| Total Commits | 4.2M | 600.4K |
| Active Repositories | 1.1M | 285.0K |
| Lines Added | 50.2B | 8.5B |
| Lines Deleted | 19.5B | 3.2B |
| Net Lines | 30.7B | 5.3B |
| Weekly Growth | 8.0% | 12.5% |
| Doubling Time | 61 days | 42 days |
| Est. GitHub Share | 4.0% | 0.8% |
| Top Language | TypeScript (34.8%) | Python (28.5%) |
| Launch Date | 2025-02-01 | 2025-05-01 |
How We Track AI Commits
We identify AI-generated commits on public GitHub repositories by searching for known signatures left by each coding agent. GitHub caps search results at 1,000 per query, so we use recursive time-window splitting to capture all data.
🟠
Claude Code
by Anthropic- Co-Author Trailer: Commits with Co-Authored-By: Claude <noreply@anthropic.com>
author-email:noreply@anthropic.com"Co-authored-by: Claude" - Session URL: Commits containing claude.ai/code session links
"claude.ai/code" - Direct Author: Commits authored directly by Claude Code
author-name:Claude
🟢
Codex
by OpenAI- Default Author Email: Commits from Codex cloud environment default identity
author-email:codex@openai.com - Default Author Name: Commits with default Codex author name
author-name:Codex04l - Codex Connector Bot: Commits with chatgpt-codex-connector bot co-author
"chatgpt-codex-connector[bot]" - Codex GitHub Action: Commits from openai/codex-action
"codex-action"