A developer's case that all AI-written code should be open source topped Hacker News
Jakub Jankiewicz argues that all AI-generated code should be open source or public domain. His case mixes fairness, copyright law and how little many people now review AI output.
In brief
Jakub Jankiewicz says code written by AI should be open source or public domain
An essay by developer Jakub Jankiewicz saying all AI-generated code should be open source topped Hacker News this weekend. He argues AI learned from open code without credit and that pure AI output may not be copyrightable at all.

A short blog post by developer Jakub T. Jankiewicz rose to the top of Hacker News, one of the busiest forums for programmers, over the weekend. It passed 1,000 points, and hundreds of people argued about it in the comments. The title says it all: "All AI-generated code should be Open Source."
He opens with a warning of his own:
This may be a hot take, but I strongly believe that all code generated by AI should be Open Source.
This may be a hot take, but I strongly believe that all code generated by AI should be Open Source.
His three arguments
1. The models learned from open code. AI coding models were trained on decades of open-source code, written since the GNU Project began, and on Stack Overflow answers. That material was scraped from the internet without permission or proper credit, he writes, and Stack Overflow's Creative Commons licence legally requires attribution. Turning that shared knowledge into closed, private code "feels like license laundering," in his words.
2. Copyright law may already agree. Code written purely by AI is not written by a human, so it should not be copyrightable, he argues. He points to the famous monkey selfie dispute in the US, which established that non-humans cannot hold copyright, a precedent the US Copyright Office later cited in its approach to AI. Wikimedia Commons, he notes, already requires purely AI-generated images to be tagged as public domain.
3. Many people no longer check. Developers increasingly rely on AI without reviewing its output, let alone changing it, he writes. Code where the human only wrote the prompt should be open source.
The catch he admits
Copyright law differs between countries. The UK, for example, gives limited copyright protection to computer-generated works. To keep things fair everywhere, he wants developers and companies to choose openness themselves: release AI-generated code under an open-source licence, or give it to the public domain with the Creative Commons Zero (CC0) licence. He also accepts that most code is a mix, part human and part machine.
Why it matters to you
This is one person's opinion, not law. But the question under it is real and unsettled: who owns what an AI writes? If you run a small business or a startup and ship code mostly written by an AI tool, you may own less of it than you think, depending on where you live and how much of it a human actually shaped. If that code matters to your business, it is worth asking a lawyer in your country rather than assuming.
Sources
Source: jakub.jankiewicz.org