Bring the full power of OpenCode v2 — the autonomous AI coding agent — directly inside Visual Studio 2026.
OpenCode is an open-source AI pair programmer that supports multiple AI providers (Claude, Gemini, OpenAI, and more) and can autonomously read, write, and refactor your code.
Features
Embedded AI Chat — Full OpenCode v2 interface inside a VS tool window (Ctrl+Alt+O)
Open files from chat — Click any file reference in the chat to open it instantly in the editor
Git Changes integration — The "Alteração" tab redirects to VS native Git Changes
Add to Chat — Right-click selected code → "Adicionar ao OpenCode Chat" to send it to the agent
Persistent settings — Preferences are saved across Visual Studio restarts
Auto-restart — The OpenCode server restarts automatically if it stops
Theme sync — Automatically adapts to Visual Studio's light/dark theme
Multi-instance — Supports multiple VS windows open simultaneously