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.

관련 기사

Tech leaders announcing Linux Foundation's AI-powered cybersecurity initiative for open source software with major partners.
AI에 의해 생성된 이미지

Linux Foundation announces AI security initiative with tech partners

AI에 의해 보고됨 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.

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.

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.

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.

 

 

 

이 웹사이트는 쿠키를 사용합니다

사이트를 개선하기 위해 분석을 위한 쿠키를 사용합니다. 자세한 내용은 개인정보 보호 정책을 읽으세요.
거부