Comment by NezArk
6 hours ago
You can. Anthropic documents it: the Agent SDK and claude -p work signed in with your Claude plan and draw from your normal subscription limits. https://support.claude.com/en/articles/15036540-use-the-clau...
We build a desktop app on top of the SDK, so I've spent a lot of time on that page.
Not true any more, read the note at the top of that page. They give you API credits but it's limited.
Anthropic employees clarified in HN comment threads that the API credits are in addition to the existing behavior and not a replacement. Other harnesses can still call the Claude Code CLI and use the subscription quota that way.
Tbh I think Thariq or one of the others passively hinted/suggested but didn't come out and make a categorical statement. I've seen anecdotal evidence of folks getting those extra data messages in various "not using the official harness" scenarios, but there's way more people like you who are not having issues.
…have you read that note? Specifically the last half?
The wording is ambiguous but empirically when I last ran claude -p as part of a job it drew from my $200 API credit.
4 replies →