Remix.run Logo
adastra22 4 hours ago

The Claude Agent SDK is explicitly disallowed from subscription use, as of a few days ago.

BoorishBears an hour ago | parent [-]

No it's not. You can't offer OAuth + the Claude Agent SDK in your own product, but you can use Claude Agent SDK locally by signing in through Claude Code.

It's no different than using Claude Code directly.

azuanrb an hour ago | parent [-]

I’m aware of the tweet that says otherwise, but until they update their legal documentation, it’s still not allowed.

> OAuth authentication (used with Free, Pro, and Max plans) is intended exclusively for Claude Code and Claude.ai. Using OAuth tokens obtained through Claude Free, Pro, or Max accounts in any other product, tool, or service — including the Agent SDK — is not permitted and constitutes a violation of the Consumer Terms of Service.

https://code.claude.com/docs/en/legal-and-compliance#authent...

BoorishBears 44 minutes ago | parent [-]

It's not about a tweet, just read your own quote.

You cannot authenticate with anything but Claude Code and Claude.ai.

But you do not need to authenticate with Claude Agent SDK (even though you can using env variables).

When you authenticate with Claude Code (allowed), Claude Agent SDK works without any further authentication.

It's really annoying that people keep trying to make this complicated because the inevitable end result is that they remove authless usage of the Agent SDK and save themselves the headache.

I really hate Clawdb-Moltb-OpenC-NanoCode or whatever half-baked project the grifters are on this week for ruining a good thing for the rest of us.