Claude Max subscriber here: don't have an Anthropic API key but do have an oauth token that I can use with Claude Code (CLI or SDK). You can pass it via the CLAUDE_CODE_OAUTH_TOKEN env var and generate it from claude get-token.
Would the maintainers be open to a small PR that adds support for using the Claude Agent SDK as a supported client? Realizes this somewhat duplicates the Anthropic API client but has significant pricing differences for subscribers / hobbyists.
Thanks.
Claude Max subscriber here: don't have an Anthropic API key but do have an oauth token that I can use with Claude Code (CLI or SDK). You can pass it via the
CLAUDE_CODE_OAUTH_TOKENenv var and generate it fromclaude get-token.Would the maintainers be open to a small PR that adds support for using the Claude Agent SDK as a supported client? Realizes this somewhat duplicates the Anthropic API client but has significant pricing differences for subscribers / hobbyists.
Thanks.