# Sidecar for OpenCode > A free, open-source VS Code extension that gives the OpenCode coding agent a chat panel beside your code: every step on one timeline, live subagents you can stop, and permission requests answered where you type. Sidecar for OpenCode is an independent community project, not affiliated with OpenCode. It is free and MIT licensed, collects no telemetry, and runs in VS Code, Cursor, Windsurf, VSCodium. Extension ID: cadogy.opencode-sidecar. ## Links - [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=cadogy.opencode-sidecar): install for VS Code - [Open VSX](https://open-vsx.org/extension/cadogy/opencode-sidecar): install for Cursor, Windsurf and VSCodium - [Source code](https://github.com/charlesknapp/opencode-sidecar): MIT licensed, with the full README - [Demo video](https://www.youtube.com/watch?v=_KMBRo7zrMw): one minute of the real extension - [OpenCode](https://opencode.ai): the coding agent Sidecar works with ## Features - **Every step on one timeline**: Each prompt gets a timeline of what the agent did: thinking time, every tool call with its input and output, and edits as diffs with your theme's syntax colors. Click an edit to open it in VS Code's own diff editor. - **Live subagents you can stop**: Each subagent shows its task, its exact prompt, what it is doing right now, and its tool count and time. Stop any of them, or open one into its own conversation. Its report comes back as one line you can expand. - **Nothing is approved for you**: Permission requests and questions, including those raised deep inside a subagent, wait in place of the message box until you answer. You can also tell the agent what to do instead. - **Budget Guard**: Set a local limit on cost and steps for each task. When a task runs away, Budget Guard stops it, and you decide whether to continue once, raise the budget or start over. - **Everything at hand in the message box**: Type @ to mention a file, folder, subagent or skill, paste a screenshot, and open / for OpenCode's commands, including your own. Steer a running task or queue the next message, and rewind or fork from any prompt. - **One timeline for the whole session**: Prompts stay pinned while you read their turn, answers can be copied or bookmarked, and sessions you start in OpenCode's terminal UI show up here too, because they are OpenCode's own. ## FAQ ### What is Sidecar for OpenCode? A free, open-source VS Code extension that gives the OpenCode coding agent a full chat interface inside the editor. It works with the OpenCode 2 service already on your machine. ### Is there an OpenCode GUI or chat sidebar for VS Code? Yes: Sidecar is one. Install it from the Extensions view (search “OpenCode Sidecar”), click the Sidecar icon, and chat with OpenCode in a panel beside your code. It needs the OpenCode 2 service on your machine; the setup card helps install and start it. ### Does it work in Cursor, Windsurf or VSCodium? Yes. Those editors install extensions from Open VSX, where Sidecar is published as cadogy.opencode-sidecar. ### Which OpenCode versions does it support? OpenCode 2.x, with its background service running. OpenCode 1.x is not supported. ### Can I use local models, such as Ollama or LM Studio? Yes, if they are set up as a provider in OpenCode. Sidecar uses whatever models OpenCode offers, so any provider OpenCode supports works here too. ### Is it official? No. It is an independent community project and is not affiliated with OpenCode. The official OpenCode extension is sst-dev.opencode. ### Do I need an API key, and what does it cost? Sidecar is free and needs no key of its own. It uses the models you have in OpenCode: OpenCode's free models, your OpenCode account, or any provider you connect in OpenCode. Model costs are between you and your provider. ### Does it work with my existing OpenCode sessions? Yes. Sessions are OpenCode's, so the ones you started in the terminal UI appear in History, and changes made in either place show up in the other. ### Does my code leave my machine? Sidecar sends your prompts and the files you attach only to your local OpenCode service, and it collects no telemetry. What OpenCode then sends to a model provider is decided by OpenCode and your configuration. ### Which platforms does it run on? Wherever VS Code 1.95+ and OpenCode 2.x run: Windows, macOS and Linux. It needs a trusted workspace.