One person is driving this. The headline number reflects a single contributor's workflow, not a project-wide shift.
Assisted or autonomous
Assisted — a developer’s identity authored the commit and the agent added itself as co-author. The agent ran git commit during a working session, with a person there. Autonomous — a bot identity is the author, no human in the loop. Across the whole index, 93.7% of agent commits are assisted.
Agent share by month
Peak month: 31%. Bars are scaled to that peak, not to 100%.
Which agents
| Claude Code | Anthropic | 299 | 11.1% |
| GitHub Copilot | GitHub | 2 | 0.1% |
Verify it yourself
Sample commits that matched. Every one links to GitHub — check the trailers.
1ed6b782gh-154139: Document that curses is not thread-safe (GH-154173)Claude Codee75ef6a7gh-155040: Support copy.replace() for tarfile.TarInfo (GH-155046)Claude Codeb4af851fgh-155033: Support copy.replace() for csv dialects (GH-155035)Claude Code832d5571gh-152068: Reset PyREPL Colors on prompt finish (#152108)GitHub Copilotc8799f13gh-149035: Modernize legacy Python patterns in `Doc/tutorial/stdlib2.rst` GitHub Copilot
What was excluded
| Commits in window | 2,709 |
| Merge commits removed | −3 |
| CI / dependency bots removed | −5 |
| Considered | 2,701 |
Bots are excluded from the denominator entirely. Counting dependabot as “AI-written code” is the fastest way to produce a meaningless number.
How this was measured
Measured over February–August 2026, cloned directly. Detection is deterministic string matching against signatures agents write about themselves — no heuristics, no style analysis. Merge commits and CI bots are excluded from the denominator. The figure is a floor: squash merges strip trailers, so real usage is higher. Contributor counts are aggregate — no individual is named.
Run it yourself: npx qmmit-cli python/cpython