Summarizer

Open Source vs Closed CLI

Debate over why Anthropic keeps Claude Code closed source when competitors like OpenAI Codex are open, with some arguing the real value is in models not tooling

← Back to The Claude Code Source Leak: fake tools, frustration regexes, undercover mode

The recent leak and subsequent DMCA takedown of thousands of Claude Code forks have sparked a heated debate over Anthropic's decision to keep its developer CLI closed source, a move many critics label as an "insecure" and futile attempt to protect a non-essential asset. Commenters argue that the real value lies in the proprietary models rather than the "vibe-coded" client tooling, which some describe as a disorganized "rats nest" that offers little "secret sauce" worth hiding. This secrecy is particularly baffling to developers who are reluctant to run closed-source "binary blobs" on their machines, leading to speculation that Anthropic is merely trying to gatekeep subscription access or shield future roadmap details from competitors. Ultimately, the community remains divided between those frustrated by the lack of transparency and those who continue to use the tool daily for its utility, regardless of the messy architecture underneath.

24 comments tagged with this topic

View on HN · Topics
My GitHub fork of anthropics/claude-code just got taken down with a DMCA notice lol It did not have a copy of the leaked code... Anthropic thinking 1) they can unring this bell, and 2) removing forks from people who have contributed (well, what little you can contribute to their repo), is ridiculous. --- DMCA: https://github.com/github/dmca/blob/master/2026/03/2026-03-3... GitHub's note at the top says: "Note: Because the reported network that contained the allegedly infringing content was larger than one hundred (100) repositories, and the submitter alleged that all or most of the forks were infringing to the same extent as the parent repository, GitHub processed the takedown notice against the entire network of 8.1K repositories, inclusive of the parent repository."
View on HN · Topics
Here's a codeberg fork I did: https://codeberg.org/wklm/claude-code
View on HN · Topics
wow, it's also not like their code was actually good (though this apply to most enterprise software). To hide a client behind closed source (it's also typescript, so even more baffling) is laughable behavior.
View on HN · Topics
Yea this is the thing that makes no sense to me. Any frontier model can unmiminize minified JS pretty decently. Obviously not everything comes through, comments and such, but I always assumed the reason it wasn't open source was to prevent an endless shitstorm of AI slop PR's, not because they were trying to protect secret sauce.
View on HN · Topics
Not much impact, Codex is already open source. The real value is in the model itself and the ability to use it with a subscription. Something you can't do legally with a clone of this code. The only thing I found interesting about this leak is just how much of a rats nest the code base is. Like it actually feels vibe coded without a shred of intelligent architecture behind it. Regardless, you can't beat the subscription and model access despite the state of the code base, so I still use Claude Code daily and love it.
View on HN · Topics
Exactly, we should be able to build on top of the tooling agents. They are a dime a dozen similar to the models. Power(money) lies with NVDA and people who can best harness this power.
View on HN · Topics
It is super weird that developers have to run a binary blob on their machines. It's 2026, all the major developer CLI tools are open-source anyway. What's the point for Anthropic to even make it secret?
View on HN · Topics
It's completely baffling to me why a client that must run on third party environment is behind closed source.
View on HN · Topics
So many clients run on third party environments, no?
View on HN · Topics
Yes, they should all be open source.
View on HN · Topics
I have yet to see such a company that's so insecure that they would keep their CLI closed source even when the secret sauce is in the model that they control already and is closed source. Not only that, wouldn't allow other CLIs to be used either.
View on HN · Topics
I'm glad it got leaked, I wish it came in a zip file in my email when I pay over 100$
View on HN · Topics
Sounds like there's still a lot of value in Typescript (otherwise they could have open sourced.) Plus there's demand for skilled TS software devs that don't ship your company's roadmap using a js.map 20,000 agents and none of them caught it...
View on HN · Topics
What effect will this have on their IPO? Can someone take the code and make a clone?
View on HN · Topics
it's just the client app, so you could make a clone but you'd still have to pay to use their servers.
View on HN · Topics
None. The magic is still in the model.
View on HN · Topics
You can use Claude Code with API mode (not a sub)
View on HN · Topics
fair but I'm guessing access would be limited to 20x max users or something like that. not gated by API.
View on HN · Topics
You can still use Claude Code with API-only.
View on HN · Topics
Why didn't they open the source themselves? What's the point of all this secrecy anyway?
View on HN · Topics
Because they (apparently) keep a bunch of secret features and roadmap details in said source code.
View on HN · Topics
A few weeks ago I was using Opus and Sonnet in OpenCode. Is this not possible anymore?
View on HN · Topics
It's still possible but if you do it using your Claude Max plan, it's technically no longer allowed. They don't want you using your subscription outside of Claude Code. Only API key usage is allowed. Google also doubled down on this and OpenAI are the only ones who explicitly allow you to do it.
View on HN · Topics
Does this mean I can now self host Claude?