Linux Development Using AI

Image

The Linux kernel project has introduced new rules on Linux Development Using AI, marking a significant moment for the global open source community. After months of debate, Linus Torvalds and senior maintainers have agreed on an approach that allows AI assisted code while reinforcing developer responsibility.

The decision reflects growing use of artificial intelligence in software development and the need to manage its risks.

AI Allowed with Clear Conditions

Under the new policy, developers are permitted to use AI tools such as GitHub Copilot as part of their workflow. However, transparency is required. Contributions must disclose AI involvement using a new Assisted by tag.

Importantly, only human developers can use the Signed off by tag, which is tied to the Developer Certificate of Origin. This means AI tools cannot certify code submissions.

Responsibility for any bugs, security issues or legal concerns remains entirely with the human contributor.

A Pragmatic Rather Than Restrictive Approach

Torvalds has framed AI as a tool rather than a replacement for developers. He has also dismissed attempts to ban AI generated code as unrealistic, arguing that enforcement would be difficult and ineffective.

Instead, the Linux project is focusing on accountability. The emphasis is on whether code is correct and properly reviewed, rather than how it was produced.

This differs from some other projects, including distributions such as Gentoo and NetBSD, which have taken a stricter stance by restricting or rejecting AI generated contributions due to legal concerns.

Legal and Licensing Concerns Remain

A key issue in the debate has been the Developer Certificate of Origin, which requires contributors to confirm they have the right to submit code.

Because AI models are trained on large datasets that may include licensed material, there is ongoing uncertainty about whether AI assisted code could unintentionally breach licences such as the GNU General Public License.

The Linux policy does not resolve these legal questions but makes it clear that contributors are responsible for ensuring compliance.

Concerns Over Code Quality

Maintainers across the open source ecosystem have also raised concerns about the quality of AI generated code. Some projects have reported being overwhelmed by large or low quality submissions, sometimes referred to as AI slop.

There have also been cases where AI generated contributions were submitted without disclosure, leading to community backlash. In some instances, code that appeared functional introduced performance or reliability issues.

These incidents have highlighted the importance of proper review and transparency.

Transparency and Accountability at the Core

The Linux kernel policy aims to address these concerns by requiring clear disclosure and reinforcing human oversight.

Developers are expected to review and understand any code they submit, regardless of whether AI tools were involved. The Assisted by tag is intended to improve traceability rather than restrict usage.

The policy also maintains existing requirements around licensing and contribution standards.

What This Means for Developers

The move is likely to influence Linux Development Using AI across the wider industry. As one of the most influential open source projects, the Linux kernel often shapes broader development practices.

Developers can expect increasing expectations around transparency and accountability when using AI tools. At the same time, the policy signals that AI assistance is acceptable when used responsibly.

A Measured Step Forward

The Linux decision reflects a measured response to a complex issue. Rather than banning AI, the project has chosen to regulate its use through disclosure and accountability.

As AI continues to play a larger role in software development, similar approaches may emerge elsewhere. For now, the message from Linux is clear.

AI can assist with development, but responsibility remains with the developer.