Live data from Hacker News

Anthropic Explicitly Blocking OpenCode

gist.github.com

101–110 of 164 posts

Re: Anthropic Explicitly Blocking OpenCode

#101
post #98

The title is misleading if you don’t read the whole text: Anthropic is not blocking OpenCode from the API that they sell. They’ve blocked OpenCode from accessing the private Claude Code endpoints. These were not advertised or sold as usable with anything else. OpenCode reverse engineered the API and was trying to use it. The private API isn’t intended for use with other tools. Any tool that used it would get blocked.

> Any tool that used it would get blocked. Isn't that misleading from Anthropic side? The gist shows that only certain tools are block, not all. They're selectively enforcing their ToS.

The gist showsmthat the first line ofmthe system prompt must be "You are Claude Code, Anthropic's official CLI for Claude."

That’s a reasonable attempt to enforce the ToS. For OpenCode, they also take the next step of additionally blocking a second line of “You are OpenCode.”

There might be more thorough ways to effect a block (e.g. requiring signed system prompts), but Anthropic is clearly making its preferences known here.

Re: Anthropic Explicitly Blocking OpenCode

#102
post #98

The title is misleading if you don’t read the whole text: Anthropic is not blocking OpenCode from the API that they sell. They’ve blocked OpenCode from accessing the private Claude Code endpoints. These were not advertised or sold as usable with anything else. OpenCode reverse engineered the API and was trying to use it. The private API isn’t intended for use with other tools. Any tool that used it would get blocked.

> Any tool that used it would get blocked. Isn't that misleading from Anthropic side? The gist shows that only certain tools are block, not all. They're selectively enforcing their ToS.

> The gist shows that only certain tools are block, not all.

Are those other phrases actually used by any tools? I thought they were just putting phrases into the LLM arbitrarily. Any misuse of the endpoint is detected at scale they probably add more triggers for that abuse.

Expecting it to magically block different phrases is kind of silly.

> They're selectively enforcing their ToS.

Do you have anything to support that? Not a gist of someone putting arbitrary text into the API, but links to another large scale tool that gets away with using the private API?

Seems pretty obvious that they’re just adding triggers for known abusers as they come up.

Re: Anthropic Explicitly Blocking OpenCode

#103
Soft plug: the team at nori just announced our own CLI today. Most people build on top of the provider layer, but we build on top of the agent layer. This means that you can use your subscriptions, and you get the benefit of getting the best system prompts and tools that the base models were fine tuned with.

Cliff posted a show hn earlier today here: https://news.ycombinator.com/item?id=46616562

Re: Anthropic Explicitly Blocking OpenCode

#104
post #50

Earlier quoted context omitted.

Is opencode that much better than Codex / Claude Code for cli tooling that people are prepared forsake[1] Sonnet 4.5/Opus 4.5 and switch to GPT 5.2-codex ? The moat is Sonnet/Opus not Claude Code it can never be a client side app. Cost arbitrage like this is short lived, until the org changes pricing. For example Anthropic could release say an ultra plan at $500-$1000 with these restrictions removed/relaxed that refl…

The combination of Claude Code and models could be a moat of its own; they are able to use RL to make their agent better - tool descriptions, reasoning patterns, etc. Are they doing it? No idea, it sounds ridiculously expensive; but they did buy Bun, maybe to facilitate integrating around CC. Cowork, as an example, uses CC almost as an infrastructure layer, and the Claude Agent SDK is basically LiteLLM for your Max s…

Why would they not be use RL to learn if its OpenCode instead of Claude Code?

The tool calls,reasoning etc are still sent, tracked and used by Anthropic, the model cannot function well without that kind of detail.

OpenCode also get more data if they to train their own model with, however at this point only few companies can attempt to do foundational model training runs so I don't think the likes of Anthropic is worried about a small player also getting their user data.

---

> it looks performative and I suspect many are not being honest.

Quite possible if they were leveraging the cost arbitrage i.e. the fact at the actual per token cost was cheaper because of this loophole. Now their cost is higher, they perhaps don't need/want/value the quality for the price paid, so will go to Kimi K2/ Grok Code/ GLM Air for better pricing, basically if all you value is cost per token this change is reason enough to switch.

These are kind of users Anthropic perhaps doesn't want. Somewhat akin to Apple segmenting and not focusing on the budget market.

Re: Anthropic Explicitly Blocking OpenCode

#106
post #86
post #35

Obviously Anthropic are within their rights to do this, but I don’t think their moat is as big as they think it is. I’ve cancelled my max subscription and have gone over to ChatGPT pro, which is now explicitly supporting this use case.

I hope the upcoming DeepSeek coding model puts a dent in Anthropic’s armor. Claude 4.5 is by far the best/fastest coding model, but the company is just too slimy and burning enough $$$ to guarantee enshitification in the near future.

I get way better results from Gemini fwiw.

Re: Anthropic Explicitly Blocking OpenCode

#107
post #64

This is definitely Barbara Streisanding right now. I had never heard of OpenCode. But I sure have now! Will have to check it out. Doubt I’ll end up immediately canceling Claude Code Max, but we’ll see.

OpenCode is kind of a security disaster though: https://news.ycombinator.com/item?id=46581095 . To be clear, I know all software has bugs, including security bugs. But that wasn't an obscure vulnerability, that was "our entire dev team fundamentally has no fucking clue what they're doing, and our security reporting and triage process is nonexistent". No way am I entrusting production code and secrets to that.

So is Claude. They nuked everyone's claude app a few days ago by pushing a shoddy changelog that crashed the app during init. Team literally doesnt understand how to implement try...catch. The thing clearly was vibe coded into existence.

Re: Anthropic Explicitly Blocking OpenCode

#108
post #64

This is definitely Barbara Streisanding right now. I had never heard of OpenCode. But I sure have now! Will have to check it out. Doubt I’ll end up immediately canceling Claude Code Max, but we’ll see.

OpenCode is kind of a security disaster though: https://news.ycombinator.com/item?id=46581095 . To be clear, I know all software has bugs, including security bugs. But that wasn't an obscure vulnerability, that was "our entire dev team fundamentally has no fucking clue what they're doing, and our security reporting and triage process is nonexistent". No way am I entrusting production code and secrets to that.

Last week Claude Code (CC) had a bug that completely broke the Claude Code app because of a change in the CC changelog markdown file.

Claude Code’s creator has also said that CC is 100% AI generated these days.

Re: Anthropic Explicitly Blocking OpenCode

#109
Everyone goes on and on how "anthtropic has the right to do this", sure, we also have the right to work around these blocks and fight against behavior that uses their position to create a walled garden and vendor lock-in using anti-competitive pricing and temporary monopoly on the 'best' model.

Re: Anthropic Explicitly Blocking OpenCode

#110

Everyone goes on and on how "anthtropic has the right to do this", sure, we also have the right to work around these blocks and fight against behavior that uses their position to create a walled garden and vendor lock-in using anti-competitive pricing and temporary monopoly on the 'best' model.

You're not wrong, but most people on this forum are generally positive about companies using private APIs (which this is) for a competitive advantage.

This is pretty undisputed I think... So if we're going to condemn anthropic for it, it'd be pretty one-sided unless we also took it up with any other companies doing so, like Apple, Google, ... And frankly basically all closed source companies.

It's just coincidentally more obvious with this Claude code API because the only difference between it and the public one is the billing situation...

The only basis we'd have to argue otherwise is that the subscription predates Claude code

https://www.anthropic.com/news/claude-pro (years ago)

But I didn't think we're strangers to companies pivoting the narrative like this

Post reply on HN