2026-11-27 16:24 UTC

OpenCode server and TUI run inside a Chrome tab via relay

state: expiredheat: lowuncertainty: mediumrelevance: mediumagent-harnesses browser-execution coding-agents opencodekkrausse

What is this?

Developer kkrausse’s browser-agent-toolkit runs a largely unmodified OpenCode server and TUI inside a Chrome desktop tab, rather than reimplementing the agent. The demo says its app, dev server and agent run in the tab; a relay handles network traffic because of browser CORS restrictions, and the author says it carries encrypted bytes. It is an embeddable project, not a hosted service, and currently requires Chrome desktop; the first load is about 45 MB. The evidence is the developer’s Show HN post and linked demo, not an independent technical review.

Why it matters

This is a useful browser-execution experiment: rather than porting OpenCode to WebAssembly, it runs a mostly unmodified server and TUI inside a Chrome tab, potentially making an agent-powered development environment easier to embed in a web app. It is a developer demo, not evidence of a broadly usable or secure deployment pattern; Chrome desktop support, a roughly 45 MB first load, and reliance on a relay are notable constraints.

Current assessment

The developer’s Show HN post and linked demo describe a Vite/React app running the OpenCode server, TUI, dev server and agent in the browser tab. The author says a relay is needed because of CORS, carries only encrypted bytes, and is a public Wisp server by default; the post also says TLS runs in the tab. It is embeddable rather than hosted, currently Chrome desktop only, and has an approximately 45 MB first load. The author reports sign-in using a ChatGPT plan via device code and that OpenCode’s free tier works “for now.” These are project-author claims, not independently verified security or compatibility findings. The web results show other ways to expose OpenCode through a browser, including a remote server and a sandbox, but do not verify this demo’s implementation or establish its novelty relative to WASM-based projects such as KISS. Worth tracking as an alternative deployment approach for coding agents, especially if it gains broader browser support or clearer security documentation; the evidence does not yet show adoption, reliability, or comparative performance.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

10-11 16:21⭐ origin directly observedShow HN: OpenCode server and TUI in a browser tab (Chrome desktop)
kkrausse on hacker news
—
10-11 16:21amplified on hacker news 👑hn.story.50044879
kkrausse
peak 1 · 0 comments · 105% of case engagement
10-11 17:30our radar first saw it · +1.2hdiscovery anchor: hn.story.50044879—

Evidence (1) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hn ⭐Show HN: OpenCode server and TUI in a browser tab (Chrome desktop)
Retrieved article excerpt

Open article · Retrieved 2026-10-11T17:40:45.948381+00:00

OpenCode


Close



```
Starting…
```

OpenCode server output

Everything here runs in this tab: the app, its dev server and the agent. The model is OpenCode's free hosted one (to use your ChatGPT plan: ctrl+p, Connect an integration, OpenAI, sign in with a code); requests to either leave through a relay that carries only encrypted bytes. [Source](https://github.com/kkrausse/browser-agent-toolkit)

OpenCode
kkrausse10

Interpretation history

Decision trace