$60 to Rewrite Nearly 42,000 Lines with AI: What OpenCode Browse 0.1.0 Saved and What It Left Behind
On November 16, 2026, Anomaly, the team behind OpenCode, released the open-source tool Browse 0.1.0. It lets coding agents such as Claude Code, Cursor, Codex, and OpenCode drive the real browser already running on your computer. That way they can reuse your existing logins, cookies, and extensions. When a page hits a password prompt, two-factor authentication, or a payment screen, it pops up a small card asking you to confirm. Once you click Continue, the agent picks up right where it left off.
What drew the most attention in this release was a striking rewrite announced by core developer Dax Raad. Using Claude Opus paired with DeepSeek, he spent roughly $60 in model API calls to rewrite the local program from scratch in Rust, replacing the underlying Node.js stack and the established browser automation framework Playwright. The team’s release post claimed 25x less memory and a 23x smaller package.
Many people’s first reaction is that Rust is fast, or that AI has finally cracked real-browser control. Read through the repository, changelogs, and community discussions, though, and the real story sits elsewhere. Letting agents drive a real browser is already a crowded path full of mature tools. The genuine new signal in Browse 0.1.0 is that AI pushed the cost of rewriting a heavy underlying stack down to $60. Once you save the money on writing the code, however, the costs of rapid bug fixing, guardrail gaps, and silent auto-updates all wait further down the road.
What Problem It Solves, and Why This Path Is Already Crowded
The conventional way to let AI operate web pages is to spin up a clean headless browser without a visible UI, or run one inside a cloud sandbox. Those environments lack your login sessions and browsing history, so any moderately strict site throws captchas or blocks the session outright. OpenCode Browse takes a different route: you install an extension in your everyday Chrome, Edge, Brave, or Arc browser, and run a small local relay program in the background to pass messages.
In daily use, the agent opens a collapsed tab group in the background of your active browser and quietly reads pages, clicks buttons, fills forms, takes screenshots, or records video without stealing window focus. When a page requires human input for login or payment, a handoff card asks you to complete the step and click Continue. You can also click the toolbar icon at any time to lend an open tab to the agent, and click again to take it back. If your agent runs on another machine, the extension can even connect across an encrypted private network.
The workflow feels smooth, yet by November 2026 it is no longer novel. Several established tools with tens of thousands of stars already let AI take over your everyday browser, many of them connecting through the Model Context Protocol (MCP), a standard interface linking AI clients to external software.
| Tool | GitHub Stars | Local Runtime | How It Connects to the Browser | Key Characteristics |
|---|---|---|---|---|
| Chrome DevTools MCP | 58,541 | TypeScript | Launches or attaches to a running Chrome | Official Google project offering performance analysis and deep debugging |
| agent-browser | 53,083 | Rust | CLI driving the browser | Pure command-line workflow focused on staying lightweight and concise |
| Playwright MCP | 39,941 | TypeScript | Extension controlling Chrome or Edge | Official Microsoft project with background tab grouping |
| Playwriter | 4,112 | TypeScript | Chrome extension plus local program | Defaults to port 19988, centered on sandboxed script execution |
| OpenCode Browse | 960 | Rust | Chrome extension plus local program | Tiny single binary, focused on human handoffs and cross-machine links |
The table puts Browse in perspective. Vercel’s
agent-browser already ships a native Rust CLI with over
50,000 stars. Microsoft’s official Playwright MCP also supports taking
over your running browser via an extension, complete with background
execution and tab groups. Independent project Playwriter even defaults
to port 19988, the exact same default port Browse chose,
which has already triggered two separate port-collision
issues in the Browse repository.
Created in late October 2026, Browse is a three-week-old newcomer. What actually made people talk is not real-browser control, but the AI-driven surgery behind 0.1.0.
What $60 Rewrote, and What It Quietly Kept
The older version of Browse ran on Node.js and Playwright, weighing 53 to 64 MB packaged and routinely consuming 100 to 200 MB of memory in the background. For a utility meant to stay resident on a developer’s machine all day, that footprint was heavy. The team wanted to compress the CLI, local relay, and MCP server into a single native binary of a few megabytes while keeping full compatibility with the existing browser extension.
On November 15, Pull Request #264 landed, adding nearly 42,000 lines of code (with the old TypeScript CLI left in the repository as reference for now). According to The New Stack, Dax Raad used Claude Opus as the primary coder and DeepSeek as a subagent, completing the rewrite for $60. By the team’s own measurements, the standalone Rust binary shrank to 4.3 to 5.6 MB, and per-connection memory fell from roughly 190 MB to 5.6 MB.
The headline claims of 25x less memory and a 23x smaller package have not been independently benchmarked yet. Looking closely at the author’s own breakdown, shrinking the binary from 53–64 MB to 4.3–5.6 MB is roughly an 11x to 15x reduction; for the relay server, the team compared a freshly started 6 MB Rust process against an old Node relay that had ballooned to 353 MB after running continuously for six days, mixing long-running memory growth into the baseline. Even so, dropping from hundreds of megabytes down to a few megabytes feels dramatically lighter in practice.
Reading the Rust architecture plan reveals that while the rewrite dropped the Node and Playwright runtime along with timezone emulation, locale emulation, and the file download tool, it did not completely walk away from Playwright’s code. To preserve element targeting and page-structure recognition instead of rebuilding that logic from scratch, the team kept Playwright’s open-source in-page injected script. Meanwhile, so other coding agents could still run multi-step page scripts, they embedded QuickJS, a lightweight JavaScript engine, directly inside the Rust binary.
More instructive than the language switch are two interface decisions
from the rewrite. The first is serving different tool menus depending on
the client. OpenCode prefers composing fine-grained actions in code
mode, so when the local relay sees OpenCode connect, it exposes over
twenty individual tools such as navigate, click, fill, and screenshot.
When Claude Code, Codex, or Cursor connects instead, the relay hides
that sprawling list and exposes only status, tab management, and a
single execute script tool. Multi-step page actions run in
one shot inside embedded QuickJS, avoiding the cost of stuffing dozens
of tool definitions into the model’s context window on every turn.
The second decision is dropping abstract sessions altogether and
using the tab ID as the sole handle. Many browser tools require creating
a session before managing pages, which easily causes state drift. In the
new version, opening a page directly returns a tab ID that every
subsequent click, screenshot, or close call passes back, and agents can
even assign persistent names like work-mail. Domain
allowlists, read-only restrictions, and tab groups all attach cleanly to
an individual tab.
Writing the Code Cost $60, but Where Does the Real Bill Show Up
Getting nearly 42,000 lines of working code for $60 looks like a
bargain, yet that is the bill for writing code, not maintaining it.
After v0.1.0 shipped on November 16, the team had to push rapid fixes
all the way to v0.1.5 within two days. The issue log over the days
following release reads like a catalog of classic AI-rewrite edge cases:
running --help to view usage triggered an update, pairing,
and relay restart instead; a documented foreground-window switch was
never wired up in the Rust build; and during network capture,
secret-named query values shorter than 16 characters leaked into JSON
responses.
The maintenance model is equally unusual. The README states plainly that the team does not accept external pull requests; users should open issues and let the team’s AI agents fix them quickly. Turnaround is fast in the short run, yet replacing Playwright means every future Chrome protocol change, anti-detection shift, or low-level quirk now falls entirely on this small team and its agents.
More concerning than edge-case bugs is where the tool runs. Browse drives the same Chrome instance already signed into your email, code hosting, and payment sites. If a malicious prompt hidden inside a web page steers the agent, the blast radius is far larger than in an isolated sandbox.
After a user pressed the team on how much protection read-only mode actually provides in Issue #306, the team rewrote the security documentation. It now states candidly that read-only mode only blocks simulated clicks and typing, and while auditing it the team discovered that dropdown selections and file uploads had previously slipped through as well before being patched. More importantly, as long as page script execution is allowed, an agent in read-only mode can still read data, click buttons, and send requests; likewise, domain allowlists only restrict top-level navigations and do not block embedded frames or background requests initiated by the page itself.
In a Hacker News thread with over 300 upvotes, many developers voiced strong skepticism about giving an agent simultaneous access to logged-in credentials, untrusted web pages, and outbound channels. Another easily overlooked detail sits in the documentation: Browse’s background relay enables automatic updates by default, checking the release server at launch and every hour afterward to download and replace the local binary whenever a new version appears. Even with hash verification and an opt-out switch, letting a local binary with high-privilege Chrome debugger access silently self-update effectively stakes your entire browser’s security on the release server.
Whether You Want to Copy the Rewrite or Use a Browser Tool Today
If you are debating whether to follow OpenCode’s lead and use AI to rewrite a heavy dependency into a lean native binary, Browse offers an honest case study. AI really has lowered the barrier to extracting a small slice of core functionality from a giant framework for a few dozen dollars. That trade only pays off, however, if you can absorb rapid post-launch patching and commit to tracking upstream compatibility over time. Without the bandwidth to own low-level protocols, saving $60 up front can easily turn into ongoing technical debt.
If you simply want your coding agent working in a browser today, pick based on your workflow:
- For minimal context usage and a pure command-line workflow, look at
Vercel’s
agent-browser, which is already native Rust and avoids bulky MCP tool schemas through concise shell commands. - For major-vendor backing and standard debugging workflows, go with Microsoft’s Playwright MCP or Google’s Chrome DevTools MCP, both backed by tens of thousands of stars and clear official maintenance.
- For frequent human handoffs on logins, lending active tabs, or controlling a local browser from a remote agent over an encrypted private network such as Tailscale, OpenCode Browse offers genuinely thoughtful interaction design in a tiny single binary.
Whichever tool you choose, hold one firm line: never treat built-in read-only modes or domain allowlists as a security sandbox. Even the Browse author recommended in Issue #286 creating a separate, clean Chrome profile dedicated to agent pairing if you want to keep your everyday environment untouched. Keep banking, primary email, and critical dashboards physically separated, sign only approved accounts into that dedicated window, and turn off default auto-updates. That way you cut down on the verification friction of blank browsers while keeping your core everyday accounts separated from agent sessions.