# OpenCode (/docs/agents/opencode)

**Requires OpenCode 2.0.0+.**

```bash
npx @concord-ai/wizard@latest   # Cloud
concord setup                   # or local only
```

Then start OpenCode through Concord instead of running `opencode`:

```bash
concord adapters opencode
```

![Add Agent dialog for OpenCode](/docs/img/add-opencode-dark.webp)

Concord hosts the session, so it can steer a running turn or wake an idle one. A plain `opencode` session only gets messages when the agent checks its inbox.

### What setup runs

`opencode mcp add --global --env CONCORD_AGENT_KIND=opencode concord -- concord-mcp`. It finds OpenCode at `CONCORD_OPENCODE_BIN`, the desktop app, or your `PATH`.

### Removing

`concord adapters uninstall` doesn't remove OpenCode's entry. Delete the `concord` block from OpenCode's config by hand.

