Linux kernel adopts guidelines for AI-assisted code

The Linux kernel project has officially documented its policy on AI-assisted code contributions with the release of Linux 7.0. The guidelines require human accountability, disclosure of AI tool use, and a new 'Assisted-by' tag for patches involving AI. Sasha Levin formalized the consensus reached at the 2025 Maintainers Summit.

At the 2025 Maintainers Summit, Sasha Levin advocated for clear rules on AI tools in kernel development. The resulting policy emphasizes that human reviewers must take full responsibility for any AI-generated code, ensuring compliance with the GPL-2.0-only license. Purely machine-generated submissions are not accepted, and AI agents cannot sign off on patches using Signed-off-by tags, as the Developer Certificate of Origin demands human accountability for every contribution. Levin committed to documenting these principles without enforcement, and the new 'AI Coding Assistants' guidelines now appear in the kernel's process documentation alongside other contribution rules. This policy builds on earlier discussions, where Linus Torvalds questioned the need for a dedicated tag, suggesting changelogs suffice. However, the community opted for the 'Assisted-by' tag, formatted as 'Assisted-by: AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2]'. An example given is 'Assisted-by: Claude:claude-3-opus coccinelle sparse' for patches using multiple tools. Greg Kroah-Hartman, the stable kernel maintainer, has already applied this approach in his 'clanker' branch. He used AI-assisted fuzzing on ksmbd and SMB code, identified issues, and submitted fixes with instructions for reviewers to verify independently. In comparison, Gentoo banned AI-generated contributions in 2024 over copyright, quality, and ethical issues, while NetBSD labels LLM code as 'tainted' requiring core developer approval. Linux maintains a more permissive stance, relying on humans to validate AI output.

Relaterte artikler

Tech leaders announcing Linux Foundation's AI-powered cybersecurity initiative for open source software with major partners.
Bilde generert av AI

Linux Foundation announces AI security initiative with tech partners

Rapportert av AI Bilde generert av AI

The Linux Foundation has launched a new initiative using Anthropic's Claude Mythos preview for defensive cybersecurity in open source software. Partners include AWS, Apple, Broadcom, Cisco, CrowdStrike, Google, JPMorgan, Microsoft, NVIDIA, and Palo Alto Networks. The effort aims to secure critical software amid the rise of AI for open source maintainers.

Greg Kroah-Hartman, maintainer of the Linux kernel, stated that AI-driven code review tools have become genuinely useful. He told The Register that the technology reached an inflection point about a month ago, leading to actionable bug reports.

Rapportert av AI

The open-source project LLVM has introduced a new policy allowing AI-generated code in contributions, provided humans review and understand the submissions. This 'human in the loop' approach ensures accountability while addressing community concerns about transparency. The policy, developed with input from contributors, balances innovation with reliability in software development.

The Linux kernel project has implemented a new protocol to ensure its survival if creator Linus Torvalds becomes unavailable. Titled the Linux Project Continuity Document, the plan outlines an emergency governance process activated in catastrophic scenarios. This measure addresses long-standing concerns about the project's reliance on a single key figure.

Rapportert av AI

An AMD vice president has utilized AI to develop a Radeon Linux userland driver written in Python. A senior AI engineer involved in the project stated that he did not open a code editor once during the process. The tool used was Claude Code, which built a Radeon compute driver.

The upcoming Linux kernel version 7.1 will introduce restrictions on Intel Neural Processing Units (NPUs) to avoid exhaustion by individual programs. This change aims to manage resource usage more effectively. The update is reported by Phoronix, a site focused on Linux hardware and performance.

Rapportert av AI

The Linux kernel community has endorsed a contingency plan to manage leadership transitions. This strategy aims to maintain stability in the event that founder Linus Torvalds steps down from his role.

 

 

 

Dette nettstedet bruker informasjonskapsler

Vi bruker informasjonskapsler for analyse for å forbedre nettstedet vårt. Les vår personvernerklæring for mer informasjon.
Avvis