← the index
python/cpython
11.1%
of 2,701 commits were committed by an AI agent — a floor, not an estimate
11.1% agent · top contributor 90.4%17 contributors
individual

One person is driving this. The headline number reflects a single contributor's workflow, not a project-wide shift.

301
agent commits
2,400
human commits
17
agent contributors
90.4%
largest contributor

Assisted or autonomous

301assisted
0autonomous

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

Feb26
Mar26
Apr26
May26
Jun26
Jul26
Aug26

Peak month: 31%. Bars are scaled to that peak, not to 100%.

Which agents

Claude CodeAnthropic29911.1%
GitHub CopilotGitHub20.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 Code
  • e75ef6a7gh-155040: Support copy.replace() for tarfile.TarInfo (GH-155046)Claude Code
  • b4af851fgh-155033: Support copy.replace() for csv dialects (GH-155035)Claude Code
  • 832d5571gh-152068: Reset PyREPL Colors on prompt finish (#152108)GitHub Copilot
  • c8799f13gh-149035: Modernize legacy Python patterns in `Doc/tutorial/stdlib2.rst` GitHub Copilot

What was excluded

Commits in window2,709
Merge commits removed3
CI / dependency bots removed5
Considered2,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

Scan another repository