101 points jcubic 1 hour ago 66 comments

ubercow13 30 minutes ago | parent

If AI generated code is not copyrightable, releasing it under an open source license is meaningless.

zulban 28 minutes ago | parent

I'm not sure you understand all the things that an OSS license does. For example: liability.

g-b-r 28 minutes ago | parent

Releasing it for sure is meaningful

dboreham 25 minutes ago | parent

Under those conditions it would be un-licensable (since a license is essentially an agreement not to sue for copyright infringement) but it can still be made open by publication. I'm skeptical that the "anything that comes out of AI can't be copyrighted" argument will end up holding, but in the meantime it provides a strong incentive not to make that code public.

sturza 29 minutes ago | parent

What’s the point, if you can generate infinte code?

pasquinelli 20 minutes ago | parent

couldn't you always generate infinite code? just write more of it. but what open source lets you do is read the code for a particular piece of software, to see what it actually does. generating infinite code has nothing to do with that.

sturza 17 minutes ago | parent

you could also do this before, but only with infinite time. open source value is shifting. open source is human-validated code. just OSSing generated code has no value.

cyanydeez 29 minutes ago | parent

agreed. The problem is _which_ open source, because what we're probably going to slowly realize is most software will now be a public good and proper governance is needed thats indistinguishable from a public utility.

But we're not headed in that direction are we.

g-b-r 28 minutes ago | parent

Even if you modify it before using it, it's still based on open source (often GPL) code, so just everything based in part on LLM output should be open source.

sicher 26 minutes ago | parent

I mostly agree and have pretty much every one of my projects open source. One in particular, though, is not. And that is because the design of it is heavily domain specific and is built on loads and loads of experience. Not sure how to reconcile that...

regularfry 12 minutes ago | parent

There's a difference between something being released as open source and something that never gets released at all. Open source or not only becomes relevant when making the binary available to other people.

delichon 26 minutes ago | parent

> First of all, AI models were trained on a massive corpus of Open Source code written since RMS announced the GNU Project and the Free Software Movement.

I too have trained on the massive corpus of open source code. Should everything I code also be open source? Or only if I leverage an artificial neural network as a prosthesis to enhance the capabilities of my natural neural network?

brunoarueira 18 minutes ago | parent

Makes sense, many of the programming languages are open source, other novelty things were released as open source aswell, we as programmers/software engineers does a bunch of our solutions based on public code or under Creative Commons.

What I agree with the post is specific licenses require us some specific requirements like release the code if it's a derivation of prior work!

written-beyond 10 minutes ago | parent

I'm tired of these child like responses from adult professionals in this industry. Do you argue just for the sake of arguing? No, your exposure to opensource code "massive" and you are clearly smart enough to know this but you had this make this comment as rage bait.

g-b-r 9 minutes ago | parent

No, because open source licenses don't cover that, and artificial neural networks are very different from your "natural neural network".

You're also unlikely to output what you trained on verbatim.

bakwan44 6 minutes ago | parent

I have learnt to read by training on a lot of books, I should then open source all future things I write. I've learnt to walk by watching other people, I probably should publish videos of me whenever I walk.

viraptor 25 minutes ago | parent

Doe v. GitHub already decided (I'm simplifying, read the actual thing yourself) that LLM output is not automatically open source - or specifically it doesn't infringe on the open source training material and doesn't inherit the oss copyright notice.

Thaler v. Perlmutter (again simplified) showed 100% AI output can't be given any copyright.

The directions the current cases are going are very much opposed to that idea and I wouldn't expect things to change in the opposite direction.

echelon 20 minutes ago | parent

AI generated art with human steering is copyrightable [1].

Agentic code development is human steering, thus copyrightable under the same grounds.

Open source code is copyrighted, otherwise we would be talking about public domain.

When you edit something in the public domain to enrich it, it then becomes copyrightable again.

[1] https://news.artnet.com/art-world/invoke-snags-first-ai-imag...

viraptor 18 minutes ago | parent

It's legally untested, so we can't be sure one way or the other. But people definitely seem to assume that's the case.

mapontosevenths 16 minutes ago | parent

Every major corporation on earth is behaving as if it was. If/when it gets tested you can be sure that the pro-copyright side will be very, very well funded.

conartist6 17 minutes ago | parent

There's still something dark at the center; a lawless visciousness to the new era.

unrented7977 15 minutes ago | parent

You can't apply naïve transitive reasoning to law. Law is not code. Your assertions are meaningless and unsupported noise until they're actually tried in a court.

partloyaldemon 4 minutes ago | parent

Was your assertion tried in court? legal reasoning is naïve transitive reasoning.

mlaretallack 18 minutes ago | parent

Remember that's in the US, most other places (UK etc..), it can be copyrighted.

viraptor 13 minutes ago | parent

Unfortunately, even if other countries have different rules, the US service like GitHub still has to follow the US law and DMCA.

jph 24 minutes ago | parent

I agree with the spirit of this. I'm a longtime open source developer and generally prefer GPL for my manual code. For my AI-generated code I'm using a multiple choice license of Apache, BSD, GPL, MIT.

If you're curious, here's my newest open source which helps build Rust web services along with Axum: https://github.com/publicprojects-io/axa and you can see the LICENSE.md file.

Pannoniae 24 minutes ago | parent

This post is so close to getting it ;)

Looks like the author wants to abolish copyright in a very round-about way. They are saying that AI-generated code should be released under CC0 due to complexities around the status of software copyright in various jurisdictions.

But if the concept of copyright was abolished as a whole, then licences such as GPL would also lose their power. Some people say that's a negative thing, but I do not necessarily think so, because it achieves the stated goal of the GPL, software freedom (i.e. you don't need to be granted a licence to copy and modify things)

Vaslo 22 minutes ago | parent

My patterns for loading data into Python is pretty much the same everytime with polars. I didn’t create that - I looked it up from a book somewhere. Do I need to open source it?

The AI machine just went out and read a bunch of examples then adapted them, which is what lots of programmers do.

wolttam 21 minutes ago | parent

There is so little value to most code produced with models these days I just don’t see the point.

The real value ends up being found in software where there is a person behind it continuously refining it into something others will look at and say “Someone clearly paid attention to this.” Models can’t (yet) reproduce that because they can’t/don’t go interacting with users or asking bigger picture questions.

Whether someone is producing that software with a model or not doesn’t change much about the ownership picture to me: it’s the person that owns the project, and the LLM is a tool.

Once again, it all comes down to it being a tool and how it’s used, and there are no useful blanket statements that can be made about it (or how the tool’s output should be classified, legally or otherwise)

dava96 20 minutes ago | parent

Whilst the first training sets would have used Stack overflow and open source projects.

I have my suspicions that the AI companies have been using reverse engineering to gain more training data.

Ethics don't really concern these companies so...

When you have essentially infinite compute and are constantly looking for more training data. To me the next logical step is to start reversing compiled programs.

It could also explain why these AI models are so good at it too...

How do you copyright stolen material?

superkickstart 19 minutes ago | parent

All 100% ai generated assets, art, music, text should be free and open source too.

rvz 19 minutes ago | parent

The author needs to realize that this is unenforceable.

In fact I'd argue that free software and open source is economically dead and unsustainable because of AI generated code and almost no one wants to pay for their tools because an AI can generate the missing feature for them close to $0.

Maintaining it is another thing, but assuming that the cost of tokens get cheaper, why wait for open source developers to maintain it when a frontier AI model can do it for far cheaper and quicker?

I am just saying what the average manager turned vibe coder would say who will refuse to donate or pay for established open source projects that they use for free.

g-b-r 2 minutes ago | parent

Is it unenforceable to check that a company openly all in on AI is releasing all the source code of their products?

ozgung 18 minutes ago | parent

This means “all software should be Open Source unless written fully by humans”, which practically means almost all software in the near future, which is a terrible idea for multiple reasons.

g-b-r 16 minutes ago | parent

Or practically means that much less software should be written with AI

artursapek 18 minutes ago | parent

There is still substantial human effort and R&D that goes into developing a complex code base with AI agents.

sneak 16 minutes ago | parent

Why do people think that people receive the gift of open source software are somehow obligated as a result of receiving that gift?

Yes, it was trained on free software. Why does that mean my privacy should be invaded now if I distribute binaries I made?

unrented7977 14 minutes ago | parent

Because instead of treating it as the gift it is, you're treating it as a service you are entitled to

spacedcowboy 10 minutes ago | parent

I see you asserting that, I don't see him saying it...

feldrim 11 minutes ago | parent

Privacy?

yipinwong 15 minutes ago | parent

Articles like this promotes extreme views while we should be moderate on what should be OpenSource or not.

First of all, nobody must force OpenSource. Period. Second, such exterme views spawn extreme views in the opposite side.

Discussion is good, but this article is too draconian to be practical.

freeone3000 13 minutes ago | parent

The current trend is for model output to be public domain, which is “more extreme”. Merely copyleft is not as extreme.

Insimwytim 12 minutes ago | parent

  nobody must force OpenSource
Right. Nobody must violate copyleft licences either!

blagie 8 minutes ago | parent

I don't see extreme views in this article. When LLMs take creative content from copyleft code, the license says the output has to be copyleft. Otherwise, it's theft.

If LLMs weren't trained on AGPL/GPL/LGPL code, it'd be different. But they are.

TZubiri 7 minutes ago | parent

>First of all, nobody must force OpenSource.

No, GPL and copyleft licenses very much do and should force OpenSource by its nature. If someone uses GPL or AGPL and doesn't open source, they should be forced to Open Source.

ada-h00k 6 minutes ago | parent

That’s not an extreme view. Anyone who uses software under a copyleft license should also release any derivatives under the same license. While this isn’t currently the case legally since the GPL was never written with the possibility in mind that LLMs might be trained on it in the future it still aligns with the spirit of the license.

the8472 5 minutes ago | parent

[delayed]

add-sub-mul-div 14 minutes ago | parent

We already have a growing discoverability problem in many areas of content and throwing more slop into the mix is not the solution. This place for example has become a dumping ground for people, usually with no other activity here, to advertise their shovelware AI projects.

anself 13 minutes ago | parent

Strongly disagree.

Just because AI was involved doesn’t mean significant human thought and effort didn’t go into the production of those artifacts.

My agentic software development loop requires heavy involvement of real-world feedback. The ratio is huge. 20 mins of agentic software coding against hours or days of testing, trying it out, real-world contact, thinking about what feature is next or what tweak would make it more usable, smooth, intuitive. That feedback is baked into the product. Forcing it to be open source steals all that time and effort for me, and takes from me the decision as to how and whether to open-source it. So you mean the code that I’ve agentically written to help manage my private financial affairs (on local models, for privacy) or my kids’ complicated school schedules must now be open sourced?

My manners begin to fail, so I’ll stop here.

jdiff 11 minutes ago | parent

Thought production isn't copyrightable. Processes and procedures aren't copyrightable. Might get you a patent.

otabdeveloper4 4 minutes ago | parent

> Just because AI was involved doesn’t mean significant human thought and effort didn’t go into the production of those artifacts.

Doesn't mean it did either. (99% of the time it didn't tho. Nobody reaches to a vibe code machine because they care or want to dedicate effort.)

sqreept 12 minutes ago | parent

This is like saying: All humans who learned from open source code should only produce open source code.

sorrywhat 11 minutes ago | parent

Open source people have had half a century to figure out how to make money with fairly little success (aside from a dozen or so very notable projects, and looking at all my AI slop, I don't see one of these hiding in there).

I don't particularly care about copyright or whatever ethical arguments yo may come up with -- I write code mostly for money, as do my competitors -- if you can figure out a way to stop them from using AI, I'm fine with not using it either. I'm fairly skeptical you can close Pandora's box though.

That aside, we may see more software going in a source-available direction -- either that or full cloud. Up until now being closed source was a competitive advantage, but now it's trivial to clone even fairly huge software suites, so that's less of a factor.

Having the source may also become a bigger advantage for regular users than before -- given they can now vibecode extensions/plugins, or customize the software more than what a config would personally allow. this probably wings the calculus away from a Photoshop-style license, and closer an Unreal Engine-style license.

Either that; or everything goes full cloud of course.

glitchc 11 minutes ago | parent

The article contradicts itself.

It's important to remember that the purpose of the license is to allow the copyright owner to exercise their rights in a manner they deem fit. Even if they choose to give the code away, that choice is captured in the form of a specifically worded license (MIT, BSD, etc.).

This means that licenses exist because code is copyrightable in the first place, with the license governing the use of said copyright. If AI code is not copyrightable, then no license can govern it.

moneybunny 11 minutes ago | parent

If you put your code online just assume it's gonna get stolen and you'll never see a penny

sashank_1509 10 minutes ago | parent

I strongly agree. Look at what we’ve done here:

1. Software had a strong movement of freely sharing all code because they believed this technology was too important to be controlled by corporations.

2. AI companies managed to create millions of RL environments from GitHub PR’s and similar, and train their model to learn what it means to code from all the human labour in the world from the past 30 or so years.

3. Companies now use these closed source AI models, to automate and fire their human workers who enabled this.

Something has gone seriously wrong here, whether this falls under copyright or not is besides the point.

We weaponized a fundamentally good instinct that generated a lot of value for society and allowed corporations to rent seek on all the data these humans generated to help other humans not trillion dollar corporations.

“Well we’ll give them a UBI check”, the AI company says which is a complete non-sequitur. It’s not about the money, most of us have saved enough.

The only solution that sounds good to me, is a model trained on Open Source Data must be Open Source and all the code it generates must also be open source. This is the only way to stop the coming rent seeking. Even mathematicians will be happy with this change!

blagie 10 minutes ago | parent

I am the author of multiple AGPL systems, many in mainstream use. Early LLM models would spit out my code almost verbatim. Modern systems borrow heavily on the creative design of those systems.

One company first pirated my AGPL code (e.g. shipped it without my name, copyright notices, source availability, etc.). I sent them violation notices. After many months of fighting, they had an LLM clone the system. The LLM clone feels:

a) Buggy and bad compared to my code

b) Still, like it's basically my creative content

It's as if you asked an LLM to rewrite Harry Potter, with the same plot, but bad dialogue.

m00dy 5 minutes ago | parent

Can an LLM write unseen plots with a greater dialogue ?

hmokiguess 4 minutes ago | parent

Mind sharing which repo that was?

dzink 10 minutes ago | parent

Here is a different angle. A programming language is a material like wood, aluminum, or stone. If you know the syntax and properties of it can you start trying to bend it to your will - you can make a ship, a satelite, or a children’s toy wihh tv the same language. You first have to spend years mastering the material and its limitations before you can bend it, so only a small number of the people who want to make stuff get to. Some people release open versions of a ship and a satelite you can start from, to lower the threshold of making stuff. They protect them to make sure giant shipbuilder doesn’t go making an army of their ships to kill their trade.

AI comes along and now grandma, who was formerly a midwife and teenager from home can start bending aluminum and carving wood with their words through AI. There are a bunch of open ships and satellites in the market, but Grandma is using her midwifing skills to ask AI to bend a new tool for her that helps turn breach babies around without requiring a c-section. No open source breach tools or medical tools on the market Grandma just needs aluminum and wood combination she would never be able to achieve without AI. She hammers down a lot - sending 1000 follow-up prompts to make the AI do stuff nobody has done before. Next her grandson decided to combine tungsten and wood to make a new toy that helps kids go airborne and land safely every time - like an egg-drop but for real life people. No open source code for that out there - he used the AI which knew the properties and the languages needed to get his idea to work. He hammers the AI with follow up questions and edits a bunch of the code where the AI defaults to the wrong setup, by trained convention. But he succeede. By this plan should they be allowed to copyright their work? Should their work be automatically open source so they can never monetize it either?

jacobgold 8 minutes ago | parent

No, but all models trained on public data should be open weights by law.

wildzzz 6 minutes ago | parent

What is public data?

TZubiri 8 minutes ago | parent

>First of all, AI models were trained on a massive corpus of Open Source code written since RMS announced the GNU Project and the Free Software Movement. That code was simply scraped from the internet and used without permission or proper attribution. The models were also trained on Stack Overflow and Stack Exchange sister projects, which are released under Creative Commons licenses that legally require attribution. Turning this collective knowledge into proprietary, closed-source code feels like license laundering.

Strong argument, but the case that such a strong transformation should maintain the original licence only applies to my knowledge to GPL, which consists of a very small portion of the training set. Creative Commons would not even require the source code to be distributed, just attribution, which may already be the case by the nature of the models.

>"The second reason is legal: purely AI-generated code is not written by a human, meaning it should not be copyrightable. The foundation for this principle in the US goes back to the famous Monkey Selfie dispute, which established that non-humans cannot hold copyrights."

But no one claims that the AI holds the copyright, unlike Greenpeace which claimed that Naruto the monkey held the copyright.

doener 7 minutes ago | parent

I’ve been thinking a lot lately about how LLMs have essentially made all code open source in a strange and very capitalist way: They’ve appropriated our human work—without regard for any licenses—by force and without any compensation to the authors, and are now selling the code back to anyone who’s willing to pay for it.

But yeah, aside from that, I’m also releasing all my Vibe Coding games under the MIT license: https://github.com/retrogames23/

gwn7 7 minutes ago | parent

> developers more and more rely on AI without even reviewing the generated output, let alone modifying it to fit their specific needs. Code like this, where humans put little effort, except writing prompts, should definitely be Open Source.

A person's contribution here is difficult to measure. This statement reminds me of one of my older bosses who priced software per lines written.

An AI-generated software's quality reflects the author's vision, taste, and expertise (if any). These are there regardless of the number of lines reviewed.

I would've supported open source for completely AI-generated apps including the conception of the idea.

RMS would be proud with this post though.

pacificmaelstrm 5 minutes ago | parent

At the end of the day you don't actually need to see the source code if you can just regenerate it yourself. If you use a later ai model, your code will probably be better anyway.

glenpierce 3 minutes ago | parent

I’m confused. Is this article meant to be a scholarly legal argument (albeit, by a novice)? Or a normative statement about what the author would prefer?

It certainly doesn’t seem to be about practical solutions. It doesn’t even touch on the ramifications of its suggestions. I’m pretty sure that it would be a massive boon to data center operators and cause most of the readers of hacker news to lose our livelihoods.