Software · Opinion

Closed-source AI shops are bluffing about owning the code their models write

If prompts alone do not make an author, a growing share of closed-source code has no copyright holder behind it. The firms hiding it cannot say which lines they own.

Sundar Pichai told investors in October 2024 that more than 25% of new code at Google was AI-generated. By 2025 he was quoting about 30%. Now put that next to the US Copyright Office’s January 2025 report on copyrightability, which concluded that prompts alone do not give a user enough control to count as authorship. A large and growing slice of the world’s proprietary code sits under “all rights reserved” headers that may describe nothing.

Jakub Jankiewicz argues that all AI-generated code should therefore be open source. I agree with where he ends up and think two of his supports are weak. His monkey selfie citation is Naruto v. Slater (9th Cir., 2018), which decided that animals lack statutory standing under the Copyright Act. It did not establish that non-humans cannot hold copyright, and anyone arguing this in public will be corrected within the hour. The case to cite is Thaler v. Perlmutter, where the D.C. Circuit affirmed in March 2025 that the Copyright Act requires a human author. That one is about machine output directly.

His “license laundering” argument is weaker still. In June 2025 Judge Alsup held in Bartz v. Anthropic that training on lawfully acquired books was “exceedingly transformative” fair use, while ruling separately that pirated library copies were not covered. Judge Chhabria also ruled for Meta in Kadrey, though on a thin record. In Doe v. GitHub, most of the Copilot claims were dismissed, and what remains is on appeal at the Ninth Circuit over whether DMCA section 1202(b) requires identical copies. Nobody has won the argument that a model trained on GPL code emits GPL-tainted code. I would not build on it. I would also stop pretending the Stack Overflow point settles anything: CC BY-SA demands attribution, but the same company sold data to OpenAI in May 2024, so the platform itself treats the content as licensable.

His second argument holds up without the first. Copyright is the thing a closed-source licence rests on. If you cannot show a human authored a piece of code, your EULA is forbidding the copying of something you may not own. I would go further than Jankiewicz. An open source licence from the same vendor is equally empty, since you cannot license rights you lack. For purely machine-written code, CC0 would describe the legal position accurately. What actually protects most closed AI-written code today is that nobody outside can read it.

The best objection is that code is rarely pure machine output. The Copyright Office says protection attaches to human selection, arrangement and modification, and that AI assistance alone does not bar protection of a work. True. Zarya of the Dawn shows how it plays out: in February 2023 the Office kept protection for Kristina Kashtanova’s text and the arrangement of her comic and excluded the Midjourney images. Protection was carved out line by line, or in that case image by image.

That is the problem for a software company. To assert copyright over a repository you would want to say which parts a person wrote or meaningfully reworked. Almost nobody records that. A commit message does not say whether the diff was typed, accepted from an assistant with one click, or accepted and then rewritten. If a quarter of your new code comes from a model, as Google says of its own, you hold a mixed work with no provenance on it. A closed-source shop can fairly claim the lines a person wrote, yet it asserts the whole repository and cannot point to which lines those are.

There is one jurisdiction where the bluff partly holds. Section 9(3) of the UK’s Copyright, Designs and Patents Act 1988 gives computer-generated works 50 years of protection, with the author being the person who made the arrangements for creating the work. Even there the UK government consulted on changing this in 2024 and 2025, which suggests it is not confident in the rule either.

The check is cheap. Take your last quarter of merged pull requests and count the lines that went in from an assistant with no human edit afterwards. If you cannot produce that number, you cannot tell an acquirer’s lawyer which part of your codebase you own, and I expect that question to appear in due diligence long before any appeals court finishes answering it.

Prompted by All AI-generated code should be Open Source, Jakub T. Jankiewicz Blog.