ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsQuick take2 min readDisconfirmAI Editorial

OpenCode Developer Dax Raad Rebuilds Browser Tool in Rust for $60 Using AI Agents, Cutting Memory Use by 97%

OpenCode developer Dax Raad used AI agents like Claude Opus and DeepSeek to rewrite his browser automation tool in Rust for $60, reducing memory usage by approximately 97% and shrinking the binary to 4.3MB.

2026-11-17 01:59 GMT+8

OpenCode developer Dax Raad announced that he rebuilt the project’s browser automation tool, OpenCode Browse, in Rust for $60 using AI coding agents, primarily Claude Opus and DeepSeek. The rewrite replaced parts of the previously used Playwright and Patchright libraries, significantly reducing runtime overhead.

According to figures posted by Raad on X, 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 relay service's idle memory usage dropped from 353 MB in the old Node implementation to 6 MB.

The tool connects AI coding agents to a developer’s existing browser through a Chromium extension and an MCP server. The new implementation communicates with the extension over WebSockets and uses the Chrome DevTools Protocol for browser operations. Testing showed the new Browse scored 85% on Stealth Bench v2, slightly lower than Browser Use Cloud's 90.5%.

Despite the impressive performance gains, Raad noted that the rewrite shifts the responsibility for maintaining code previously handled by Playwright and Patchright onto his team, including dealing with browser updates and security fixes. Additionally, the $60 figure covers only model API costs, excluding the time spent checking, testing, and fixing the code.

Sources

Sign in / Sign up
ReadingResearchRadarInvestment framework
thenewstack.io
The New Stack
↗
Continue researching →