
Linux kernel AI contribution rule: Why Torvalds dropped it
The Linux kernel project has officially removed the requirement for contributors to disclose the use of artificial intelligence in their code submissions. This decision marks a reversal of a policy implemented in January 2026, which mandated an 'Assisted-by' tag for any patch created using advanced coding tools. Linus Torvalds, the lead maintainer of the Linux kernel, defended the removal by stating that the tool used to generate code is less important than the developer's actual understanding of that code. This article examines the history of the disclosure rule, Torvalds' reasoning for its removal, and the broader implications for AI in open-source development.
Why was the Linux kernel AI contribution rule removed?
The Linux kernel project has eliminated the mandatory 'Assisted-by' tag that developers were previously required to use when submitting patches involving AI-generated code. This rule, which was introduced in early 2026, aimed to provide transparency regarding the role of automated tools in the kernel's evolution. According to reports from The Register, the maintainers decided that the requirement no longer provided meaningful value to the development process.
The original intent behind the documentation update in January was to help track how AI might influence the codebase over time. The project guidelines stated that proper attribution would assist in monitoring the evolving role of these technologies. However, the practical application of the rule proved to be ineffective for the core task of maintaining a stable and high-quality kernel. The decision to drop the rule suggests a shift toward focusing on the end product—the code itself—rather than the methodology used to produce it.
What is Linus Torvalds' stance on AI in coding?
Linus Torvalds has expressed strong opposition to the idea that using AI tools should be a disqualifying factor or a mandatory point of disclosure. In a communication to the kernel mailing list, Torvalds criticized the concept of restricting or labeling AI usage as 'idiotic.' His primary argument is centered on developer competence rather than the specific tools employed during the writing process.
For Torvalds, the quality of a contribution is judged by whether the developer understands the logic and implications of the code they submit. He emphasized that a developer's responsibility is to ensure they are not simply 'barfing out' code, but rather submitting work they fully comprehend. Whether a piece of code is written manually or assisted by an algorithm, the burden of proof regarding its correctness and efficiency remains entirely with the human contributor.
The distinction between tool usage and competence
Torvalds distinguishes between the 'good code' that a developer understands deeply and the 'bad code' that might be generated without sufficient oversight. He argues that an 'Assisted-by' tag does not actually help maintainers differentiate between these two categories. A developer using AI to write high-quality, well-vetted code is just as valuable as a developer writing it by hand, whereas a developer using AI to bypass understanding produces 'slop' regardless of the tag.
How does Torvalds compare AI to traditional programming tools?
To illustrate the perceived absurdity of banning or strictly regulating AI, Torvalds drew a parallel between AI and fundamental computing tools like compilers and assembly language. He suggested that requiring developers to prove they didn't use AI is as nonsensical as demanding they avoid compilers to prove their competence.
Torvalds posited that if the kernel project were to enforce such rules, they might theoretically demand that all contributions be written in assembly to ensure the developer understands the machine's operations. He labeled such hypothetical restrictions as 'utterly stupid,' arguing that professional software development relies on a hierarchy of tools to manage complexity. By this logic, AI is viewed as just another layer in the modern development stack, provided the human at the helm remains in control of the output.
What are the challenges of AI in the Linux ecosystem?
While Torvalds remains pragmatically positive about the potential of AI, he has not ignored the negative side effects currently affecting the Linux kernel community. One of the most significant issues mentioned is the increase in 'slop reports' that the kernel team must now process. This refers to low-quality, unvetted code submissions that appear to have been generated by AI without proper human review.
The influx of these submissions places an additional administrative and technical burden on maintainers. While the removal of the disclosure rule simplifies the submission process, it does not solve the underlying problem of maintaining code quality in an era where generating syntax is trivial. The tension remains between the efficiency offered by AI and the necessity of rigorous, human-led verification to prevent the degradation of the kernel's integrity.
FAQ: Linux kernel AI disclosure
Why was the 'Assisted-by' tag removed?
The tag was removed because it was determined that it did not provide useful information to maintainers. Linus Torvalds argued that knowing a tool was used does not help distinguish between high-quality code and poor-quality 'slop,' as the responsibility for code correctness lies solely with the developer.
Does this mean AI is now encouraged in the Linux kernel?
It does not mean AI is explicitly encouraged, but rather that its use is no longer a matter of mandatory disclosure. The project's focus remains on the quality and understanding of the submitted code, regardless of whether AI tools were utilized during the creation process.
What is Linus Torvalds' main concern regarding AI?
Torvalds' primary concern is not the use of the tools themselves, but the potential for developers to submit code they do not fully understand. He wants to ensure that contributors remain competent and take full responsibility for the logic within their patches.
What is 'slop' in the context of kernel development?
In this context, 'slop' refers to low-quality, unvetted code submissions that appear to be the result of uncritical AI generation. These submissions increase the workload for maintainers who must sift through automated outputs to find legitimate, functional improvements.
Is there a ban on AI in the Linux kernel?
No, there is no ban on AI usage. Torvalds has explicitly stated that banning such technology would be 'utterly stupid,' comparing it to banning compilers. The focus is on the developer's ability to explain and verify their work.
Key takeaways
- The Linux kernel project has officially removed the mandatory 'Assisted-by' tag for AI-assisted code.
- Linus Torvalds argues that tool usage is secondary to a developer's actual understanding of the code.
- The decision aims to prevent 'stupid rules' that do not assist maintainers in evaluating code quality.
- Maintainers continue to struggle with an increase in low-quality 'slop' submissions from AI.
The future of AI in open-source development
The reversal of the AI disclosure rule highlights the ongoing struggle within the open-source community to integrate artificial intelligence. While the Linux kernel project has opted for a pragmatic approach that prioritizes developer accountability over procedural labeling, the challenges of maintaining code integrity remain. As AI tools become more sophisticated, the distinction between human-led and machine-assisted development will likely continue to blur, forcing the industry to refine its definitions of competence and authorship.