Documentation/process/coding-assistants.rst
.. 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:
All contributions must comply with the kernel's licensing requirements:
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:
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 frameworkMODEL_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