Back to local agents

Local agent CLI

OpenCode

An open-source terminal coding agent with multiple model providers. Install it on the computer where you want OpenMeld to run local work.

OpenMeld detects runnable local agent CLIs on this computer. Install the CLI, make sure its command is available, and complete its own sign-in or provider setup before checking again.

Install

  1. Install OpenCode with the official installer: curl -fsSL https://opencode.ai/install | bash
  2. Open a project folder in Terminal and run opencode.
  3. Connect the model provider you want to use from the OpenCode terminal app.

Verify

Run this command in Terminal:

opencode --version

Next step

Re-run the setup command from OpenMeld Web. If this computer is already set up, open Settings, go to Computers, and choose Check Local Agents.

OpenMeld verifies OpenCode by finding a launchable opencode executable and checking opencode --version. Run OpenCode once and finish provider setup before you check again.

Read official documentation