r/opencode • u/Key_Reveal_7812 • 29m ago
I couldn't find an OpenCode extension for VS Code that worked well with my local models, so I built one
Each prompt lands on one timeline: what it read, what it ran, what it changed, then live subagents you can stop. (Full 60-second demo at the link.)
Subagents run live with their prompt and current activity. When one needs permission, the request waits in place of the message box until you answer.
https://marketplace.visualstudio.com/items?itemName=cadogy.opencode-sidecar
Tool calls you can read: file reads as links, edits as inline diffs with your theme's colours (click to open VS Code's diff editor), shell commands with their output.
When the agent asks a question, the options appear right where you type. You can always write your own answer instead.
I've been using OpenCode with local models for a while and wanted it inside VS Code instead of a terminal next to it. I tried a few of the extensions out there, but none of them did quite what I wanted, and on most of them I hit bugs that got in the way of using my local setup at all.
So I built my own. The goal was something that feels familiar if you've used other AI chat panels, covers as much of OpenCode as I could, and is genuinely nice to use day to day.
Here's a 60-second demo: https://youtu.be/_KMBRo7zrMw
The part I care about most is being able to see what the agent is doing. Each prompt gets a timeline: what it read, what it ran, what it changed, with the diffs opening in VS Code's own diff editor. Subagents show up live with their prompt and you can stop any of them. Permission requests wait right where you type, so nothing gets approved behind your back. You can steer a task while it runs, queue the next message, rewind to an earlier prompt or fork the conversation.
It runs on OpenCode's own API, so your sessions, models, agents and permission rules are just OpenCode's. A session you start in the TUI shows up in the panel and the other way round. It works with whatever models you've set up in OpenCode, local ones included, and it doesn't collect anything.
It's free and open source (MIT), and it's my own side project, not an official OpenCode thing.
- VS Code: search "OpenCode Sidecar" in Extensions
- Cursor / Windsurf / VSCodium: https://open-vsx.org/extension/cadogy/opencode-sidecar
- Source: https://github.com/charlesknapp/opencode-sidecar
If you try it, I'd really like to hear what breaks with your setup and what you'd want next.