Skip to content

Add Assisted-by instead of Co-authored-by for AI agents #313962

@NatoBoram

Description

@NatoBoram

The new Co-authored-by tag added for Copilot conflicts with existing meanings of the tag. Commit authors have certain benefits and responsibilities towards their commits which cannot be enjoyed nor fulfilled by AI agents.

The Linux kernel recently adopted new guidelines for AI-assisted Git commit messages that address those issues: https://github.com/torvalds/linux/blob/master/Documentation/process/coding-assistants.rst#attribution

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

With a wider adoption of those guidelines, platforms can start looking for those tags in commit messages just like Co-authored-by or Signed-off-by are supported and provide additional, dedicated visibility to the usage of AI agents.

Other discussion:

I think agent users would be more inclined to use this emerging standard as it could very well be required in more repos in the near future.

Example with Copilot:

Assisted-by: Copilot:claude-sonnet-4-6

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitygitGIT issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions