- cross-posted to:
- programming@programming.dev
- hackernews@lemmy.bestiver.se
- cross-posted to:
- programming@programming.dev
- hackernews@lemmy.bestiver.se
cross-posted from: https://feddit.online/c/tech@feddit.online/p/2115447/all-ai-generated-code-should-be-open-source


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.
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?
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.