← Back to context

Comment by theowaway213456

9 hours ago

How do you even write a harness that can use a Claude subscription? I thought it was not allowed by Anthropic's ToS and can get you banned?

I don't use Claude, but it appears it is permitted to use Claude as a stdin/stdout -communicated tool using JSON, or use Claude SDK, with the monthly plans. Monthly Max/Team plans also include credits that could be used directly via the API: https://support.claude.com/en/articles/17154008-monthly-api-... .

E.g. OpenCode can be used with all three methods. Looks like it needs a plugin for the two Claude methods, though.

That’s a different discussion.

  • I suspect a lot of people wouldn't use AI if they had to pay per token at current rates. Yes, it's technically a different discussion, but "just write your own harness" isn't really an answer for the vast majority of us riding on the investor-subsidized subscription plans.

If you're using the sub, only OpenAI (via the OAuth token) is viable. Claude is API_KEY only