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 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.
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 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.
Collectivize the slop! For teh lulz!
federation test
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.
I wonder if it would matter for a company to contest this framing? In a, very near, future where it is trivial to replicate even large and complicated software projects companies that make their money off of selling software have basically no moat that a copyright can protect.
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
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, 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.
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.
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
Depends on where you live I guess?
That i agree on.
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
Surefire fastest way to destroy ai
Isn’t it already open source? From my understanding nothing created with AI can be copyrighted.
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.
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.
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
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.
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 is something I’ve noticed, so many almost the same packages and projects, with very little actual testing
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.













