Before anyone imagines an autonomous language model solo-compiling ntoskrnl.exe while Microsoft's engineering staff takes an early Friday, though, let's separate executive soundbites from engineering reality. A closer look at public disclosures across all three ecosystems reveals a striking evidence asymmetry: Microsoft and Google offer sweeping, company-wide numbers that say nothing specific about Windows or Android, while Linux provides a rare, line-by-line public commit trail—right up until the kernel community decided its own AI disclosure tag was too unreliable to keep mandatory.
For Windows administrators, developers, and security teams, the real headline isn't what percentage of an operating system an AI drafted. It is what happens downstream when code generation and automated bug hunting move faster than human beings can review, test, and patch.
The Numbers Behind the Headlines: What We Actually Know
Trying to compare AI code adoption across Windows, Android, and Linux is a bit like comparing three different weather stations where two only report the continental average and the third recently took down half its rain gauges.
| Ecosystem | Public Executive or Project Claim | Scope Limitation | Verifiable OS-Level Evidence |
|---|---|---|---|
| Microsoft / Windows | CEO Satya Nadella estimated 20%–30% of code in Microsoft repositories and some projects is "written by software" | Applies to Microsoft broadly, not Windows specifically; Nadella noted less progress in C++ than Python | No published Windows-only percentage; confirmed agentic OS features (user-facing) and language-migration research |
| Google / Android | CEO Sundar Pichai stated 75% of all new code at Google is AI-generated and engineer-approved (up from 50% in fall 2025) | Applies to new code across all of Google, not Android specifically or legacy codebases | Android Studio for Platform includes a built-in AI agent for Soong builds and atest platform testing; Android Common Kernels inherit upstream Linux LTS |
| Linux Kernel | LWN.net tracked 31 Assisted-by commits in 7.0, 299 (~2%) in 7.1, and 706 (~5%) in the 7.2 merge window (~10% in 7.3 through -rc7) | Lower bound of disclosed assistance only; many contributors skipped the tag | Public git commit history and documented review debates; mandatory Assisted-by rule removed in October 2026 |
Microsoft and Windows: Separating Corporate Quotes from Kernel Reality
Windows is the hardest of the three major platforms to quantify, largely because its source code is proprietary and Microsoft's most widely cited statistic gets detached from its context every time it makes the rounds on social media.
During a fireside chat with Meta CEO Mark Zuckerberg at LlamaCon on April 29, 2025, Microsoft CEO Satya Nadella remarked that "maybe 20%, 30% of the code that is inside of our repos today and some of our projects are probably all written by software," according to TechCrunch. That quote quickly morphed online into a rumor that a third of Windows itself was AI-authored. In reality, Nadella was speaking about Microsoft as a whole—a company spanning Azure cloud services, Microsoft 365, developer tools, gaming, and internal automation. Even more tellingly, TechCrunch noted that Nadella acknowledged mixed results depending on the programming language, with stronger gains in Python and less progress in C++. Considering how much of Windows' core plumbing relies on C and C++, translating a company-wide average directly onto Windows is a leap the data cannot support.
The "Rewriting Windows in Rust with AI" Misunderstanding
A second wave of speculation erupted in December 2025 after Microsoft Distinguished Engineer Galen Hunt posted a LinkedIn job listing looking for a principal engineer to help eliminate every line of C and C++ at Microsoft by 2030, citing a "North Star" of "1 engineer, 1 month, 1 million lines of code" using algorithmic code graphs paired with AI agents. Internet commentary promptly declared that Redmond was feeding the Windows source tree into an LLM to spit out Rust.
Hunt subsequently updated the LinkedIn post to put out the fire: "Windows is NOT being rewritten in Rust with AI," he clarified, explaining that his team's effort is a research project exploring large-scale language-migration tooling rather than an official product roadmap for Windows 11 or its successors.
That distinction matters. Microsoft genuinely is investing in memory-safe languages under its Secure Futures Initiative—motivated by estimates from Azure CTO Mark Russinovich that memory-safety errors in C and C++ account for roughly 70% of vulnerabilities in Microsoft products. That push has produced tangible, targeted deliverables like Patina, an open-source UEFI boot firmware implementation written in Rust that Microsoft introduced in October 2025, alongside ongoing Rust adoption in parts of the Windows kernel and drivers. Incremental, human-architected memory-safety work is very different from unleashing an AI refactoring bot across forty years of legacy Win32 APIs.
Features Are Not Source Code
As MakeUseOf also pointed out in its December 2026 review of OS codebases, there is a second common mix-up: Microsoft's push to rebuild the Windows user experience around AI agents. Turning Windows into an "agentic OS" describes what the operating system does for users and administrators, not who wrote the scheduler, file system, or networking stack underneath. Until Microsoft discloses repository-level telemetry for Windows specifically, the only verifiable takeaway is that machine-generated code lives inside Microsoft's engineering pipeline at scale, and Windows is built by Microsoft.
Google and Android: Big Company Numbers, Distinct Kernel Plumbing
At Google, the headline percentage is far higher—and runs into the exact same measurement wall.
In an April 22, 2026 Google Cloud blog post recapping Cloud Next '26, CEO Sundar Pichai wrote that 75% of all new code at Google is now AI-generated and approved by engineers, up from 50% the previous fall. Pichai described engineers orchestrating autonomous agent workflows and noted that a complex code migration carried out jointly by agents and engineers finished six times faster than engineers working alone could have managed a year earlier.
Yet again, read the fine print before applying that figure to your phone:
- New code is not total code: Pichai's 75% metric measures newly committed code across Google's vast engineering footprint—spanning Search, Cloud, Workspace, infrastructure, and AI tooling—not the cumulative percentage of Android's existing AOSP codebase.
- Tooling proves availability, not volume: For Android specifically, the clearest primary evidence is developer tooling. Google's official IDE for platform engineers, Android Studio for Platform (ASfP), ships with a built-in AI agent capable of planning multi-step edits, triggering Soong target builds, and running platform tests via
atest, using either built-in Gemini models or custom Bring Your Own Model (BYOM) API keys. Having an agentic wrench in the toolbox proves platform engineers can use AI on AOSP; it does not tell us what fraction of Android 16 or 17 was written with it. - Android's kernel is related to—but distinct from—upstream Linux: Android devices run kernels derived from upstream Linux Long Term Supported (LTS) releases, packaged by Google into Android Common Kernels (ACKs). From Android kernel 5.10 onward, those ACKs ship as Generic Kernel Image (GKI) kernels that separate generic core kernel code from hardware-specific vendor modules across a defined Kernel Module Interface (KMI). Because ACKs add Android-specific patches not merged upstream—and OEMs layer device drivers on top—you cannot simply take Linux kernel AI statistics and assume Android's downstream trees match them one-for-one.
Linux: The Only Open Ledger—And Why Its Tagging Rule Collapsed
If Microsoft and Google keep their internal metrics behind corporate curtains, the Linux kernel is where anyone with git and a terminal can inspect the receipts. Because kernel development happens in public mailing lists and repositories, the community spent much of 2026 trying to track AI's footprint directly in commit logs.
Under Linux's coding-assistants.rst documentation—originally drafted for the 7.0 cycle—contributors using LLMs were asked to append an Assisted-by: trailer to commit messages. Crucially, the rules explicitly barred AI agents from adding Signed-off-by: lines: only a human being can legally certify the Developer Certificate of Origin (DCO), verify GPL-2.0-only licensing compliance, and assume personal responsibility for the patch.
According to tracking cited by MakeUseOf and LWN.net, disclosed Assisted-by commits climbed rapidly across consecutive cycles:
- Linux 7.0: 31 tagged commits.
- Linux 7.1: 299 tagged commits, or roughly 2% of changes—with LWN.net editor Jonathan Corbet noting that actual LLM usage was clearly higher because many developers skipped the tag.
- Linux 7.2: 706 tagged commits during the merge window (about 5%), rising to more than 1,200 tagged commits by 7.2-rc4 according to LWN.net.
- Linux 7.3: Kernel maintainer Sasha Levin later noted on the Linux Kernel Mailing List (LKML) that roughly 10% of the 18,533 non-merge commits through 7.3-rc7 carried the
Assisted-bytag, while real-world adoption was far more widespread.
Even Linus Torvalds' AI Patch Needed Human Saving
Nothing illustrates both the promise and the peril of AI-assisted systems programming better than Linus Torvalds' own experiment. In October 2026, Torvalds posted an experimental 10-patch series (rcu-free-v3) optimizing Linux's page-cache read path, developed with help from Anthropic's Claude Code—which generated implementation code and tests while Torvalds ran performance benchmarks. On a 64-thread AMD Threadripper test setup, synthetic read throughput reportedly jumped 23x.
Impressive benchmarks, however, do not prove concurrency safety. During adversarial peer review before any merge occurred, Meta engineer Kiryl Shutsemau identified a subtle race condition in filemap_read_rcu_batch() where a combination of folio replacement and file-size (i_size) extension could expose never-written data. Alongside architectural debate from Matthew Wilcox and David Hildenbrand over a proposed PG_rcu_free flag, Torvalds handed further development of the series over to Shutsemau.
Does that prove AI writes uniquely bad kernel code? Not at all—veteran human engineers write nasty race conditions every week. What it proves is that synthetic benchmarks and AI-generated unit tests routinely miss rare concurrent state transitions. In OS kernels, speed without invariant verification is just a faster way to corrupt state.
Why Linux Dropped the Assisted-by Mandate in October 2026
If you try running git log --grep="Assisted-by" on a fresh Linux kernel checkout today, keep an important policy shift in mind: the tag is no longer a reliable forward-looking meter.
On October 8, 2026, at the Linux Maintainers Summit in Prague, maintainers reached consensus to deprecate the Assisted-by requirement, and Sasha Levin submitted the patch stripping the requirement from kernel documentation and checkpatch.pl the next day. Why abandon transparency? Because partial compliance broke the signal: its absence proved nothing when contributors omitted it (accidentally or deliberately), and its presence offered little nuance when developers used AI tools routinely.
When some developers pushed back on LKML asking for stricter AI disclosure rules, Torvalds replied in classic blunt fashion—suggesting objectors stop using compilers and write patches in raw assembler without a text editor. His underlying point was serious: the kernel cares whether a human contributor understands and stands behind every line they submit, regardless of which tools helped draft it. Maintainers still encourage contributors to explain how tricky patches were built and tested in patch cover letters, but the era of counting Assisted-by tags as a clean census is effectively over.
What This Changes for Windows Admins, Developers, and Security Teams
So if AI is neither secretly rewriting Windows from scratch nor neatly countable in Linux commits, why should everyday IT pros care? Because AI has already broken the equilibrium between how fast bugs are found and how fast humans can fix and deploy them.
1. Massive Patch Tuesdays and the "VulnOps" Reality on Windows
In September 2026, Microsoft delivered its largest Patch Tuesday on record, publishing fixes for 974 vulnerabilities across Windows and Microsoft products—dwarfing July's previous peak of 622 CVEs, according to SANS NewsBites. That massive release included two actively exploited zero-day privilege-escalation flaws (CVE-2026-81963 in the Windows Update Stack and CVE-2026-85880 in Windows ALPC) added to CISA's Known Exploited Vulnerabilities catalog, plus 20 flaws Zero Day Initiative's Dustin Childs assessed as potentially wormable.
It would be irresponsible to claim AI-written Windows code caused those 974 vulnerabilities—Microsoft does not break down root causes by authoring tool. What is undeniable is that automated vulnerability discovery and larger security batches are turning monthly patching into a high-stakes systems engineering problem. As SANS editors observed—pointing to real-world operational hiccups like authentication failures reported after update KB5124008—IT teams cannot treat Patch Tuesday as a casual monthly spreadsheet anymore.
2. Linux's CVE Spike Measures Discovery, Not Decay
A parallel surge is playing out in Linux. Ahead of Kernel Recipes 2026, stable kernel maintainer Greg Kroah-Hartman shared data showing CVEs fixed per kernel release climbing from roughly 500 across Linux 6.9 through 6.19, to over 1,000 starting with 7.0, past 1,500 in 7.2, and trending toward 2,000 for Linux 7.3.
Read carelessly, that curve looks like Linux is falling apart. Kroah-Hartman explicitly clarified that the chart tracks CVEs fixed, not new bugs introduced—meaning AI-assisted static analysis and LLM bug hunters are combing through Linux's roughly 40-million-line codebase and surfacing decades-old flaws, often in obscure or obsolete drivers (ironically, the 5.15 LTS kernel remains the release credited with introducing the most CVEs). In fact, the flood of automated bug reports has spurred maintainers to finally delete dead weight, including obsolete networking drivers and the legacy ISDN subsystem.
3. Human Review Bandwidth Is the New Chokepoint
Here is the bottleneck hitting every OS vendor and open-source project simultaneously: generating a plausible patch or a vulnerability report takes an LLM seconds; proving it is safe takes a senior engineer hours.
- Swamped security inboxes: In May 2026 (around Linux 7.1-rc4), Torvalds warned that the kernel's private security list had become "almost entirely unmanageable," as multiple researchers running the same AI tools filed duplicate reports—jumping from 2–3 reports per week two years prior to 5–10 per day, per stable maintainer Willy Tarreau. Linux responded by updating its security guidelines to route AI-found bugs through public maintainer triage with verified reproducers.
- Frozen feature development: During the Linux 7.2 merge window, the KVM/arm64 pull request shipped with zero new features—purely bug fixes—because maintainers noted it had become "too hard to review new stuff when so many AI-fuelled fixes hit the list". Similarly, in the 7.3 cycle, networking maintainer Jakub Kicinski estimated that a third to half of 648
net-nextpatches were AI-driven low-priority churn, leaving maintainers "completely overwhelmed".
Practical Playbook: Adapting to the AI-Accelerated OS Era
Whether you manage a fleet of Windows 11 endpoints, maintain Linux servers, or ship C++, Rust, or platform code yourself, the operational rules have shifted:
- For Windows & Enterprise IT Admins (Move to Staged "VulnOps"):
- Prioritize CISA KEV and actively exploited flaws (like ALPC or Update Stack privilege escalations) ahead of raw CVE counts, especially when Patch Tuesday approaches four digits.
- Enforce ringed deployments (canary -> pilot -> broad production) with automated health checks and tested rollback plans so regressions like post-patch authentication failures don't take down production rings.
- Maintain an accurate software and driver inventory across Windows, WSL/Linux VMs, and edge appliances—Linux's CVE spike largely hits legacy drivers you may be able to disable or decommission.
- For Developers & Engineering Leads (Treat AI Output as Untrusted Proposals):
- Require named human ownership on every pull request; never let generated test suites or synthetic speedups substitute for concurrency and edge-case review.
- Pair every AI-assisted systems change with explicit invariants and reproducer steps so reviewers spend their scarce bandwidth verifying safety rather than reverse-engineering what an agent meant to do.
Ignore the breathless headlines claiming AI writes X percent of Windows or Android. The metric that actually keeps systems online in 2026 and beyond is simpler: how many qualified humans still have the time—and the authority—to verify the code before it ships.
References
- Windows, Android, and now Linux are all being written partly by AI MakeUseOf · 2026-12-01T16:45:18+00:00
- Microsoft CEO says up to 30% of the company's code was written by AI | TechCrunch techcrunch.com
- Android Studio for Platform | Android Developers developer.android.com