Comment by pests

4 days ago

DeepSeek does. The entire thing is composed on plugins, using a framework called Cordis. Everything is a plugin. All the tools, the models, plan mode, file system access, everything. You can change anything anywhere, even reconfiguring active plugins deep internally. Cordis provides an effect system so everything can be rewound on uninstall time. This is how people run local models or just other major models, just by writing a new plugin to talk to whatever instead of the deepseek api. The agent loop itself is a plugin and can be swapped out.

https://github.com/cordiverse/cordis

you dont need to build a plugin to use local models with DSH. you can configure models and providers freely by default.

From what I read, OpenCode V2’s design is similar. It’s built around Effect, which seems to be gaining steam as a framework for building correct software.

Cordis also looks interesting as an alternative, but appears more bound to DSH rather than a more general thing (which I prefer).