Should AI-Generated Code Be Open Source?

Original: All AI-generated code should be Open Source

Why This Matters

AI-generated code ownership is an unsettled legal question affecting every software company.

Developer Jakub Jankiewicz argues all AI-generated code should be released as Open Source or public domain, citing training data origins, copyright ambiguity, and fairness to the open source community.

In a personal blog post, Polish developer Jakub T. Jankiewicz makes the case that AI-generated code should always be Open Source or dedicated to the public domain. His argument runs on two tracks: ethics and law.

On the ethical side, he points out that AI models were trained on vast amounts of Open Source code scraped from the internet—often without permission or attribution. Stack Overflow and Stack Exchange content, released under Creative Commons licenses that explicitly require attribution, was also used. Packaging that collective knowledge into proprietary, closed-source products, he argues, amounts to 'license laundering.'

Legally, his position draws on the Monkey Selfie case, which established that non-humans cannot hold copyright in the US—a precedent the U.S. Copyright Office has since cited in the context of AI. Wikimedia Commons already requires purely AI-generated images to be tagged as Public Domain. That said, copyright laws vary: the UK, for example, grants limited protection to computer-generated works. Jankiewicz proposes that developers and companies explicitly release AI-generated code under Open Source licenses or use CC0 to sidestep jurisdictional inconsistency.

He acknowledges that code is rarely 100% AI-generated or 100% human-written, but flags a growing trend: developers shipping AI output with little or no review, where human contribution is essentially just writing a prompt.

Source

jakub.jankiewicz.org — Read original →