← Back to context

Comment by try-working

5 days ago

DeepSeek Harness allows the user/agent to build its own plug-ins and run them without restart, mostly. Pi and OpenCode were then influenced to do the same in their respective new versions. I don't know which has the better implementation.

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

  • 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).

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

Yes, that’s the thing I had mainly been looking at as an alternative. It probably has a better culture around extensions, but also seemed a good bit more DIY, especially to get it working with a good UI.

I do not see where Pi does any automatic hot-reloading, though I believe there is a /reload command one has to run that can do this. Still new to Pi, if you have a link, I'd be appreciative.

This is all a stopgap until I have some time to go back to my personal/custom harness.

Do the plugins let you modify the UI? Got any favorites?

  • yes you can modify ui and everything else. i have a few dsh- plugins on my github (in profile), but i havent found any external ones yet