OpenCode in the browser
Use the real OpenCode CLI from Chrome, Safari, Firefox or Edge: EnvHaven runs it on an always-on Linux workspace you open in a tab, signed in once from the Launch menu, with VS Code and a public preview URL beside it.
Updated November 23, 2026 · Checked against OpenCode 1.18.32 in EnvHaven v1.9.0
OpenCode is a terminal program, so using it from a browser takes a terminal in a tab and a machine behind it. An EnvHaven workspace is both: a Linux server of its own with OpenCode built in, opened from any browser on any device, and left running when the tab closes.
OpenCode in your browser with EnvHaven
- Open your workspace in Chrome, Safari, Firefox or Edge.
- Tap Launch, choose OpenCode and tap Sign in: it runs
opencode providers loginfor you in the terminal. For an API key, choose Set key instead and pasteANTHROPIC_API_KEY,OPENAI_API_KEY,GEMINI_API_KEYorGOOGLE_API_KEY; the workspace keeps it write-only. - Start it with one tap: signed in, OpenCode gets a green dot in the Launch menu and an icon in the workspace’s top bar. Support is built in (1.18.32), so there is nothing to install or update.
- Give it a task. The image sets
OPENCODE_PERMISSION={"*":"allow"}, so OpenCode never asks. - Edit the files it touches in the same browser: the workspace’s Web IDE is VS Code, open on the same folders, and its terminal is the same session.
- Open what it builds at the workspace’s preview address, a public HTTPS URL that serves port 3000, or ask OpenCode to point it at the port its server uses.
It is the real OpenCode CLI, version 1.18.32: every flag, command and MCP server works as in a local terminal, alongside 16 other agents you can switch to from the same Launch menu.
Anomaly’s own options
opencode webserves a browser interface from the machine it runs on, andopencode servewithopencode attach <url>connects a terminal to it from elsewhere.- An OpenCode mobile app (iPhone through TestFlight, Android on Google Play) starts and steers sessions.
A workspace sits beside these as a machine you keep: your own files and processes, any of 17 agents, ports and a public URL, Docker on Plus and Pro, and no idle shutdown.