this post was submitted on 08 Mar 2026
52 points (96.4% liked)
Opensource
5953 readers
52 users here now
A community for discussion about open source software! Ask questions, share knowledge, share news, or post interesting stuff related to it!
⠀
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
LGPL is unenforceable with AI-generated code. LGPL puts certain constraints on how the code can be used, but if someone were to use AI-generated code in a way that violates its LGPL license, all that person has to say is that it's AI-generated code, so it's in the public domain and they're free to do with it whatever they want, and they would legally be right.
What do you base this "all AI code is public domain by legal definition" on?
There has already been a ruling in the US that AI-generated art cannot be copyrighted because it lacks human authorship, so it stands to reason that the same is true for code. Even copyleft is ultimately dependent on copyright to be legally enforceable.
And even if all of the rest of the world were to decide otherwise about whether AI-generated works can be copyrighted (which I very much doubt would happen), given how much software development happens in the US, it would still make the license pretty toothless.
AI-generated art not being copyrightable doesn't necessarily mean AI-generated art can't violate original copyright, though.
This is not about AI-generated code being relicensed to different AI-generated code. It's about the original licensed code being relicensed or otherwise violated through AI-generated code.