| ▲ | skippyboxedhero 7 hours ago | |
Because of OAuth. If they gave people API keys then no-one buys their ludicrously priced API product (I assume their strategy is to subsidise their consumer product with the business product). You can use Claude Code SDK but it requires a token from Claude Code. If you use this token anywhere else, your account gets shut down. Claude -p still hits Claude Code with all the tools, all the Claude Code wrapping. | ||
| ▲ | adastra22 4 hours ago | parent | next [-] | |
That’s not what this subthread is about. They’re talking about the subagent within Claude Code itself. Btw, you can use the Claude Agent SDK (the renamed Claude Code SDK) with a subscription. I can tell you it works out of the box, and AFAIK it is not a ToS violation. | ||
| ▲ | tobyjsullivan 6 hours ago | parent | prev | next [-] | |
I believe they’re talking about Claude Code’s built-in agents feature which works fine with a Max subscription. https://code.claude.com/docs/en/sub-agents Are you talking about the same thing or something else like having Claude start new shell sessions? | ||
| ▲ | TeMPOraL 5 hours ago | parent | prev | next [-] | |
> If they gave people API keys then no-one buys their ludicrously priced API product The main driver for those subscriptions is that their monthly cost with Opus 3.7 and up pays itself back in couple hours of basic CC use, relative to API prices. | ||
| ▲ | blibble 5 hours ago | parent | prev [-] | |
can't you just rip the oauth client secret out of the code? | ||