Use GLM with Jobwright
Install OpenCode, connect Z.AI, then select OpenCode in Jobwright.
Before you start
- Use Z.AI API access or the Z.AI Coding Plan option that matches your GLM Coding Plan.
- Install the agent in the same operating-system environment as Jobwright. A Windows install cannot use an agent that exists only in WSL.
Install the agent
curl -fsSL https://opencode.ai/install | bashnpm install -g opencode-aicurl -fsSL https://opencode.ai/install | bashSign in with the provider
Run OpenCode. Enter /connect and choose Z.AI. Complete provider access, then enter /models and choose a GLM model.
opencode
/connect
/modelsConnect it to Jobwright
Open Jobwright. Open Settings, then Local agents. Select Rescan and choose OpenCode. Continue after the agent shows Ready.
Open the official setup guide