· javascript

Dax Raad rebuilt his browser tool in Rust for $60. Then memory use fell 97%.

OpenCode developer Dax Raad says he rebuilt the project's browser automation tool in Rust for $60, replacing the parts of Playwright and Patchright it actually used and dramatically reducing its memory footprint.


A 4.3 MB binary The figures he posted to X on Saturday are striking. The new Rust binary is just 4.3 MB, compared with 53 to 64 MB for the previous Node version.

Memory use for each OpenCode Browse connector also fell from roughly 190 MB to 5.6 MB after a few calls, a reduction of about 97%. The new Rust binary is just 4.3 MB, compared with 53 to 64 MB for the previous Node version. The relay that wires AI coding agents to the browser shows a similar gap, with Raad's comparison putting the Rust implementation at 6 MB idle, or 6.6 MB once it has served calls, against 353 MB for the old Node relay after six days of running.

Earlier coverage

Related coverage

Also worth reading

  1. next.js 16.5.0-canary.54 released
  2. next.js 16.5.0-canary.53 released
  3. AI agents were all over KubeCon. Production is another story
  4. California sues OpenAI for Hugging Face and other incidents, alleging deception and recklessness
  5. Google Project Zero cuts bug disclosures to 30 days amid AI threats