# Linux Kernel Publishes Official Policy on AI-Generated Code

> The world's most important open-source project now has official rules for AI-written code contributions.

- Org: Linux Kernel Project
- Date: 2026-04-11
- Category: ecosystem
- Source: https://github.com/torvalds/linux/blob/master/Documentation/process/coding-assistants.rst
- Canonical page: https://ai-tldr.dev/releases/linux-ai-code-policy/

## In short

The Linux kernel now officially permits AI-assisted code with a new 'Assisted-by' tag format. AI tools cannot add Signed-off-by tags; humans must review, certify, and take full responsibility.

## What it is

A new document merged into the Linux kernel's documentation tree (coding-assistants.rst) establishes formal guidelines for using AI coding tools in kernel development. After months of community debate, the maintainers settled on a pragmatic middle ground: AI tools are welcome, but with strict accountability rules.

## How it works

The policy introduces an 'Assisted-by' tag format (Assisted-by: AGENT_NAME:MODEL_VERSION [TOOLS]) that must accompany any AI-assisted patch. AI agents cannot add the legally binding 'Signed-off-by' tag that certifies the Developer Certificate of Origin. The human submitter must understand every line, defend design choices during review, and ensure GPL-2.0-only compatibility.

## Why it matters

The Linux kernel is the foundation of Android, most cloud servers, and the majority of the world's infrastructure. Its stance on AI code sets a precedent that other major open-source projects will follow. The 'yes to Copilot, no to slop' framing gives the broader open-source community a template for handling AI contributions.

## Who it's for

Kernel contributors, open-source maintainers, and anyone building AI-code-review policies.

## Links

- [Policy Document](https://github.com/torvalds/linux/blob/master/Documentation/process/coding-assistants.rst)
- [Coverage (Tom's Hardware)](https://www.tomshardware.com/software/linux/linux-lays-down-the-law-on-ai-generated-code-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)
