CommunityNews

CommunityNews

Guidance for AI tools and developers using AI assistance when contributing to the Linux kernel

.. SPDX-License-Identifier: GPL-2.0

.. _coding_assistants:

AI Coding Assistants
++++++++++++++++++++

This document provides guidance for AI tools and developers using AI
assistance when contributing to the Linux kernel.

AI tools helping with Linux kernel development should follow the standard
kernel development process:

  • Documentation/process/development-process.rst
  • Documentation/process/coding-style.rst
  • Documentation/process/submitting-patches.rst

Licensing and Legal Requirements

All contributions must comply with the kernel’s licensing requirements:

  • All code must be compatible with GPL-2.0-only
  • Use appropriate SPDX license identifiers
  • See Documentation/process/license-rules.rst for details

Signed-off-by and Developer Certificate of Origin

AI agents MUST NOT add Signed-off-by tags. Only humans can legally
certify the Developer Certificate of Origin (DCO). The human submitter
is responsible for:

  • Reviewing all AI-generated code
  • Ensuring compliance with licensing requirements
  • Adding their own Signed-off-by tag to certify the DCO
  • Taking full responsibility for the contribution

Attribution

When AI tools contribute to kernel development, proper attribution
helps track the evolving role of AI in the development process.
Contributions should include an Assisted-by tag in the following format::

Assisted-by: AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2]

Where:

  • AGENT_NAME is the name of the AI tool or framework
  • MODEL_VERSION is the specific model version used
  • [TOOL1] [TOOL2] are optional specialized analysis tools used
    (e.g., coccinelle, sparse, smatch, clang-tidy)

Basic development tools (git, gcc, make, editors) should not be listed.

Example::

Assisted-by: Claude:claude-3-opus coccinelle sparse

Read in full here: linux/Documentation/process/coding-assistants.rst at master · torvalds/linux · GitHub

Where Next?

Popular Linux topics Top

New
New
First poster: bot
GitHub - brainrake/nixos-tutorial: one hour, hands-on. one hour, hands-on. Contribute to brainrake/nixos-tutorial development by creatin...
New
First poster: bot
GitHub - loki-47-6F-64/sunshine: Host for Moonlight Streaming Client. Host for Moonlight Streaming Client. Contribute to loki-47-6F-64/s...
New
First poster: bot
Hard user separation with NixOS. Setup two encrypted partitions with a shared Nix store
New
CommunityNews
The QUIC transport-layer network protocol is not exactly new; it was first covered here in 2013 […]
New
CommunityNews
At Akademy 2025, the KDE Project released an alpha version of KDE Linux, a distribution built b […]
New
CommunityNews
Initial kernel and subsystem support for new Snapdragon 8 Elite Gen 5 posted for review. Learn what’s in the patches and how you can star...
New
CommunityNews
Discover how to bypass the network stack for Host-to-VM communication using Linux Virtual Sockets (AF_VSOCK). This article details how to...
New
CommunityNews
.. SPDX-License-Identifier: GPL-2.0 .. _coding_assistants: AI Coding Assistants ++++++++++++++++++++ This document provides guidance ...
New

Other popular topics Top

PragmaticBookshelf
Stop developing web apps with yesterday’s tools. Today, developers are increasingly adopting Clojure as a web-development platform. See f...
New
PragmaticBookshelf
Brace yourself for a fun challenge: build a photorealistic 3D renderer from scratch! In just a couple of weeks, build a ray tracer that r...
New
Rainer
My first contact with Erlang was about 2 years ago when I used RabbitMQ, which is written in Erlang, for my job. This made me curious and...
New
New
New
AstonJ
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first: asdf plugin-upd...
New
Maartz
Hi folks, I don’t know if I saw this here but, here’s a new programming language, called Roc Reminds me a bit of Elm and thus Haskell. ...
New
AstonJ
If you want a quick and easy way to block any website on your Mac using Little Snitch simply… File > New Rule: And select Deny, O...
New
RobertRichards
Hair Salon Games for Girls Fun Girls Hair Saloon game is mainly developed for kids. This game allows users to select virtual avatars to ...
New
mindriot
Ok, well here are some thoughts and opinions on some of the ergonomic keyboards I have, I guess like mini review of each that I use enoug...
New