The Spectrum Dispatch News

technology

Developer argues all AI-generated code should be open source

A programmer contends that code created by AI models trained on open-source software should be released freely, citing copyright and ethical concerns.

Developer argues all AI-generated code should be open source

A developer has made the case that all AI-generated code should be released as open source, arguing that keeping such code proprietary amounts to “license laundering.”

Developer argues all AI-generated code should be open source

According to the argument, AI models were trained on massive amounts of open-source code scraped from the internet without permission or attribution. The training data also included content from Stack Overflow and Stack Exchange projects, which operate under Creative Commons licenses that legally require attribution. Converting this collective knowledge into proprietary, closed-source code, the developer contends, violates the spirit of those licenses.

A second line of reasoning centers on copyright law. The developer points to the “Monkey Selfie” dispute, a legal case establishing that non-humans cannot hold copyrights. The U.S. Copyright Office has cited this precedent regarding AI-generated works, suggesting that purely AI-generated code should not be copyrightable since no human authored it. Wikimedia Commons, according to the argument, requires all purely AI-generated images to be tagged as Public Domain based on similar logic.

However, copyright frameworks vary globally. The UK, for example, grants limited copyright protection to computer-generated works. To address these jurisdictional differences and honor the open ecosystem that enabled AI development, the developer proposes that creators should explicitly release AI-generated code under open-source licenses or dedicate it to the public domain via Creative Commons Zero (CC0) licensing.

The argument also addresses hybrid scenarios where code is neither entirely manual nor fully automated. As developers increasingly rely on AI without thoroughly reviewing or modifying generated output—sometimes writing only a prompt—such code should similarly be made open source, according to this perspective. The developer suggests that when human effort is minimal beyond prompt engineering, open-source release becomes especially appropriate.

Key facts

  • AI models were trained on open-source code scraped from the internet without permission or attribution
  • Stack Overflow and Stack Exchange content used in AI training is licensed under Creative Commons, which requires attribution
  • U.S. Copyright Office has cited the Monkey Selfie precedent regarding AI-generated works
  • Wikimedia Commons requires all purely AI-generated images to be tagged as Public Domain
  • UK copyright law grants limited copyright protection to computer-generated works
  • The developer advocates using open-source licenses or Creative Commons Zero (CC0) for AI-generated code

Sources

← All posts