For more info on how to configure opencode head over to our docs.
To run OpenCode locally you need.
- Bun
- Golang 1.24.x
And run.
$ bun install
$ bun dev
This fork is making use of the client / server architecture here, to edit code and arrange agents where the providers are running them. Cloudflare specifically.
API Client: After making changes to the TypeScript API endpoints in
API Client generation is now done in tree, so the Go TUI application can be modified however you like and you dont have to ask noone for nutt'in.packages/opencode/src/server/server.ts, you will need the opencode team to generate a new stainless sdk for the clients.
It's very similar to Opencode in terms of capability. Here are the key differences:
- 100% open source
- Not coupled to any provider. Although Anthropic is recommended, OpenCode can be used with OpenAI, Google or even local models. As models evolve the gaps between them will close and pricing will drop so being provider-agnostic is important.
- A focus on TUI. OpenCode is built by neovim users and the creators of terminal.shop; we are going to push the limits of what's possible in the terminal.
- A client/server architecture. This for example can allow OpenCode to run on your computer, while you can drive it remotely from a mobile app. Meaning that the TUI frontend is just one of the possible clients.
The other confusingly named repo has no relation to this one. You can read the story behind it here.