Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Local OpenCode SidebarNew to Visual Studio Code? Get it now.
Local OpenCode Sidebar

Local OpenCode Sidebar

Thebitbang

| (0) | Free
Chat with OpenCode from a VS Code sidebar webview.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

OpenCode Sidebar Extension

OpenCode Sidebar is a Visual Studio Code extension that adds a native chat panel connected to an OpenCode-compatible API endpoint (local or remote).

Prerequisites

  • Docker installed and running
  • OpenCode container available on port 8080 (or your configured endpoint)

Start OpenCode with:

docker run -d -p 8080:8080 --name opencode ghcr.io/anomalyco/opencode

Build and Package

Install dependencies:

npm install

Compile TypeScript checks:

npm run compile

Build bundle:

npm run build

Create a VSIX package:

npm run package

Usage

  1. Launch the extension host from VS Code/Visual Studio extension debugging.
  2. Open the OpenCode icon in the activity bar.
  3. Type a message in OpenCode Chat and send it.
  4. The extension posts your messages to ${opencode.apiEndpoint}/v1/chat/completions using opencode.model.

Settings

  • opencode.apiEndpoint (default: http://localhost:8080)
  • opencode.model (default: default)

Use command palette commands:

  • OpenCode: Open Settings
  • OpenCode: Clear Chat
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft