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 | 312 | 10.6% |
| GitHub Copilot | GitHub | 2 | 0.1% |
Verify it yourself
Sample commits that matched. Every one links to GitHub — check the trailers.
1620e0f1gh-64862: Add the stop_exception parameter in iter() and aiter() (GH-15629Claude Codec8ca336egh-69371: Fix pydoc for modules whose path contains undecodable bytes (GH-Claude Codeabf7a184gh-69370: Fix "python -m inspect --details" for unencodable paths (GH-1552Claude 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,941 |
| Merge commits removed | −3 |
| CI / dependency bots removed | −5 |
| Considered | 2,933 |
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