Windows, Android, and now Linux are all being written partly by AI

Windows, Android, and now Linux are all being written partly by AI

You probably haven’t considered how reliant Windows, Android, and Linux are becoming on AI. I’m not referring to mere AI features, but to AI actually being behind the code that makes the operating system work.

I’m not saying anything is inherently wrong with AI writing the software running our devices. However, it’s quite interesting to picture the scale and whether the engineers responsible can keep up with it.


MacBook Air in Chrome showing the Pi homepage calling itself a minimal agent harness

Related


This free, open-source tool beats Claude Code, Codex, and Antigravity at their own game, and I’m not looking back

The coding agent I didn’t know I needed

Windows is the hardest one to prove

The famous 20 to 30 percent figure applies to Microsoft as a whole

Windows Update tab on a laptop
Pankil Shah / MakeUseOfCredit: Pankil Shah / MakeUseOf

In April 2025, while on stage with Mark Zuckerberg, Satya Nadella, Microsoft’s CEO, had this to say:

I’d say maybe 20%, 30% of the code that is inside of our repos today and some of our projects are probably all written by software.

People have attributed this figure to Windows, even though he was talking about Microsoft as a whole. I wasn’t able to find any concrete figures that specifically apply to Windows.

The closest apparent evidence that Windows was being rewritten by AI turned out to be a public misunderstanding. Galen Hunt, a Microsoft engineer, posted on LinkedIn in December 2025 that he wanted to eliminate every C and C++ line at Microsoft by 2030. He said the team goal was “1 engineer, 1 month, 1 million lines of code.”

Many read this post as evidence that Microsoft was using AI to rewrite code. But Hunt later updated the post to say Windows isn’t being rewritten in Rust with AI and that his team’s project is research.

The second mix-up comes from the fact that Microsoft is actually rebuilding Windows around AI agents. But this describes a feature, not who wrote the underlying code.

So the only thing I can say confidently is that a lot of machine-written code exists in Microsoft’s repositories, and Windows is a Microsoft product.

Android has bigger numbers and the same gap

Google says three quarters of its new code is AI-generated

phonebox control panel home page.

Sundar Pichai, Google’s CEO, has shared newer and higher figures. In April 2026, on Google’s blog, he said 75 percent of all new code at Google is now AI-generated and approved by engineers. This is up from 50 percent the previous fall.

His figure covers new code. The post also doesn’t mention Android, despite appearing on the Google Cloud blog.

He also describes engineers orchestrating autonomous agents and says a complex migration involving agents and engineers was completed six times faster than a year earlier.

For Android, the evidence is limited to tooling. The editor for engineers working on AOSP, called Android Studio for Platform, ships with a built-in AI agent. It can plan multistep edits, then build and test them. But this is only a tool; it doesn’t reveal how much of Android was written with its help.

The kernel in an Android phone is an upstream long-term-support Linux kernel, with Google’s patches added on top. This brings us to Linux.

Linux is where you can actually check

Public commits show how much AI is going into the kernel

It’s easier to verify here because Linux is open source, so the evidence is public. Contributors can mark patches written with AI assistance with an Assisted-by tag, and Linux Weekly News (LWN) keeps count of these tags for each release.

Kernel release

Commits with the tag

7.0

31

7.1

299 (about 2%)

7.2 merge window

706 (about 5%)

LWN has noted that many contributors skip the tag, so the figures above should be read as lower bounds. Also, under the kernel’s own rules, a human must certify the work and take full responsibility. An AI can’t add a “signed-off by” line.

The best example comes from Linus Torvalds himself. He used Claude Code to write an optimization for how Linux reads cached files. AI wrote the implementation and tests, but Linus Torvalds personally ran the benchmarks, which showed significant speed gains.

Just because the benchmarks looked impressive, that didn’t mean the code was ready for the Linux kernel. Kiryl Shutsemau, a Meta engineer, reviewed it and found a race condition that the tests Claude Code had implemented missed. There’s no evidence that AI caused the bug, and humans also write race conditions.

You can also check the count yourself. Run git log with an Assisted-by filter on a kernel checkout. Since the tag requirement was removed in October, you should do this soon. The numbers will become less reliable over time.

What this changes for you

Windows Update is one place you’ll feel the increased use of AI in software development. In September 2026 alone, Microsoft pushed out 974 vulnerability fixes for Windows and other Microsoft software. This was the company’s biggest recorded batch. You should expect bigger Patch Tuesdays as AI speeds up discovery.

A similar trend appears in Linux kernel CVEs. Greg Kroah-Hartman’s data shows a climb in CVEs per kernel release. It went from around 500 to roughly 1,000 starting with 7.0, then to more than 1,500 with 7.2. Many of these vulnerabilities were identified with the help of AI review tools.

In all of this, reviewers would feel the most strain. According to Torvalds, the kernel’s private security list is almost entirely unmanageable. There were no new Arm features in the KVM pull request for 7.2. It contained only fixes because the influx of AI-fueled fixes had made new work too difficult to review.

This research led me to a simple rule: ignore the percentage of code AI wrote and ask how much of it a human actually checked.