Is Linus Torvalds Actually Using AI to Write Code in 2026?

An analysis of his commit history, PR descriptions, and co-author tags February 22, 2026


Background

In late 2025, Linus Torvalds described himself as “fairly positive” about AI-assisted coding but wasn’t using it personally. By January 2026, that changed — he revealed that portions of a new hobby project were written with Google Antigravity, an AI-powered IDE (Google’s fork of Windsurf, itself a fork of VS Code). This report examines the actual commit data across his repositories to quantify how much of his recent code involves AI assistance.

Repositories Analyzed

Two repositories were examined:

  • torvalds/AudioNoise — A GPL 2.0 hobby project for random digital audio effects, started January 2026. ~34 commits as of late January.
  • torvalds/linux — The Linux kernel. Torvalds’ commits here are predominantly merge commits pulling in subsystem maintainer work, plus occasional direct patches.

AudioNoise: Commit-Level Findings

Of the ~34 commits in the AudioNoise repository, 3 explicitly credit AI assistance. All three modify only one file: visualize.py, the Python-based audio sample visualizer.

Commit 1 — January 15, 2026

FieldValue
Hash745e79b0ef279d98ae8f2ef450bf7d7b9abb13f4
Title“Update visualize.py: use raw int32 data, just scale the Y axis”
AI creditBody states: “This was a mix of Google Antigravity and me”
TrailerSigned-off-by: Linus Torvalds only — no Co-authored-by

Commit 2 — January 17, 2026

FieldValue
Hash1d00ac1a92caf4d134bfe7aa0e6559747877e351
Title“Refactor visualize.py to use native sample units and improve slider”
AI creditBody states: “This was more antigravity with hand-holding and some manual edits”
Changes+219 / -74 lines — the largest AI-assisted commit
TrailerSigned-off-by: Linus Torvalds only — no Co-authored-by

Commit 3 — January 17, 2026

FieldValue
Hashed2e0c158af2f9fa572e667378e89cecb2fb9561
Title“Optimize visualize.py for large datasets”
AI creditBody states: “Speed up plotting (courtesy of antigravity)”
Changes+60 / -12 lines
TrailerSigned-off-by: Linus Torvalds only — no Co-authored-by

AudioNoise Commits With No AI Credit (~31 commits)

The remaining commits are all C code written by Torvalds (and a few community contributors like Philippe Strauss). These cover audio effects (phaser, flanger, distortion, noise gate, tube model, growling bass), DSP math utilities, build system changes, and tests. None mention AI tools in any form.

AudioNoise Pull Requests

The repo has 16 open and 26 closed PRs, all from community contributors. None from Torvalds himself, and none reference AI co-authoring in their titles or descriptions.

README Disclosure

The AudioNoise README explicitly states that “the python visualizer tool has been basically written by vibe-coding” using Google Antigravity. Torvalds describes his rationale as deciding to “cut out the middle man” after finding that traditional copy-paste programming was inefficient for Python, a language he’s less fluent in.

Linux Kernel: Commit-Level Findings

Torvalds’ recent kernel commits (through February 2026) contain zero AI references. His activity falls into two categories:

  • Merge commits — The vast majority. These pull in work from subsystem maintainers (networking, filesystems, drivers, etc.) and carry standard Signed-off-by and Tested-by trailers only.
  • Direct patches — Occasional small fixes and refactoring (e.g., alloc_obj work). All human-authored, no AI tool mentions.

No commits use Co-developed-by tags referencing any AI tool, despite the kernel community having a formal proposal (v3, November 2025) to introduce such tags for AI-assisted patches.

How Torvalds Credits AI

Notably, Torvalds does not use the formal Git trailer conventions (Co-authored-by, Co-developed-by) that many developers and the kernel community have been discussing. Instead, he credits AI informally in the commit message body with phrases like:

  • “courtesy of antigravity”
  • “a mix of Google Antigravity and me”
  • “antigravity with hand-holding and some manual edits”

This is consistent with his approach to the AudioNoise project as a casual hobby — not production code subject to rigorous contribution tracking.

Summary Statistics

MetricAudioNoiseLinux Kernel
Total recent commits by Torvalds~32Hundreds (mostly merges)
Commits crediting AI3 (9%)0 (0%)
Files touched by AI-assisted code1 (visualize.py)0
Language of AI-assisted codePythonN/A
Formal Co-authored-by tags for AI00
AI tool usedGoogle AntigravityN/A

Conclusion

Linus Torvalds is transparent about his AI usage — when he uses it, he says so in the commit message. But the scope is narrow: 3 out of ~32 commits on a single hobby project, limited to one Python file he openly says he’s not fluent in. His Linux kernel work, which is where his primary impact lies, shows no AI involvement whatsoever. He has not adopted formal co-author conventions for AI, opting instead for plain-language acknowledgment in commit bodies.


Sources

Leave a Reply

Your email address will not be published. Required fields are marked *