← the index
mastra-ai/mastra
16.6%
of 4,645 commits were committed by an AI agent — a floor, not an estimate
16.6% agent · top contributor 33.2%124 contributors
org-wide

Adoption is broad. Many contributors are committing agent-authored work, which is what a real organisational rollout looks like.

769
agent commits
3,876
human commits
124
agent contributors
33.2%
largest contributor

Assisted or autonomous

513assisted
256autonomous

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: 29.4%. Bars are scaled to that peak, not to 100%.

Which agents

Claude CodeAnthropic47910.3%
DevinCognition2675.7%
Cursor AgentAnysphere170.4%
GitHub CopilotGitHub120.3%
OpenAI CodexOpenAI10%

Verify it yourself

Sample commits that matched. Every one links to GitHub — check the trailers.

  • 1275be5afix(deployer): read a dependency version from the installed copy (#21213)Claude Code
  • eede4de1fix(memory): preserve markdown links in observation context (#20665)Claude Code
  • d6c618f3Fix span serialization stripping user payload keys (#21332)Claude Code
  • 4bfb8275fix(factory): adapt session favicons to light and dark browser themes (#21Devin
  • 84d4972cfeat(playground-ui): add lg sidebar nav item size (#21509)Devin
  • 0cebbf2fdocs(agents): add transform example for display and transcript targets (#2Devin
  • 65bad387fix(editor): fail closed when editor-owned instructions can't resolve (#21Cursor Agent
  • 8a4a4af3fix(auth): harden getRequestHeader for Express requests (#21261)Cursor Agent
  • 84ca919efix(nestjs): pass Web Request to auth providers (#21258)Cursor Agent
  • b390381cfix(e2b, blaxel): S3 mount race condition and partial credential validatioGitHub Copilot
  • 975c59aefeat(core): make agentic-loop serialization-safe on the evented engine (#1GitHub Copilot
  • 65f255a3fix(core): guard CacheKeyGenerator against empty/undefined reasoning detaiGitHub Copilot
  • dd6ca1cdExpose root span ID (`spanId`) alongside `traceId` in execution results anOpenAI Codex

What was excluded

Commits in window5,613
Merge commits removed0
CI / dependency bots removed968
Considered4,645

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 mastra-ai/mastra

Scan another repository