logoalt Hacker News

BoorishBearstoday at 4:47 AM1 replyview on HN

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.


Replies

azuanrbtoday at 4:56 AM

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...

show 1 reply