FA©26

Case study

OpenCode Chat for VS Code

Role
Product · Engineering
Status
Own product
In one line
The OpenCode agent in a VS Code sidebar, its tool calls streamed live.

A VS Code extension that puts the OpenCode AI coding agent in a sidebar chat panel and streams its tool calls as progress steps.

01 — The problem

Terminal coding agents are capable, but following what one is doing means switching between the editor and a terminal pane, and losing track of which file it's touching. The agent's steps belong next to the code.

02 — What I built

  • Sidebar chat

    A webview chat panel inside VS Code.

  • Live tool steps

    Tool calls appear as progress steps while the agent works.

  • End-to-end tests

    Playwright suites for abort, generation, permissions, prompts and sessions.

03 — How it runs

The flow — Prompt in the sidebar, then OpenCode session starts, then Tool calls stream in, then Shown as progress steps, then Approve or abort.
  1. Prompt in the sidebar
  2. OpenCode session starts
  3. Tool calls stream in
  4. Shown as progress steps
  5. Approve or abort

04 — Proof

  • End-to-end tests
  • Packaged builds

Honest note

Packaged as .vsix builds; not on the VS Code Marketplace.

05 — Stack

  • TypeScript
  • VS Code Extension API
  • @opencode-ai/sdk
  • Vite
  • Vitest
  • Playwright
  • pnpm

Next project

SolidMake

Describe the part. Get the STEP file.