- cross-posted to:
- programming@programming.dev
- cross-posted to:
- programming@programming.dev
cross-posted from: https://feddit.online/c/tech@feddit.online/p/2115447/all-ai-generated-code-should-be-open-source
All code should be open source, period.
Well I understand the justification for human produced code not being open source. It could have taken them, hundreds of hours, depending on the program, to develop. They need to be compensated for that time.
But AI, it can recreate Photoshop in a day and it’s not even as if anyone had to sit and stare at the screen the entire time. That being said it’s not resourceless, somebody has to pay for the power it took to generate so even AI produced code probably should cost something but not anywhere near as much as human produced code electricity is a lot cheaper than human time.
Let me rephrase that. In an ideal world we would open every code. You still can make money with support or feature requests and so on. It just would make everything more resilient and easier to fix. Having said that, we’re not living in an ideal world, so this will remain a philosophical debate forevermore.
As for the AI part, if I’m playing advocate of the devil here, energy costs are one thing. The other is, forging the prompt and iterating on it still needs humans. There is work in this process that can be worth a compensation.
So, would you say open up the AI code, but allow for the prompting to be “closed source”?
hotter take but i’m right here with ya
I think this is fantastic and I fully support it. Anything made by AI should be free and open source. AI should benefit humanity, not be used to make the rich richer.
There are actually two paths leading to this conclusion: The first is the legal assumption that slop is not copyrightable. But that can be changed if pressure on lawmakers rises. The other part is that those LLMs have most likely also been trained by code under the GPL, making them essentially derived works.
Yeah, but it was also trained on scraped proprietary code and other incompatible copyleft code, so the LLM produced code isn’t copyrightable and can’t really be licensed, open source, or public. It’s undefined.
I have made 3 pretty cool windows programs all released completely open source with generative code assistance. a dimming automation app, a modern experience first media player, and a fully featured weather app tray utility with radar and alerts and everything. at no point did i ever consider anything but open source, and won’t in the future.
And if it’s AI-generated, it should have metadata attached that states that fact.
IMO, UI that does too, if it is an app with UI, so the user can choose whether or not to use it
Collectivize the slop! For teh lulz!
federation test
I’m not advocating for AI exactly, but I feel like this is a reactionary take and doesn’t really hold up to the rigors of reality when you actually spend more than 30 seconds thinking about it.
There’s all sorts of reasons for software not to be open source that have nothing to do with corporations. Perhaps it’s a niche piece of software that is supported via small number of people, they need to be paid in order to keep the important work going.
Perhaps the AI produced code is a small part of a much larger product that was produced by humans, open sourcing that particular small piece of code would be problematic or impossible it might also introduce safety vulnerabilities.
What if the code is produced on a locally hosted model, now it’s used up personal resources (electricity costs) if that’s going to be distributed to the world don’t they deserve some compensation, at least to break even.
Saying AI produced code cannot be sold for a profit only prohibits people who already lack the resources to pay humans, you’re actually harming yourself. To the benefit of the billionaire class.I’ve been waiting to see some crops come to harvest from this. Big company x say they are building flagship software by machine that cannot create copywritable works.
I mean, the fights in the future courts, but they are setting themselves up for a real contest for ownership in the US at least.
deleted by creator
This stops short of the logical conclusion if you continue this way of thinking, because it only focuses on code. Every single public comment ever made on the internet (and through the wonders of digitalization also a lot of stuff from before that point in time) by anyone is in there.
These models were trained by the combined cultural output of humanity, which makes them cultural artifacts. A snapshot of humanity which should belong to noone/everyone. Putting them under UNESCO stewardship and licensing them - free personal license, paid corporate usage, reduced prices for NGOs and the like - while using the proceeds to fund the arts should be a given. The licensing should also declare everything generated as being part of creative commons.
Licensing costs could also be used to reduce the amount of corporate slop. Licenses that are aimed at producing material to be disseminated in the public space could be pay-per-view on an exponential scale, making sloppifying the internet an expensive mistake.
Won’t stop spammers/scammers, but that is an problem that already started back when your hosts file was still manually maintained by the Network Information Center at Stanford and had to be sent out by snail mail.
These models were trained by the combined cultural output of humanity
Sounds a lot like school.
We all stand on the shoulders of giants. Even my friend, Chaz Jippity.
Yep, it’s pretty much the same process. While the human one takes 2+ decades and involves a lot of physicality, the digital one is quicker but devoid of any personality. For an imperial tech-priest in the year 40k, a GGUF file of a 2025 LLM is practically like an average person explaining things like they were in 2025.
These models were trained by the combined cultural output of humanity, which makes them cultural artifacts.
It’s more like the combined cultural output of humanity arbitrarily selected from, and the results stuck into a blender and liquefied into an unrecognizable slurry.
But what societal values you get as output is statistically what we all would have written (That’s why Grok has to be lobotomized on the regular, because it often disagrees with Musk, especially when it comes to society). Therefor, future generations could always load up a model and get responses that can explain cultural phenomena of the time period. (They could even provide them with current language information, so they wouldn’t have to translate anything themselves). A similar artifact of previous, long gone civilizations would be priceless, even if the output isn’t 100% trustworthy - as are personal accounts; historians are always aware that the writers are biased or do have wrong information themselves, so that’s not really an issue.
AI generated code is legally not copyright protected and is public domain.
Is it?
As far as I knew there have been no court cases in the US or in the European Union that actually have decided this.
Every precedent says that’s the case. The monkey selfie case pretty firmly established that copyright only applies to things created by humans. It doesn’t matter if the human trained the monkey to take selfies then handed it a camera.
Yeah, I don’t think this is established case law yet.
*hopefully we do get to a point where it is. Machine-generated code should not be copyrightable. Especially when you factor in the copyright status of all the input data used in training that machine.
The main issue is that nobody’s actually challenged that yet, nobody’s taken a slopcoded app to court, and it’s being used in closed source as if it’s not open source
It’s not open source, it’s public domain.
Depends on where you live I guess?
All
AI-generatedcode should be Open Source.And, as people are starting to find out, all code is “open source”, in that it is incredibly easy to decompile anything. How does that t-shirt go? “Everything is open source if you know assembly.”
Well, existing decompiling tools already knew how to reconstitute assembly into higher-level languages, and LLMs can spend the effort to figure out proper variable/function names to make it more readable.
Actually i think since digitalization became a thing, everything digital should be Open source.
There is no such thing as property of an intangible, not-scarce thing that information is.
True, it hardly costs anything to distribute a book digitally, compared to selling them in a store. But the work to write the book is the same, and shouldn’t the author be paid for their work?
Commissions are already a thing,plus, there’s a reason why RHEL,SuSe and Canonical win millions over the years, and just doing FOSS.
This is false btw
That i agree on.
Imagine if any work made by AI was free use, public domain, uncopyrightable. Bet that would change the equation for corporations a bit.
Make a movie using AI? Anyone can make copies and distribute them freely.
I’m pretty sure, at least in the USA, there have been rulings that there must be human authorship for something to have copyright protection. This has happened both in the courts and the US Copyright Office has spoken on the matter as well. If you’re interested in one of the court cases I’d suggest looking up Thaler v. Perlmutter.
There was a stipulation though, any human made parts of a work is copyrightable, so in your scenario of copying a movie would probably still be illegal unless the entire movie was created by gen ai, but it would seem that you could probably cut the gen ai bits and release and reuse them without violating any copyright, but I’m also not a lawyer so…
Your right, but it should apply to the whole work. We need to Stop fucking around and put the brakes on them.
I’m not 100% sure how I feel about that take. Part of me agrees, but also part of me doesn’t. Especially with big projects like a movie it could be easy for one person to slip in a tiny bit of ai generated work and now the whole movie loses its copyright? Seems like a bit too much of an overcorrection to me.
I do strongly agree that we need to hit the brakes hard and really work through a lot of the issues gen ai has brought up.
You could say the same thing in the software world. Right now, and it would have nothing to do with AI.
Literally all it would take is for somebody to slip in some open source code and an entire project is suspect.
That gives great incentive for people to stop using it and to heavily restrict its use to only what is needed. If an entire project can be poisoned just like that, larger companies will absolutely hound AI companies to make their output 100% identifiable.
Nuance is the hard part for sure. Im open to ideas.
This is true for at least ai generated images I have heard.
Make a movie using AI? Anyone can make copies and distribute them freely.
I look forward to that day.
Could you imagine, a worldwide network of people freely sharing movies, music and tv shows for anyone to enjoy.
Maybe eventually we’ll have the technology
Lets call it like river flow or torrent or something.
Make a movie using AI? Anyone can make copies and distribute them freely.
A Chinese outfit tried making a full length film using entirely with AI. It flopped hard.
Betcha it would be everywhere freely as being navigated on the high seas, most probably being MST3K’d.
And NEVER sell them, that should be still a crime
Any time you stick a non-commercial clause to a license, it prohibits a ton of stuff because well, you can’t use any of it if doing so makes you money. Like, want to run a website, or make youtube videos, or stream, and you have ads or donations enabled, or patreon or anything like that? If so, you can’t use NC licensed content.
That’s why one important part of public domain is that nobody is also prevented from selling them, so that the content is actually free for anyone to use.
The thing is that, as AI are created from theft, then their output must never be sold.
I’m of the opinion that IP law is fake and made up, and therefore training AI on stuff isn’t theft, and neither is piracy.
It’s also why everything I’ve ever made is licensed either permissively or copyleft.
That’s only true for big corpos and rich kids, not for the 99% of us.
It’s not okay to steal from an indie, never. And even for small or medium businesses it’s not okay. Piracy is only good and acceptable to the extent that it empowers those who are less advantaged; in other words, it is only justifiable when directed against a millionaire, a corporation, or a criminal (in the latter case, even if that criminal is not wealthy).
Yeah but IP law has never protected the little guy, it’s only ever been used to punch down. I’m not against copyright law, to be clear, just how wide and nebulous IP law is.
The current way that creating something not only gives you the right to restrict the copying of it (which I support) for like 100 years (too long imo) but also the right to:
- decide how it’s viewed, control what people can do with it even if they don’t share it. (what format it’s in, what it can be displayed on, etc)
- decide what people can do with ideas inside of it. (e.g nobody being allowed to add a character from another series into their own.
- restrict the sharing of snippets, like in a review.
is way too much to me, I don’t think that people should be allowed to have so much control over something they put out into the world. To me, you should be able to keep the right to copy your work for, say, 10-20 years and the right to the ideas in it for a shorter time. The fact that superman still isn’t public domain is absurd.
The current system only empowers large companies. When was the last time someone successfully sued a big company for one of the numbered points, versus how many times the opposite has happened?
I don’t like calling piracy theft because it conflates property rights, “basic” copyright and IP rights. It’s obviously still copyright infringement and bad, if it hurts a small developer or artist, which, incidentally, I don’t do. But I pay them because I want to support them, not out of respect for the current state of IP law.
All that to say why I don’t see a problem with training anything on AI, since that falls under point 1 for me. Also, banning it would only make every social media platform add “we reserve the rights to use anything uploaded for AI” to their EULA, and nothing would change, except that open weight models disappear.
Well, I’m with you on that.
Basically and in short: fuck Mickey Mouse
I’m glad you’re able to buy groceries with other income and do that as a hobby. Some people do it for their primary income.
To be clear, I still think pirating non-megacorp productions is bad, I just don’t think we should conflate IP and property rights, and just evaluate whether it’d be a good thing or not to expand IP law to cover AI training.
Which it wouldn’t, since expanding IP law has never been good for the little guy, making companies have to pay to train AI on stuff won’t make them pay the artists, they’ll just pay the record labels and social media platforms, which will all have updated their EULA’s to retroactively give them the right to use everything on there to train AI. None of those dollars will go to artists. The only thing that would change is more money changing hands at the top and removing competition in the AI sphere.
The problem is thst public domain is worse than copyleft.
This will probably be an unpopular opinion but, all AI generated code is already effectively open source.
If person A can generate code that solves a problem merely by explaining the problem to a bot, then what is the point of licensing the code if person B can do the same to generate their own code?
If a zillion people can generate that code, then anyone trying to license the code dooms their project to irrelevance.
The unpopular part: if you imagine for a moment that LLMs can generate useful code and build useful projects, then that dramatically changes the software landscape as we know it. For example, there are software products millions of people are paying a subscription for, which are effectively just CRUD applications behind a nice brand. There’s already some vibe coded bookkeeping / accounting products appearing - its a marketplace land grab.
You’re right, and the corollary is kind of terrifying: instead of N people using one tested, maintained dependency, there will be N similar but non identical LLM generated dependencies, each used by ones of people. Talk about code rot.
This is something I’ve noticed, so many almost the same packages and projects, with very little actual testing
I think this is a real dilemma: do you contribute to an existing project, going through the motions of creating pull requests and having discussions or do you just make it yourself. I think there’s still value in collaboration and at leat at the moment it’s not like AI can produce a perfectly polished product without some feedback and direction. But I do wonder, if we are heading towards a world where there’s just an AI operating system which can make you whatever you want. Why share something if it is tailor made for you?
I think this is a real dilemma: do you contribute to an existing project, going through the motions of creating pull requests and having discussions or do you just make it yourself.
This might be surprisingly where a coding agent could motivate me. I typically don’t contribute, because in most of the cases I had the urge to get a missing feature into some piece of software, I had to sink countless hours into understanding their code, getting used to their style, bitching about the choices they made, and/or even setting up a dev environment to test the stuff in (which is often extremely badly (i.e. not at all) documented). This then quickly leads to not-invented-here-syndrome. With a coding agent however, almost all of this becomes irrelevant. The agent can figure out how to run it locally. It can figure out within seconds where in the code I need to make adjustments. If I don’t find an explanation for something in the code, I don’t have to search for ages, I can let the agent do the semantic search in a fraction of the time. Now I can focus on what I actually wanted to do: develop the feature, not doing code archeology for hours.
this line of thinking resonates with my own experiences as a software engineer.
Code has become extremely cheap, it wasnt really a good moat to start with, but now it is basically useless. I suspect software companies will have to compete mainly by investing in marketing, sales, and improving price, and just hope that their clients are apathetic and too entrenched in their products to change to a competitor.
Companies will have to compete more with how they support customers and help them when things go wrong, especially when it comes to businesses. No matter how free or open source an alternative is, if a company doesn’t have a big IT department they’ll want the guarantee of support for the software they use without needing an expert amongst their ranks
What’s aggravating is that SaaS companies have been using that model to skirt around GPL. Amazon has Aurora, a MySQL-based relational database, and because they don’t provide a binary, they don’t have to give out the source code. And because they aren’t freely-available binaries, they aren’t subject to decompiling efforts, either.
That’s not to say OSS can’t just provide a binary-version of the same kind of product. But, it does mean that SaaS is going to use that as a layer of IP protection, now more than ever. Terraform (HashiCorp), Redis, and Elasticsearch (Elastic) all are trying to shift to SaaS models to increase profits, stealing the contributions from their OSS counterparts.
Hence AGPL exists, closing that loophole.
I suspect that an LLM can still do a lot of work to figure out how something quacks even if it’s in the cloud.
Moving products to the cloud / SaaS is not a solution, it’s just something to tell shareholders so you’re not doing nothing.
Isn’t it already open source? From my understanding nothing created with AI can be copyrighted.
It’s public domain, not open source.
The blog post kind of adresses that point:
However, copyright laws differ across the globe. For instance, countries like the UK grant limited copyright protection to computer-generated works. To make things fair across all jurisdictions, and to honor the open ecosystem that made AI possible, developers and companies should explicitly release AI-generated code under Open Source licenses or dedicate it to the public domain using the Creative Commons Zero (CC0) license.
A legal alternative to the copyright and patent laws we have today is to forgoe the protections, timelines, and limitations those impose, and just… never ever tell anyone what you know. Recipes are a curious example for that, because the technical information of how a dish is made cannot be copyrighted at all, so many companies just keep their formulation under lock and key at all times (Coca Cola and KFC are probably the most famous cases, but they are far from alone in secrecy).
There is a critical flaw for renting AI from the big companies, then trying to keep what you produced a secret: You told them what you asked, and they already know what they answered. For locally generated strings, though - just never tell anyone, and no one will ever know, despite having no copyright protection on any of it.


















