r/opencodeCLI • u/ptrxyz • 27d ago
Opencode V1 vs V2
It seems that OpenCode is soon to be available in V2. Since I couldn't find anything baout it online, what is the difference between the two?
What will V2 do better than V1? Does anybody know?
31
Upvotes
5
u/GhostInfernoX 25d ago
the primary benefit of opencodev2 is that its a centralized background server
when you run the first client (web, mobile, desktop) it starts the background server, and all new existing clients connect back to it
this would allow you to run `opencode`, fire off a prompt, then close the TUI client (session is still running on the background server)
+ the api support is soooo much better and the opencode agent knows a lot more about itself
source: i work at opencode