r/CommandCode • u/spicyfiremelon • Sep 03 '26
Using ComandCode on other harness?
Is there any way to use CommandCode provider in other harnesses, e.g. pi or opencode cli?
If yes, I really need to know how. Thanks
9
Upvotes
6
u/Bitter-College8786 Sep 03 '26
Yes it works, I do with OMP and Hermes. I have GOAT plan
3
u/songokussm Sep 03 '26
You have to have at least the goat plan. Then generate an API key. It would just like all other providers.
5
u/lincolnthalles Sep 03 '26
Yes, with the GOAT plan or better.
Unfortunately, they don't play very nicely with the ecosystem and don't maintain an API with full model data or contribute it to models.dev.
But you can add it to OpenCode by merging this into your
opencode.jsonfile:Then, run
opencode models --refresh.To have the full model info available on the harness, you must explicitly list each model, like the entry for
deepseek/deepseek-v4-flash.OpenCode and other tools automatically source this from models.dev. CommandCode hardcodes it in its harness.
3
u/maedahbatool Sep 03 '26
Via the provider API: https://commandcode.ai/docs/provider
1
u/ShallotDue3000 Sep 05 '26
i use Pi.