r/opencode • • 8m ago

Help with setups that mix API with local AI agents?

I've tried OpenCode and like it a lot as a harness, both for API usage and running local models.
Right now my process uses DS4.1FLASH1017 (API) for spec and review, with local Q3.8FN through Basalt for coding, but it's a manual swap. I haven't really figured out a way to assign the local model to the API model as a subagent.

I remember dsh had a method to do that, but I stopped using it for a variety of other reasons.
It'd be even better if I could assign it a number of specialized local models and It'd just spawn the agents it needs, like a crazy fast embeddings model, or a low temp small model for bash tasks.

2 Upvotes

0 comments sorted by