~/.config/opencode/
Global opencode.json, AGENTS.md, commands/, skills/, and plugins/. A crashing desktop app is often a plugin. Empty the plugin key and relaunch. See desktop troubleshooting.
01 / Capabilities
Every heading below is a named capability from the homepage, intro, TUI, agents, or permissions docs. To install, skip to the download page.
The homepage calls this “any editor”: a terminal interface, a desktop app, and an IDE extension. Desktop is the surface that added tabs for active sessions. The download page still lists Terminal first, then Desktop, then Extensions.
TUI config lives in tui.json (theme, keybinds, cursor, attention sounds). Runtime config lives in opencode.json. They are not the same file.
A blank desktop window on Windows is usually WebView2. That walkthrough is in guides.
“Any model” means 75+ LLM providers through Models.dev, including local models. /connect adds a provider. Models are referenced as provider/model, for example openai/gpt-4.1 or opencode/kimi-k2.
| Path | What it is |
|---|---|
| /connect | Add a provider and paste an API key, or sign in to Copilot, ChatGPT, Claude, or Zen. |
| /models | Open the picker. Run opencode models in a shell to list what you can actually call. |
| OpenCode Zen | Handpicked models the project tested for coding agents, so provider quality is less of a lottery. |
| GitHub Copilot | Log in with GitHub. v1.18.31 requests summarized adaptive thinking for Copilot models. |
| ChatGPT Plus/Pro | Log in with OpenAI. v1.18.29 fixed gpt-6-astra visibility for OpenAI subscription users. |
| Local models | The homepage and FAQ both say you can connect local models through the same provider list. |
Since v1.1.1 the old tools boolean is folded into permission. Each rule is allow, ask, or deny. opencode --auto approves asks that are not denied.
git * and deny rm *.*.env and *.env.* default to deny. *.env.example stays allow.Config lives in well-known folders. These paths are the ones the cheatsheet actually names.
Global opencode.json, AGENTS.md, commands/, skills/, and plugins/. A crashing desktop app is often a plugin. Empty the plugin key and relaunch. See desktop troubleshooting.
Per-project config, commands, skills, and plugins. Agent markdown can set mode: subagent and deny edit so a reviewer cannot write files.
Lists configured MCP servers and their connection status. Permission keys can target a server with patterns such as mymcp_*.
The download page headline: organize work and active sessions with tabs on macOS, Windows, and Linux.