All plugins

opencode

Agent·runs opencode·by Hivemind

The opencode terminal agent; its models are read from the CLI itself.

hive agents install opencode

Source and documentation →

What it asks for

Hivemind shows you this same list before it installs, and will not add this plugin automatically because of it.

What it can do on the canvas

scrape-only status and no turn signal — drive it by hand on the canvas; `hive ctl read` / `hive ctl workflow` cannot gather from it.

Options

Set per tile, before the agent starts.

Installing the CLI itself

Hivemind runs a command that is already on your machine — it never installs one for you. This is the publisher's own instruction.

curl -fsSL https://opencode.ai/install | bash

The manifest

The whole file, as the app reads it. Everything above is derived from it.

Read agent.yaml
# opencode — built-in provider manifest.
# Authoring format for the def half. See packages/hive-agents/src/manifest.ts.
manifestVersion: 1
id: opencode
label: opencode
bin: opencode
aliases:
- open-code
enabled: true
caps:
  promptDelivery: typed
  turnSignal: false
  resume: none
  supervise: human
  blockedDetection: true
icon:
  viewBox: -3 6 30 30
  attrs:
    fill: currentColor
  shapes:
  - path:
      d: M18 30H6V18H18V30Z
      opacity: '0.65'
  - path:
      d: M18 12H6V30H18V12ZM24 36H0V6H24V36Z
options:
- id: mode
  label: Approval
  values:
    auto:
    - --auto
- id: model
  label: Model
  flag: --model
  list:
    args:
    - models
install:
  url: https://opencode.ai/docs/
  command: "curl -fsSL https://opencode.ai/install | bash"
detect:
  rules:
  - when:
      any:
      - containsCS: △ Permission required
      - all:
        - contains: esc dismiss
        - any:
          - contains: enter confirm
          - contains: enter submit
          - contains: enter toggle
        - any:
          - containsCS: ↑↓ select
          - containsCS: ⇆ tab
    then: blocked
  - when:
      helper: hasInterruptPattern
    then: working
  default: idle
note: scrape-only status and no turn signal — drive it by hand on the canvas; `hive ctl read` / `hive
  ctl workflow` cannot gather from it.