Linus Torvalds on AI Code and the Linux Kernel Assisted-by Tag
By Matt Cullerton, founder of Mavric and Apso
In October 2026 Linus Torvalds told a kernel developer that a rule against using AI for some task made as much sense as a rule against compilers or text editors. A TikTok from @ultradotdev presents this as Torvalds taking on "the don't use AI to write code crowd." The email is real and quoted accurately, but Torvalds was answering a narrower proposal about hand-written commit messages, and the kernel had already agreed to drop its AI disclosure tag before he weighed in.
What did Linus Torvalds say about AI?
Torvalds posted to the Linux kernel mailing list on Tuesday, October 13, 2026, under the subject "Re: [PATCH] docs: remove Assisted-by references." The lines shown in the video appear word for word in the archive:
"I don't understand this whole idiotic concept of 'don't use AI for X'"
"Here's a new rule just for you: don't use compilers for any of your kernel submissions"
"Because if you can't show that you really understand what the machine is actually doing by writing your code in assembler, then I don't want to see your code contribution. You clearly aren't competent if you can't write it that way"
"And btw, you had better not use an editor to write that commit message either."
The screenshot in the video cuts the opening of the message, which reads: "No. What you are about is something entirely different. It has nothing to do with 'expectations', and it has everything to do with your hangups." It also leaves out "Do you not see how UTTERLY STUPID those kinds of rules would be?" and the closing sentence, "the people I respect and call intelligent are not the ones that shy away from using new and interesting tools." With the opening restored, the "rule just for you" line is aimed at one person.
The argument is a reductio. If using a tool proves you do not understand your work, then the compiler and the text editor fail the same test. The video's narration states this correctly: "if getting help means you don't understand your code, then lose the compiler and write an assembly." The TikTok's written description gets it backwards, saying Torvalds meant "if you can't have an AI write code then we should all go back to assembly."
Who was Torvalds replying to?
He was replying to Laurent Pinchart, who had proposed a narrower rule: "I'm increasingly thinking that the Mesa policy of requiring commit messages to be manually written (possibly with machine translation) could be applied to the kernel."
Pinchart was not arguing against AI-written code. He took AI productivity as given: "I've heard multiple people saying how using LLMs made them more productive, with an extreme example during the maintainer summit of Linus talking about doing in a couple of months what would have likely taken multiple years." When Kees Cook said such a rule could not be enforced, Pinchart answered: "The SoB line is not enforceable either. Very few of our requirements and assumptions can be enforced. What this is about is setting our expectations, telling what we want and what we don't want."
That is the sentence Torvalds quoted before writing "No." It also explains the editor joke. Pinchart proposed hand-written commit messages, so Torvalds extended the idea to commit messages typed without an editor.
What is the Assisted-by tag, and why was it removed?
The thread was about a patch to delete the kernel's Assisted-by tag, a line contributors were asked to add when AI tools helped produce a patch.
The 2026 Maintainers Summit met in Prague on Thursday, October 8, 2026, with roughly 30 kernel developers, and reached consensus to drop the requirement, according to Jonathan Corbet's LWN report of October 12. Corbet's write-up gives the data. The 7.3 kernel took 18,533 non-merge changesets through -rc7, and 1,884 of them, about 10 percent, carried Assisted-by tags. The summit estimated that "probably 90% of contributors are using LLMs now." With that gap, the tag no longer told maintainers much. Maintainers still wanted to know how a patch was produced and preferred that information in the cover letter.
Sasha Levin posted the removal patch on Friday, October 9. His changelog read: "The Maintainers Summit reached consensus to deprecate the Assisted-by tag. Remove the documentation requiring it." The patch removed sections from Documentation/process/coding-assistants.rst, submitting-patches.rst and its Italian translation, plus the tag handling in scripts/checkpatch.pl, for 1 insertion and 51 deletions.
Did Torvalds start the argument?
No. He joined on October 13, the fifth day of the thread, after roughly thirty messages from other developers, including Levin, Pinchart, Greg Kroah-Hartman, Steven Rostedt and Kees Cook.
Corbet applied the v2 patch on October 14 with the reply "OK, I have applied this, thanks. jon," carrying an Acked-by from Lorenzo Stoakes and Reviewed-by tags from Kees Cook and Greg Kroah-Hartman. Levin then asked for a companion AGENTS.md patch, warning that "without it, we'll get very mixed results with just this change, where agents will pick and choose different policies around Assisted-by: because nothing is pointing them to the actual guidelines we have." The TikTok went up on October 21, seven days after the patch landed, and treats the debate as still open.
What standard does Torvalds set for AI-assisted code?
The video closes on a card quoting Torvalds: "I expect people to understand what they are doing." That matches the archive, where the full sentence reads: "The kind of expectations I have is that people do their best and I expect people to understand what they are doing. But that understanding has very little to do with what tools they use."
Corbet's LWN report records the same view from the summit. Torvalds said "blaming LLMs for the kernel community's problems is wrong, when the problem is LLM users who do not understand how to use them," and preferred to deprioritize low-quality contributions from inexperienced submitters over restricting LLM use.
The video's line "AI is not a compiler. You have to check its work" belongs to the creator. Torvalds used the compiler comparison to treat all tools the same, and his message does not single out AI output for extra checking. Both end at the same standard of understanding the code.
Bottom line
Torvalds's compiler and editor jab is real and accurately quoted. He was answering Laurent Pinchart's proposal to require hand-written commit messages. The kernel had already agreed to drop the Assisted-by tag because only about 10 percent of changesets used it while an estimated 90 percent of contributors used LLMs, and the patch was applied a week before the video.
Sources
- Linus Torvalds, LKML, October 13, 2026 - the full email quoted in the video.
- Laurent Pinchart, LKML, October 13, 2026 - the commit-message proposal Torvalds answered.
- Sasha Levin, original patch, October 9, 2026 - the Assisted-by removal patch.
- Jonathan Corbet, patch applied, October 14, 2026 - confirmation the v2 patch landed.
- Sasha Levin, AGENTS.md follow-up, October 14, 2026 - request for a companion patch.
- Jonathan Corbet, "The 2026 Maintainers Summit," LWN.net - summit decision, changeset figures and Torvalds's comments.
Published October 21, 2026. Based on a TikTok by @ultradotdev. Full video notes (markdown)