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
Evidence (1) — ⭐ canonical anchor
| source | object | author | score | comments |
| 🟧 hn ⭐ | Show HN: OpenCode server and TUI in a browser tab (Chrome desktop)Retrieved article excerptOpen 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 | kkrausse | 1 | 0 |
Interpretation history
2026-10-24T01:23:36Z
audience grounding: medium — 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.
Decision trace
- 10-29 14:55expireexpired deterministically: single-evidence seed quiet 17 days (lifecycle)
- 10-24 12:23groundThis 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 developm
- 10-12 10:02attention_routeThe editor compared this story and chose to keep watching.
- 10-12 05:31attention_routeNovel in-browser deployment of a coding agent Scott tracks (OpenCode) with a relay architecture that matches his containment patterns. Independent corroboration of the browser-agent-runtime thesis. No
- 10-12 05:26attention_candidatecreate
- 10-12 05:21groundkkrausse's live OpenCode-in-browser demo independently validates the in-browser agent harness pattern that Scott's Agent-Native Computing and Code-First Architecture frameworks argue for — s
- 10-12 05:07createNovel in-browser deployment of OpenCode coding agent via relay server; independent corroboration of the in-browser agent harness pattern.