3 ms·
Wait we can't use claude -p around other tools? What is the point of the JSON SDK then? Anthropic is confusing here, ugh. edit: And specifically i'm making an
by unshavedyak 6mo ago
Wait we can't use claude -p around other tools? What is the point of the JSON SDK then? Anthropic is confusing here, ugh.
edit: And specifically i'm making an IDE, and trying to get ClaudeCode into it. I frankly have no clue when Claude usage is simply part of an IDE and "okay" and when it becomes a third party harness..
- grafmax 6mo agoThey’re shooting themselves in the foot with these dumb restrictions.
- taytus 6mo agoThey are not dumb restrictions. They just don't have the compute. That is the dumb part. Dario did not secure the compute they need so now they are obviously struggling.
- dgellow 6mo agoTheir growth over the past months has been more than insane. It’s completely expected they don’t have the compute. You don’t have infinite data centers around
- taytus 6mo agoLike or not, openai isn't having the same compute strain, meaning this was predictable.
- rogerrogerr 6mo agoOr, Anthropic has better models and is experiencing higher demand because of that. Or, OpenAI was reckless in securing compute.
- dgellow 6mo agoOr that they were more likely to take risks. It’s not clear to me that what anthropic did is a mistake, they didn’t have the same level of capital and OpenAI is taking extreme risks with their compute commitment. It’s really not obvious that won’t backfire
- joshstrange 6mo agoThe restrictions are dumb not because they're lower than any of us want them to be, but because they're unclear. Every time Claude comes up on Hacker News, someone asks this question. And every time people chime in to agree that they also are unclear or someone weighs in saying, no, it's totally clear, while proceeding not to point at any official resource and/or to "explain" the rules in a that is incompatible with official documentation. Example: https://news.ycombinator.com/item?id=47737924 https://news.ycombinator.com/item?id=47737924
- taytus 6mo agoYou are arguing something different. My point is that they must apply these restrictions. Do I think they could have calculated their growth a little better? Yes, of course, but hindsight is 20/20.
- joshstrange 6mo agoWe might be talking past each other, I promise I'm not just trying to argue. > My point is that they must apply these restrictions. I fully understand and respect they need restrictions on how you can use your subscription (or any of their offerings). My issue is not there there _are_ restrictions but that the restrictions themselves are unclear which leads to people being unsure where the line is (that they are trying not to cross). Put simply: At what point is `claude -p` usage not allowed on a subscription: - Running `claude -p` from the CLI? - Running `claude -p` on a Cron? - Running `claude -p` as a response to some external event? (GH action, webhook, etc?) - Running `claude -p` when I receive a Telegram/Discord/etc message (from myself)? Different people will draw the line in different places and Anthropic is not forthcoming about what is or is not allowed. Essentially, there is a spectrum between "Running claude by hand on the command line" and "OpenClaw" [0] and we don't know where they draw the line. Because of that, and because the banning process is draconian and final with no appeals, it leads to a lot of frustration. [0] I do not use OpenClaw nor am I arguing it should be allowed on the subscription. It would be nice if it was but I'm not saying it should be. I'm just saying that OpenClaw clearly is _not_ allowed but `claude -p` wouldn't be usable at all with a subscription if it was completely banned so what can it (safely) be used for?
- mcmcmc 6mo agoIt’s dumb to piss off their customers with confusing rule changes instead of just raising their prices to deal with high demand. They might even make a profit
- hmokiguess 6mo agoWouldn't ACP be better for an IDE? https://agentclientprotocol.com/get-started/introduction https://agentclientprotocol.com/get-started/introduction
- unshavedyak 6mo agoPossibly, though at first i was entirely focusing (and still am) on Claude Code usage. Given that CC had an API, i figured its own SDK would update faster/better/etc to new Claude features that Anthropic introduces. I'm sure ACP is a flexible protocol, but nonetheless i was just aiming for direct Claude integration.. and you know, it's an official SDK, seemed quite logical to me. It would be absurd to me if the same application is somehow allowed via ACP but not via official SDK. Though perhaps the official SDK offers data/features that they don't want you to use for certain scenarios? If that were they case though it would be nice if they actually published a per-SDK-API restrictions list. That we're having to guess at this feels painful. edit: Hah, hilariously you're still using the SDK even if you use ACP, since Claude doesn't have ACP support i believe? https://github.com/agentclientprotocol/claude-agent-acp https://github.com/agentclientprotocol/claude-agent-acp
- adastra22 6mo agoACP is the SDK. They renamed it.
- BoorishBears 6mo agoWhere did you see that? The only rename I'm aware of is Claude Code SDK becomimg Claude Agent SDK, but that was still seperate from ACP
- adastra22 6mo agoThank you. Sorry, was a brain fart.
- unshavedyak 6mo agoYou're implying that Claude's SDK is a native ACP implementation?
- cortesoft 6mo agoI was pretty sure that claude -p would always be fine, but I looked at the TOS and it is a bit unclear. It says in the prohibited use section: > Except when you are accessing our Services via an Anthropic API Key or where we otherwise explicitly permit it, to access the Services through automated or non-human means, whether through a bot, script, or otherwise. So it seems like using a harness or your own tools to call claude -p is fine, AS LONG AS A HUMAN TRIGGERS IT. They don’t want you using the subscription to automate things calling claude -p… unless you do it through their automation tools I guess? But what if you use their automation tool to call your harness that calls claude -p? I don’t actually know. Does it matter if your tool loops to call claude -p? Or if your automation just makes repeated calls to a routine that uses your harness to make one claude -p call? It is not nearly as clear as I thought 10 minutes ago. Edit: Well, I was just checking my usage page and noticed the new 'Daily included routine runs' section, where it says you get 15 free routine runs with your subscription (at least with my max one), and then it switches to extra usage after that. So I guess that answers some of the questions... by using their routine functionality they are able to limit your automation potential (at least somewhat) in terms of maxing out your subscription usage.