Skip to content

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

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

Activity

  1. dmitrivMS commented on May 3, 2026

    @dmitrivMS
    Collaborator

    I like this.

  2. jmjoy commented on May 4, 2026

    @jmjoy

    This is the right thing to do.

  3. mapau commented on May 4, 2026

    @mapau

    That's the way to do it.

  4. vs-code-engineering commented on May 5, 2026

    @vs-code-engineering
    Contributor

    This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  5. tats-u commented on May 6, 2026

    @tats-u
    Contributor

    Why is this just being treated as a candidatel?

  6. vs-code-engineering commented on May 6, 2026

    @vs-code-engineering
    Contributor

    🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

    Happy Coding!

  7. hastinbe commented on May 6, 2026

    @hastinbe

    Oh, 'Assisted-by' now? Groundbreaking. It’s still useless. If we're going down this road, should I also credit a Google Search? My electricity provider? My ergonomic chair? My morning coffee? Using a tool doesn't require a declaration. Stop the nonsense.

    Assisted-by: Caffeine (Dark Roast)
    Assisted-by: 1.21 Gigawatts (Local Utility Grid)
    Assisted-by: My Dog (Emotional Support/Code Review)
    Assisted-by: My ISP (99.9% Uptime)
    Assisted-by: Stack Overflow (2014 Thread)
    Assisted-by: Oxygen (Breathing)
    Assisted-by: Pure Spite

    Dumb.

  8. Dabsunter commented on May 13, 2026

    @Dabsunter

    Beau Hastings (@hastinbe) Nobody is forcing you to do anything...
    There's a new use-case: people want to keep records of AI tools usage in commits, they start misusing Co-authored-by: and Signed-off-by:, then in response a dedicated Assisted-by: is suggested. That's it 🤣

    Just like the two others, it's purely optional and declarative.

  9. hastinbe commented on May 15, 2026

    @hastinbe

    @hastinbe Nobody is forcing you to do anything... There's a new use-case: people want to keep records of AI tools usage in commits, they start misusing Co-authored-by: and Signed-off-by:, then in response a dedicated Assisted-by: is suggested. That's it 🤣

    Just like the two others, it's purely optional and declarative.

    The 'it's just optional' argument falls apart when you look at the origins of this mess. This wasn't a grassroots movement by developers; here it started with a Microsoft PM silently enabling Co-authored-by by default.

    Then you have the guy who proposed Assisted-by, a Linux stable co-maintainer who only found transparency after he got caught submitting vibe-coded patches to the kernel without anyone knowing and they freaked out. He sold a solution so he could keep doing it, because he knows everyone is doing it anyway. And it satisfied the OGs because with the tag they know to give extra scrutiny. Except, with usage growing among everyone else, it too will become meaningless.

    A year or two from now, these tags will be the equivalent of 'Sent from my iPhone' -- a noisy, automated footer that everyone ignores

  10. 0zitro commented on May 21, 2026

    @0zitro

    Beau Hastings (@hastinbe)
    Precisely, all of this is just glorified freenot as in freedom this time intrusive advertisement.
    The Co-authored-by is intended to give credit to another human with whom one had produced the commit in question.

    I am not in favour of the Assisted-by either. Do I need to attribute GCC / Rustc? If you try to argue about source-code changes: Do I need to attribute macro authors? My professors? My parents? Oh, right; I need to attribute the IDE, something like: Developed-in: VSCodium, or what?

    This is borderline stupid. Not to mention the malicious clearly self-promotional aspect of it.

  11. jmjoy commented on May 22, 2026

    @jmjoy

    For reviewers, they don’t care what editor or IDE you used to write the code — they care who produced it.
    Originally, the author field in a git commit served exactly that purpose. But in the AI era, for code entirely generated by AI, the author should arguably be the large AI model rather than a real person. This, however, creates a legal problem: AI cannot replace a human as a legal entity. Imagine someone setting the author to an AI model and then dismissively saying, “This code was written by AI — I take no responsibility.” That’s why a compromise like “Assisted-by” has emerged, where the author remains the person responsible for the AI-generated code.

  12. vidbina commented on Jun 12, 2026

    @vidbina

    Nato Boram (@NatoBoram) Assisted-by assumes a human-primary workflow: a developer was "assisted" by AI. In agentic loops where an machine autonomously picks up a ticket, writes the code, and files a PR, the human only enters at review. The agent is the primary author; the human is a supervisor/reviewer. Does Assisted-by still fit here, or does the convention need a different tag for agent-primary authorship? How would you expect a commit to be annotated in this scenario?

    jmjoy (@jmjoy) is there a convention emerging about assigning a responsible human when a machine picked up a task, executed it and delivered it for review? Would this responsible human be the reviewer?

  13. ecki commented on Aug 19, 2026

    @ecki

    I am not in favour of the Assisted-by either. Do I need to attribute GCC / Rust

    Those Are normally in your Build dependencies

    This is borderline stupid. Not to mention the malicious clearly self-promotional aspect of it.

    It’s Not stupid, it’s required by some usecases. I for one Are happy if it records the models correctly and not uses the legales questionable co-autoship term. So I Welcome the changes.

    And in your case you can just turn it off…

  14. mapau commented on Aug 19, 2026

    @mapau

    David Asabina (@vidbina)
    If an agent is the primary author, then that is already reflected by the account that identified the agent.

  15. maxdzin commented on Aug 19, 2026

    @maxdzin

    Folks, solution to this should be simple: to add an option to include a contribution annotation and make it editable.
    Someone wants to keep it off and it should be so by default.
    And the ones who wants to turn it on, should also have a possibility to specify it in certain way, like "Assisted by ...", "Created by ...", etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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