OpenCode contributor Dax Raad completed a Rust rewrite of Browse, reducing per-connector memory use from about 190 MB to 5.6 MB and the binary from 53–64 MB to 4.3 MB.
OpenCode contributor Dax Raad has completed a ground-up rewrite of the OpenCode Browse browser-automation layer in Rust, with assistance from AI coding models. The rewrite reduced the binary size from 53–64 MB in the previous Node-based version to 4.3 MB.
Raad’s reported benchmarks put per-connector memory use at about 5.6 MB after several operations, down from roughly 190 MB—a 97% decrease. The Rust relay used about 6 MB when idle and 6.6 MB under load, compared with 353 MB for the Node relay after six days of continuous operation.
Browse connects AI coding agents to a user’s browser through a Chromium extension and an MCP server. The new implementation uses WebSockets, the Chrome DevTools Protocol and QuickJS, while preserving the existing extension and Browse’s relay authentication, pairing verification and origin-based access controls.
The rewrite removed time-zone and locale emulation and the download tool. Raad said the work cost $60, excluding the time spent reviewing, testing and fixing the code; Claude Opus was his primary coding assistant and DeepSeek handled secondary tasks. Testing with about 10 regression agents produced an 85% Stealth Bench v2 score, compared with 90.5% for Browser Use Cloud, without a baseline score for the original Node version.