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?
E.g. OpenCode can be used with all three methods. Looks like it needs a plugin for the two Claude methods, though.
https://x.com/FlorianKluge/status/2041855675295318039
(Whether that's against the ToS is not clear.)
You can’t just use your Claude sub on a third party harness without getting blocked even if you use the Agent SDK. Apparently, Anthropic gives “credits” depending on your sub and you can use those _credits_ when you use third party harnesses or Claude -p mode. That usage is not the same Claude sub one would assume it is… It is all quite deceiving. Don’t get a Claude sub unless you’re okay with being locked into Claude Code…