this post was submitted on 24 Feb 2026
60 points (95.5% liked)

Opensource

5710 readers
357 users here now

A community for discussion about open source software! Ask questions, share knowledge, share news, or post interesting stuff related to it!

CreditsIcon base by Lorc under CC BY 3.0 with modifications to add a gradient



founded 2 years ago
MODERATORS
 

Does a license like this exist?

you are viewing a single comment's thread
view the rest of the comments
[–] asudox@lemmy.asudox.dev 20 points 1 week ago (5 children)

I found this, which adds additional text to the existing licenses to prohibit training an AI on the licensed code: https://github.com/non-ai-licenses/non-ai-licenses

Though, per OSI's definition, your code probably would no longer be open source, since training an LLM is technically considered a field of endeavour:

OSD number 6:

The license must not restrict anyone from making use of the program in a specific field of endeavor. For example, it may not restrict the program from being used in a business, or from being used for genetic research.

[–] cat_fishing@feddit.online 8 points 1 week ago

This is exactly what I was looking for. Thanks!

load more comments (4 replies)