The Linux Kernel Organization now lets developers submit AI-generated code, as long as it complies with the guidelines, licensing, and attribution requirements
XDA DevelopersSimon Batt
Context & Ripple Effects
The policy follows a broader open-source AI push that included the Linux Foundation's open, multi-provider enterprise-AI platform and freely available code-generation models such as StarCoder2. It makes the kernel project a consequential test case for bringing those tools into a high-governance software workflow.
It also arrives as the Linux Foundation has sought funding to help maintainers manage AI-generated security findings, signaling that AI's value to maintainers is paired with new review and triage costs.
First-order effects
Kernel contributors may use AI-generated code in submissions, but remain responsible for satisfying project rules on licensing and attribution.
Maintainers can assess such patches within an explicit policy framework rather than treating AI use itself as disqualifying.
Second-order effects
Contributor tools and employer workflows will need to preserve provenance, licensing, and attribution information well enough for kernel submission and review.
If other foundational open-source projects adopt comparable rules, AI-assisted development is likely to be governed through auditable submission practices rather than blanket bans or unrestricted acceptance.
The limiting factor may shift from access to code-generation models to projects' ability to verify provenance and absorb higher-volume contributions and reports.
The trend: AI-assisted software development is moving from experimental tool use toward operational governance centered on provenance, accountability, and maintainer capacity.
Linux's clear attribution guidelines make it easy to monitor the situation on ai adoption in kernel development. Looks like Claude is currently in second to a custom implementation by GKH. [image]
@antirez it's the accountability requirement doing the heavy lifting. most AI policies get stuck on whether to allow the tool at all. the kernel folks just said understand every line you submit and be ready to maintain it
The Linux kernel AI guidelines are the first sane that I read. It is not a coincidence. Where high level work is done, high level work is pretended, regardless of the tools. https://github.com/...
@antirez CMake has a simpler, more concise guideline around AI use. Basically it boils down to “AI tools are welcome, but you're still responsible for every submission as though you wrote it all yourself”. https://gitlab.kitware.com/...
AI assistance when contributing to the Linux kernel https://github.com/... Look like Linux foundation and big tech members like Microsoft, Google and others who are behind the Linux foundation drafted it. Basically it says that you can use AI/LLM, but you take full responsibili…
Linux lays down the law on AI-generated code, says yes to Copilot, no to AI slop, and humans take the fall for mistakes — after months of fierce debate, Torvalds and maintainers come to an agreement
Linux lays down the law on AI-generated code, says yes to Copilot, no to AI slop, and humans take the fall for mistakes — after months of fierce debate, Torvalds and maintainers come to an agreement