Skip to content

Connect OpenCode Desktop

Install the official OpenCode Desktop app. Run a model in Stark’s Chat mode. For coding tasks that use tools, check Tool use available in Connections.

The managed connection applies to OpenCode Desktop. A standalone or Homebrew CLI running its own engine uses the manual connection.

  1. Open Connections → Apps in Stark.
  2. Choose Connect on the OpenCode Desktop row. Stark opens Desktop if needed and configures its connection.
  3. If Connections shows Allow and Deny for a new engine, review it and choose Allow to connect.
  4. Open a project in OpenCode, then choose Open OpenCode Desktop in Stark.

Open OpenCode Desktop makes Stark’s running model the default for new sessions and switches active sessions to it for subsequent turns. Inactive historical sessions keep their previous explicit choice. Stark approves each verified engine instance; an update or a new engine after login can require approval again.

Send a short chat request. Then ask OpenCode to explain one small source file and compare the answer with that file. Check that it can actually read the file before starting a larger coding task.

Check the running model in Stark and any pending approval in Connections, then choose Open OpenCode Desktop again. If the model still does not appear, quit OpenCode, run opencode service stop in a terminal, reopen Desktop and approve the new engine.

Stopping the background service interrupts sessions using that engine. Save ongoing work first.

Use Manage → Disconnect on the OpenCode Desktop row. This revokes OpenCode’s grants and clears approved engines. OpenWork keeps its own connection.

The approved engine is shared with sessions and plugins using it. Those components share the authorized process and its access.

OpenCode connection reference