Hacker News·First covered 15 Nov 2026HN front page
All AI-generated code should be Open Source
Jakub Jankiewicz argues that code written by AI should be released as open source or public domain, since the models learned from open code and pure machine output may not be copyrightable.
Stats
(As of 22 Nov 2026)- Points
- 1,288
- Comments
- 673
- Submitted by
- jcubic
- Posted
- 6d
- Models trained on scraped open-source code and Creative Commons Stack Overflow posts without attribution, which he calls license laundering.
- He cites the monkey selfie dispute and US Copyright Office guidance that non-humans cannot hold copyright.
- Because places like the UK give limited protection to computer-generated works, he proposes open licences or CC0 everywhere.
- Code that developers accept without review or edits is, in his view, the clearest case.
The discussion
- CounterpointThe top reply says courts lean the other way: Doe v. GitHub found LLM output does not inherit open-source licences, and Thaler v. Perlmutter denied copyright to fully AI work. comment
- DisputedSeveral argue that steering agents through a complex codebase is real human R&D that should earn ownership. comment
- ThemeOthers compare models to programmers who learn patterns from books and examples, which creates no duty to open source. comment
- AgreedSome agree in spirit; one maintainer already releases AI-written code under a choice of Apache, BSD, GPL or MIT. comment