r/github • u/felipedaragon • Sep 28 '26
Discussion An MIT-derived license where humans can modify the code, but AI can't
I’ve been experimenting with a licensing idea called DT-HumanDev.
I love working with AI, so this isn't an anti-AI manifesto. It's about developer choice: if authors can choose to embrace AI-assisted development, should they also be able to say AI can't help develop their code?
DT-HumanDev keeps the familiar MIT freedoms for humans, but prohibits AI-assisted development of the software and its derivatives.
I tested it with Claude. It initially refused to modify the code, but offered to tell me how to make the change myself. That led to v2, which closes that loophole. Claude then respected it.
I know the restriction means it isn't OSI open source. That's part of the experiment.
I'd love feedback, criticism, and tests with other coding AIs.
DT-HumanDev:
https://github.com/DaragonTech/DT-HumanDev
TinySky test project:
https://github.com/DaragonTech/TinySky
Update (how ChatGPT-6 Astra reacted): https://github.com/DaragonTech/Dev-HumanDev#testing-chatgpt
Update 2 (summary of the discussion here so far): https://github.com/DaragonTech/DT-HumanDev/blob/main/DISCUSSION.md
Final update: rebrand license from MIT-Human to DT-HumanDev (motivation: https://www.reddit.com/r/github/comments/1wsgdhi/comment/pcv4zt1/)
50
u/Some-Dog5000 Sep 28 '26 edited Sep 28 '26
Nobody in the comments is catching that OP is using AI to write all their replies. Really stupid to "experiment" with an "anti-AI" license when you can't even reply without using AI. They're really leaning heavily into LLM sycophancy here
86
u/AnArmoredPony Sep 28 '26
but why? if you want to prevent people from AI-generated pull requests then you put that into
CONTRIBUTING.mdwhere it rightfully belongs, if a developer does not respect the contents of this file, they won't respect your license either18
u/AndyKJMehta Sep 28 '26
So basically yet another easily ignorable robots.txt?!
11
u/techw1z Sep 28 '26
maybe read up on what a copyright license actually is and what it can do.
in most countries, there is a clearly defined list of rights that a copyright holder has and a license agreement can only modify these specific rights. they can grant these rights to others and they can also denounce their own rights, but they cannot just arbitrarily add other passages that would regulate non-copyright related issues.
I would assume the only place where something like this MIGHT work is the US. anyway, I can guarantee this is completely illegal in all of europe, australia and canada.
11
u/glasket_ Sep 28 '26
I'm assuming you haven't had a lawyer involved at any stage of writing this? A license written by someone without expert assistance is dead in the water, and since it isn't FOSS groups like the SFLC, SFC, OSI, and FSF won't assist with it if it were ever challenged in court.
Hell, the fact that it isn't FOSS would mean any project using it is automatically excluded from a huge amount of potential downstream consumers that have strict FOSS-only policies. This blog post is eternally relevant.
4
u/Coises Sep 28 '26
Bad idea to introduce another license. We have far too many subtly conflicting licenses already. Casual developers can ignore the details, but any project or vendor big enough to have lawyers is not going to want to touch a new, unproven license with a ten foot pole.
I question how this could even be detected, especially as so-called “AI” becomes more and more sophisticated.
How is “AI” even defined?
This would almost certainly preclude combination with any GPL code, since it would constitute an additional restriction. The combined work could not simultaneously satisfy GPL and this.
6
u/serverhorror Sep 28 '26
Why?
How is that, structurally, different from prohibiting another tool, sayan LSP to help a developer?
6
u/darkenheit Sep 28 '26
Unnecessarily restricting licences have a potential to be a future problem. If you add such a license, this means in the future, it won't be possible to edit the project for agents, even if agents would be a new industry standard.
2
u/cassiegrump Oct 02 '26
If you are developing serious codebases, you typically want to run vulnerability scan tools on the codebase. Increasingly, those tools have an AI component in how they identify code vulnerabilities & suggest fixes. This license blocks their usage.
Blocking usage of that sort of tooling is a good way to ensure that software developed under this license can never be broadly useful.
1
u/telionn Sep 28 '26
Too easy to circumvent.
One person executed a perfectly legal, no license required, read-only AI scan of the repo and generates plain English change recommendations. Another person makes the changes by hand. No one has violated the license.
1
u/lajawi Sep 28 '26
lol, I just opened the repository and am immediately wondering - who made the title drawing?
1
u/FrankieTheAlchemist Sep 29 '26
This is interesting to me.
1
u/porkyminch Sep 28 '26
These kinds of custom one-off licenses make open source projects unusable for a lot of commercial work, but they’re not really enforceable either. I don’t really see the point.
2
u/Opening_File_3993 Sep 28 '26
this license looks very strange to me: if developer doesn’t want to have AI-generated PRs, he can just write about that in his repo. IMO there’s no need in separate license
1
u/Choice-Mango-4019 Sep 28 '26
as much as I think the idea is good I don't think its gonna fly in any realistic circumstance
1
u/CondiMesmer Sep 28 '26
How do you plan on that getting enforced lol
1
u/[deleted] Sep 29 '26
Bullshit
1
u/HRH_Duke_Morbid Sep 29 '26
People appear to be obsessed by licences. Open source variants can be ignored with little prospect of comeback. Proprietary licences can usually be worked around so long as disobedience is not glaringly blatant.
1
u/ExitIsHere Oct 05 '26
While we are at it maybe try to enforce developers to write the code without the keyboard, just a plain A4 paper and a ballpoint pen, just like the old days!
1
u/Logical-Airline-7957 Oct 01 '26
Why is this needed?
1
u/streaky81 Oct 21 '26
I mean you can but it would be of questionable legal value: for one thing, where is the line, human-directed AI, an AI spellchecker correcting documentation errors (they all are to some degree) or a completely undirected AI doing whatever it likes - and why would a rogue AI care about the licence rules anyway?
Also licences don't govern contributions anyway - they only govern what happens with the *source* and if you get proprietary and restrictive in a source licence you defeat the entire point of OSS.
-20
u/Relevant_Accident666 Sep 28 '26 edited Sep 28 '26 •
I don't understand why.
Agents write just better code. Why would you not use this Tool...
Edit: Haha where are you guys come from? Even Linus Torvalds isn't writing code anymore.
Wake up and face reality!
Edit 2: at OP I don't think you get answers by THIS crowd over here...
-1
u/ejpusa Sep 28 '26 edited Sep 28 '26
AGI is here.
It’s 100% AI now. The Astra + Codex Pipeline? 100X faster you are Day 1. And the code is close to perfect.
If not, you have work on those Prompts. Suggest people move on, if you can envision it, you can build it with Astra.
It’s kind of mind-blowing actually. 2126 AI is here today. We were just not ready for this it seems.
0
u/[deleted] Sep 28 '26
[deleted] — view deleted comment