OpenCode
Install OpenCode and run it in Zekoder.
Zekoder runs OpenCode through your installed opencode CLI. It uses your existing credentials and configuration.
Getting started
OpenCode is built in and enabled by default.
- Install OpenCode on your host:
npm install -g opencode-ai - Connect OpenCode to a model provider, and make sure
opencoderuns in a terminal. - In Zekoder, choose OpenCode when you start an agent.
If you use OpenCode v2, install version 2.0.10 or later. Zekoder rejects older v2 versions.
If opencode is outside the daemon's PATH, set a command override (see Supported providers).
Modes
Zekoder shows OpenCode agents as modes.
| Mode | Effect |
|---|---|
| Build | Allows edits and tool execution. |
| Plan | Read-only planning. OpenCode avoids file edits. |
Primary agents that you define in OpenCode appear in the same list.