-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
This guide walks you through installing opencode Studio and sending your first message.
opencode Studio requires the opencode CLI to be installed on your system.
opencode --versionIf opencode is not found, visit opencode.ai for installation instructions.
opencode needs at least one AI model provider configured (OpenAI, Anthropic, Google, Ollama, etc.).
Any of these: VS Code, Cursor, Windsurf, Antigravity, VSCodium, or code-server.
- Open Extensions (
Ctrl+Shift+X/Cmd+Shift+X) - Search "opencode Studio"
- Click Install
Cursor/Windsurf/Antigravity/VSCodium pull from Open VSX automatically.
- Download the latest
.vsixfrom GitHub Releases - Extensions →
⋯→ Install from VSIX…
code --install-extension martian7777.opencode-studioClick the opencode icon in the Activity Bar. The extension will:
- Detect your workspace
- Spawn
opencode serveon a random port (or use SDK fallback if spawn fails) - Connect and subscribe to the SSE event stream
A blue banner shows "Starting opencode server…" while it launches.
In the header, select a mode from the dropdown:
| Mode | When to use |
|---|---|
| ✋ Manual | Learning / reviewing — you approve every action |
| ⚡ Auto (default) | Daily use — safe things auto-run, risky things prompt |
| ⏩ Bypass | Trusted tasks — everything runs without asking |
| ◔ Plan | Architecture/design — read-only, no file edits |
Type a message and press Enter:
Explain the structure of this project
-
Paste from clipboard (
Ctrl+V/Cmd+V) - Drag and drop onto the input area (a dashed drop zone appears)
- Click 📎 Attach to pick files
Type @ to fuzzy-search workspace files:
@src/components/Header.tsx refactor this to use a custom hook
Type / to see available opencode commands:
/compact summarize the current conversation
In Manual or Auto (risky) mode, tool actions pause for your approval:
- Allow Once — run this one time
- Always Allow — auto-approve this pattern going forward
- Reject — deny the action
Click the ■ Stop button (replaces Send while generating) to cancel.
- 📖 Features Guide — Learn all features in detail
- ⚙️ Configuration — Settings, modes, and keyboard shortcuts
- 🔧 Troubleshooting — Fix common issues