Portelon

Sign in Account

Letters

Your agent isn’t stupid. Its browser is.

Why headless Chrome and CDP always get agents blocked, and what I changed inside Chromium and V8 to fix it.

Give an otherwise capable model a challenging task on the web and in many cases it fails quickly, and often rather spectacularly. Either a bot interstitial blocks it, or its browser hijacks your mouse, puts unwanted windows on your screen, and overwhelms the model with thirty thousand tokens of indecipherable DOM slop until it gives up.

People instinctively blame the models for this, or assume web automation is a permanent arms race against Cloudflare and DataDome. In fact, nearly every agent on the internet is browsing through plumbing built an eternity ago for automatically testing websites, hacked together for agents, like headless Chrome, CDP, and accessibility trees. Putting a slimmer CLI (that also happens to be rewritten in Rust!) around Playwright or renting cloud browsers behind residential proxies blatantly misses what the actual issues are.

I spent the past eight months modifying Chromium and V8 to build the browser agents should have had from the start. It is called Portelon, and it’s a browser that shares your profile and logins with the agents you already run (Claude Code, Codex, and more).

To make that work, most of how browser automation is done today had to be simply discarded.

Throwing away headless Chrome

Stock headless Chrome is so far away from Chrome that it’s a misnomer people still call it Chrome. On Linux, it uses an eviscerated Ozone backend confined to 800×600 pixels, only uses SwiftShader CPU rendering, and drops your display topology, fonts, and desktop theme. Stealth forks naively think they can hide this by patching getters like the WebGL vendor string, which doesn’t work — their lie is caught by inconsistencies that are, by their nature, exceptionally hard to fix: every GPU and software rasterizer does antialiasing and shader math marginally differently, and DataDome Picasso is designed to detect this.

Portelon doesn’t use Chromium’s headless mode. When it runs invisibly, it boots Chrome’s full headful stack (the browser, renderer, network service, Viz compositor, and GPU process). It uses your graphics card for rendering so all is internally consistent and passes the bloodhound-level sniffing bot-detection scripts do.

When windows are drawn, instead of popping up on your screen, each agent gets its own isolated desktop with compositors and hardware-accelerated surfaces, replicating your monitor, scale factor, refresh rate, and desktop appearance. On Linux, Portelon uses an Ozone backend that renders to a hidden carrier surface on the EGL display or directly to a DRM render node; on macOS and Windows, windows are backed by Metal or D3D11 compositing. Because every agent has its own desktop, multiple agents can work concurrently without pestering you or one another.

And since a hidden agent window is a normal window, handing a tab over when a site needs something from you like a password doesn’t need any hacks: Portelon swaps the hidden carrier for a regular OS window in place. You can then interact with it, do what’s needed of you, and once you’re done, hide the window if you’d like to send it back to the background.

The problem with CDP

Playwright, Puppeteer, automation extensions, and most AI browsers rely on Chrome DevTools Protocol, which introduces subtle tells websites can reliably detect. Turning on CDP’s Runtime domain caffeinates V8 and makes it eagerly inspect arguments passed to console.log, so a page can poison an object, log it, and check whether the engine trips a booby-trapped getter. It also increases V8’s stack-trace capture limit to 200 frames, so if a script throws an error it will take measurably longer.

Portelon doesn’t use the Runtime domain or normal automation flags. Agents connect to Portelon over a trusted local channel, and a separate path in V8 captures console output without evaluating getters or changing the stack-trace limit.

No matter how invasively a website fingerprints an agent’s tab, it sees the same thing as it would with your own foreground tab. Aggressively anti-bot sites like Amazon just work: once you solve the architecture instead of monkeypatching leaks, there isn’t anything left to tell an agent and a human apart, and nothing to trigger a block.

Letting agents see the page

Not getting blocked by websites only gets you halfway if the browser still inundates the model with garbage. CDP’s accessibility tree was made for screen readers; it drops layout geometry and misses custom clickable widgets (most sites don’t add ARIA) — both of which are invaluable in letting agents accurately read pages. Pure screenshot loops are slow, pricey, and they don’t work when you want a model to surgically extract what it needs from a page.

Portelon doesn’t use CDP’s accessibility tree, and instead it reads Blink’s layout and paint trees directly in one atomic pass, including closed shadow roots, eliding anything a human wouldn’t see (clipped elements and zero-opacity text). When an agent reads a website through Portelon, it gets back elegant, greppable rendered lines with stable element refs.

Page interactions like clicks undergo preflight hit-testing. If a modal or another blockage covers a button right before a click, Portelon refuses to misclick and hands back an exact snapshot of whatever got in the way, so the agent can deal with it (like clicking “Decline” on a cookie banner) before retrying.

Two tools at 280 tokens

A lot of browser MCP servers saddle chats with twenty or thirty tools, burning thousands of tokens on tool schemas and forcing separate tool calls for actions that should be batched. Portelon gives agents two tools — repl (a persistent JavaScript REPL) and reset_kernel (resets said JavaScript REPL) — 280 tokens in total, with the main instructions loaded only once an agent decides to use Portelon.

Portelon’s API was designed to let agents use expressive, often idiosyncratic code to do whatever they’d like efficiently. For example, a model can skillfully open many tabs in parallel and filter them down to what it needs, and otherwise chain however many operations it wants in a single tool call. Or it can capture network traffic and quickly reverse-engineer sites with terrible UIs so it can talk straight to their backend (agents’ network requests are exempt from CORS).

PDFs are also usable by agents — they open into a built-in PDF engine that extracts text accurately, fills forms in directly, and rasterizes cropped regions at high resolution for precise inspection.

On top of everything, a built-in content blocker runs uBlock Origin’s filter lists and scriptlets so neither you nor your agents burn tokens or attention reading ads.

What this looks like in practice

Running in Codex (GPT-6.1 Sol with up to four concurrent GPT-6.1 Terra subagents), Portelon ranks first on every benchmark we ran spanning both research and action (full methodology):

Benchmark Portelon Next best published
DeepSearchQA (answer-set F1) 98.7% ($0.19 / task) Exa Agent Ultra: 93.9% ($1.39 / task)
WANDR (soft F1) 90.1% ($10.35 / task) Exa Agent Ultra: 81.4% ($18.82 / task)
BU Bench v2.1 (mean rubric) 87.1% BrowserCode + GPT-6.1 Sol: 79.6%
Odysseys2 (mean rubric) 90.7% BrowserCode + GPT-6 Astra: 84.6%

I also used Portelon to start Portelon, Inc. Across twelve hours of agent time (stopping to show me a tab thirty times for passwords, KYC, and signatures), agents researched incorporation routes, prepared the filings, filled out Form SS-4, and faxed it to the IRS. An agent opened the company’s bank account, automatically finding the needed documents from my inbox. Another got Portelon’s D-U-N-S number. Through my accounts, one set up Cloudflare DNS, Google sign-in, outbound email, and Stripe keys. And five agents sifted through over 30,000 photographs across NASA, museum archives, and photographers’ portfolios and returned a shortlist, of which I picked the sunrise by David Kanigan on Portelon’s New Tab page.


Portelon itself doesn’t provide any AI features, and it doesn’t proxy your subscriptions through a custom harness — you bring your agents and their harness and give them access to Portelon. Portelon doesn’t collect or send usage statistics or other telemetry, and it runs on Linux, macOS (Apple silicon), and Windows.

It’s free to browse. Try it with your agents for 30 days with no card; after that it’s $10 a month for up to five machines, no quotas.

Download Portelon.

Christopher Gait-Smith

Founder, Portelon, Inc.