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
First poster: KnowledgeIsPower
Switching the Linux graphics stack from GLX to EGL. Hi there! This is a guest post from Robert Mader, who contributed enormous improveme...
New
First poster: bot
Linux Man Pages – Dash Dash. Dash Dash sets the linux documentation in a beautiful collection of typefaces to make the technical content...
New
First poster: bot
Symbiote gives remote access to any account. Normal methods don’t detect it.
New
First poster: bot
RISC-V Linux on ESP32. I’ve been playing with the idea of running linux on ESP32 since the first days I’ve met its more robust module, t...
New
First poster: bot
[CVE-2022-34918] A crack in the Linux firewall. RandoriSec Offensive Security
New
New
First poster: bot
Easily Migrate from Linux to FreeBSD - Klara Inc… If you are already experienced with Linux, FreeBSD should feel very familiar. The oper...
New
New
CommunityNews
I bought a MacBook Air M2. As of writing, it’s very affordable with the 16 GB RAM, 256 GB SSD, 13.6" model available for $750. As of wr...
New

Other popular topics Top

PragmaticBookshelf
Write Elixir tests that you can be proud of. Dive into Elixir’s test philosophy and gain mastery over the terminology and concepts that u...
New
ohm
Which, if any, games do you play? On what platform? I just bought (and completed) Minecraft Dungeons for my Nintendo Switch. Other than ...
New
PragmaticBookshelf
From finance to artificial intelligence, genetic algorithms are a powerful tool with a wide array of applications. But you don't need an ...
New
AstonJ
I’ve been hearing quite a lot of comments relating to the sound of a keyboard, with one of the most desirable of these called ‘thock’, he...
New
AstonJ
We’ve talked about his book briefly here but it is quickly becoming obsolete - so he’s decided to create a series of 7 podcasts, the firs...
New
AstonJ
Was just curious to see if any were around, found this one: I got 51/100: Not sure if it was meant to buy I am sure at times the b...
New
New
AstonJ
This is a very quick guide, you just need to: Download LM Studio: https://lmstudio.ai/ Click on search Type DeepSeek, then select the o...
New
PragmaticBookshelf
Fight complexity and reclaim the original spirit of agility by learning to simplify how you develop software. The result: a more humane a...
New
Fl4m3Ph03n1x
Background Lately I am in a quest to find a good quality TTS ai generation tool to run locally in order to create audio for some videos I...
New