All AI-generated code should be Open Source
The author argues that all code generated by AI should be released as Open Source. He says AI models were trained on open source code scraped from the internet without permission or proper attribution, and on Stack Overflow and Stack Exchange content released under Creative Commons licenses that require attribution. Keeping the result closed-source, he writes, "feels like license laundering."
His second reason is legal: purely AI-generated code is not written by a human, so he argues it should not be copyrightable. He points to the [Monkey Selfie][1] dispute, which established that non-humans cannot hold copyrights, and to Wikimedia Commons, which requires purely AI-generated images to be tagged as [public domain][2]. He also notes that copyright law differs by country; the UK, for example, grants limited protection to computer-generated works.
He suggests that developers and companies explicitly release AI-generated code under Open Source licenses or dedicate it to the public domain using the [CC0][3] license. He adds that developers increasingly rely on AI without reviewing or modifying its output, and that code where humans only write prompts should definitely be Open Source.
Read the original jakub.jankiewicz.orgDiscussion
Discussion
Most commenters disagree with the idea. Several argue that design decisions, testing and real-world feedback make AI-assisted code the work of the human who directs it, and that forced publication would take that effort away. Others cite US Copyright Office guidance that AI used as an assistant does not remove copyright protection from the output.
Sources
-
jakub.jankiewicz.org
All AI-generated code should be Open Source


