March 22, 2026 · 5 min read
We Scanned 13 Popular Open Source Repos for AI-Generated Code. Here's What We Found.
Everyone's using AI coding tools. But nobody knows how much of their codebase is actually AI-generated. We pointed GitIntel at 13 major repos and scanned 6,500 commits.
Published by GitIntel Research
The Results
| Repository | AI Commits | AI % |
|---|---|---|
| Deno101K | 206/500 | 41.2% |
| Claude Code30K+ | 63/500 | 12.6% |
| Next.js131K | 27/500 | 5.4% |
| Ruff38K | 20/500 | 4.0% |
| Mem048K | 18/500 | 3.6% |
| shadcn/ui82K | 11/500 | 2.2% |
| CrewAI46K | 8/500 | 1.6% |
| Biome17K | 7/500 | 1.4% |
| Astro50K | 7/500 | 1.4% |
| LangChain96K | 6/500 | 1.2% |
| Ollama162K | 4/500 | 0.8% |
| Pydantic23K | 1/500 | 0.2% |
| Tauri90K | 0/500 | 0.0% |
Total: 378 AI-assisted commits across 6,500 scanned (5.8% overall)
Five Things That Surprised Us
1. Deno is 41% AI-coded
The biggest outlier by far. More than 4 out of every 10 recent commits in Deno's repo were co-authored by Claude Code. That's not a tool being used occasionally — that's a fundamental part of the development workflow. Deno is a Rust + TypeScript runtime, and AI is writing a significant chunk of both.
2. Claude Code dominates everything
Across all 13 repos, Claude Code appeared in 99% of AI-assisted commits. The only exception was Ollama, where Devin contributed 3 commits. No Cursor. No Copilot. This isn't because other tools aren't being used — it's because Claude Code is the only major tool that consistently leaves a Co-Authored-By trail.
3. The attribution gap is massive
Our scan only detects explicit Co-Authored-By trailers. But many AI-assisted commits don't have these — developers copy-paste from ChatGPT, use Copilot inline suggestions, or accept Cursor tab completions without any attribution marker. The true AI percentage could be 2-5x higher than what we detected. We're measuring the floor, not the ceiling.
4. AI adoption follows the team, not the language
Tauri (Rust) has 0% AI commits. Ruff (also Rust) has 4%. Biome (also Rust) has 1.4%. Deno (also Rust) has 41.2%. Same language, wildly different adoption rates. AI adoption is a team decision, not a technology constraint.
5. Even Anthropic's own repo is only 12.6%
Claude Code's own repository — built by the team that makes the AI coding tool — still has 87.4% human-authored commits. AI isn't replacing developers. It's augmenting them at varying rates.
What This Means
For engineering leaders: You can't answer “how much of our code is AI-generated?” without measuring it. And the answer might surprise you — it could be 0% or 41%.
For compliance teams: AI-generated code is already shipping in production at major open source projects. If your organization has policies around AI code review or licensing, you need tooling to enforce them.
For developers:The adoption curve is steep. Deno went from 0 to 41% AI commits. If your team hasn't adopted AI coding tools yet, you're competing against teams that have.
How We Measured This
We used GitIntel v0.1.0, scanning the 500 most recent commits on the main branch of each repository:
gitintel scan --format json --limit 500Limitations:
- Only detects explicit Co-Authored-By trailers (floor, not ceiling)
- Copilot and Cursor don't add trailers by default — their contributions are invisible
- 500-commit window may not represent full project history
- Community contributions vs. core team not separated
What's your repo's AI percentage?
Run gitintel scan and find out.
# Install
curl -fsSL https://gitintel.com/install.sh | sh
# Scan any repo
cd your-repo
gitintel scanOpen source (MIT) · Local-first · No data leaves your machine
Data collected March 22, 2026. All repositories scanned at latest main branch HEAD.