AI Strategy

Browser as a Hosted Service: A New Era for AI Agents (Part 1 of 14)

What a hosted browser is, why AI agents need one, what you gain and give up, where people use them, and how this 14-part series compares twelve providers.

By Dr. Sanju Abraham 14 min read
Infographic showing an AI agent connecting through an API to a hosted browser in the cloud and on to the web
A hosted browser sits between your agent and the web: your code sends commands, the provider runs the browser.

By Dr. Sanju Abraham, Fractional CTO, investor, multiple exits. Published November 29, 2026.

This is Part 1 of 14 in the Browser as a Hosted Service series. The next part covers Browserbase.

The short answer: A hosted browser is a real web browser, usually Chrome or close to it. It runs on a provider’s servers, and your AI agent controls it through an API. Agents need one because many tasks live on sites with no API. You gain managed scaling and isolation, and you give up speed, data control and portability. Twelve companies sell one, and each bills differently.

Recently I needed a hosted browser for a client’s project. I assumed it would be a small decision.

Then I found about a dozen companies selling one. Each had its own way of charging, its own limits and its own idea of what “stealth” means. I realized I didn’t know enough to choose well, so I started researching. This series is what I found.

This first part explains what a hosted browser is and why AI agents need one. It covers what you gain and give up by renting one, and where people use them.

The next twelve parts cover one provider each, with the same topics in the same order. The last part ties them together. I wrote all of it from the providers’ own pricing and documentation pages, not from hands-on testing. Every price carries the date I read it.

If you are new to agents in general, the Personal AI Agents series is a plain-English place to start. For the money side, The Real Cost of AI series shows how to compare prices per finished task.

Hosted browsers at a glance

These are the facts most readers look for first, as of November 29, 2026. Hosted browsers are real web browsers that run on a provider’s servers and that your AI agent controls over the internet. The list covers the topic, the series layout, the twelve providers and who the series is written for. The sections below explain each point and link the sources.

  • Topic: Hosted browsers, which are real web browsers that run on a provider’s servers and that your AI agent controls over the internet
  • Series: 14 parts: this introduction, 12 provider reviews and a conclusion
  • Providers covered: Browserbase, Kernel, Browser Use, Steel, Hyperbrowser, Anchor Browser, Browserless, Cloudflare Browser Run, Bright Data, Notte, Amazon Bedrock AgentCore Browser and Lightpanda
  • Written for: Readers who know what an API is and want to choose a provider without reading twelve pricing pages
  • Last checked: November 29, 2026

What is a hosted browser?

A hosted browser is a real web browser that runs on a provider’s servers instead of on your computer. It is usually Chrome or something close to it. Your software asks the provider for a browser session through an API. The provider starts a fresh browser and returns an address.

Your code connects to that address and sends commands such as “open this page,” “click that button” or “read this table.” When the work ends, the session closes. The provider then discards the browser.

Most providers use the Chrome DevTools Protocol, known as CDP, for that connection. Chrome’s documentation describes CDP as a JSON-based protocol that lets tools inspect, debug and automate Chromium-based browsers. Libraries such as Playwright and Puppeteer speak it for you.

That makes moving a script from a local browser to a hosted one often a one-line change. In Playwright, that line is a call to connectOverCDP, which attaches to a browser that is already running somewhere else.

Why do AI agents need a hosted browser?

An AI agent needs a hosted browser when the work lives on websites that offer no API. Think of a supplier portal, a government form or a dashboard built with JavaScript. A plain web request to those pages often returns an empty shell. So the agent needs a browser that runs the page the way a person’s browser would.

Running that browser yourself works for one agent and gets heavy at many. Even Selenium Grid, the long-standing open-source tool for this, gets complicated once you spread it across machines. It splits into a router, a distributor, a session queue, a session map and an event bus. Someone has to run, patch and watch all of that.

Safety is the other reason. A browsing agent opens pages written by strangers. Anthropic’s documentation for its browser toolset says to treat everything a page returns as untrusted.

It also says to run the code that holds your API key outside the browser’s container. A hosted browser keeps the risky part away from your own network.

What do you gain from a hosted browser?

A hosted browser takes over the chores that make a self-run browser fleet expensive in time. The table shows what each chore looks like when you do it yourself and when a provider does it.

Chore Doing it yourself With a hosted browser
Starting and stopping browsers Run servers, patch Chrome, clean up stuck processes Ask for a session through an API, then close it
Running many at once Add machines and a scheduler Raise a concurrency limit, usually by changing plan
Keeping each task isolated Build your own sandboxing Most providers give each session its own fresh browser
Looking like a visitor from another country Buy and wire in proxies Switch on a built-in or bring-your-own proxy
Seeing what the agent did Add logging and screenshots Live view, replays and logs, on providers that offer them
Staying logged in Manage profile folders on disk Saved browser state that carries into the next session

Billing also changes shape. Instead of paying for servers that sit idle, you pay for the browser time or traffic you use. Whether that is cheaper depends on how you use it, which is why the provider parts price the same worked example.

What do you give up with a hosted browser?

Renting a browser has costs that the marketing pages rarely lead with. Every command now crosses the internet, so a very chatty script runs slower than it does locally. The pages your agent opens, and the data it reads, pass through the provider’s machines. Lightpanda’s documentation says this plainly about its own cloud: your target URLs and the pages they return pass through its infrastructure.

You also depend on a protocol with a caveat. Chrome’s own CDP page says CDP is not a public or supported API for Chrome and may change without notice. Playwright also warns that a CDP connection is lower fidelity than its own protocol. It works only with Chromium-based browsers.

Finally, the useful extras differ from one provider to the next. Saved logins, replays and CAPTCHA tools are usually proprietary, so they do not move with your code when you switch.

Standard protocols make the browser itself easy to swap. The extras are where lock-in lives. The provider abstraction layers covered in The Real Cost of AI series address the same problem for model providers.

Where do people use hosted browsers?

People use hosted browsers wherever a task needs a real browser at a scale or a safety level that a laptop cannot give. Browserbase’s own list of use cases and Cloudflare’s Browser Run documentation, which mentions screenshots, PDFs and web scraping, cover much of the same ground.

Use case Why a browser and not an API What to watch
Back-office tasks in portals The site has no API, only forms and buttons Logins, two-factor prompts and site terms
Research and data extraction Pages build their content with JavaScript Blocking, proxy cost and permission to collect
Price and stock monitoring The same page has to be checked often Bot detection and per-session cost
Testing a web app You need the real browser behavior Which browser engines the provider offers
Screenshots and PDFs Rendering needs a full browser Per-page cost and rendering differences
Computer-use agents A model clicks and types like a person Prompt injection and approval for risky steps

Most of these jobs share one trait. A person would otherwise do them by hand, in a browser, one tab at a time.

How do hosted browser providers differ?

The twelve providers all sell the same basic thing and charge for it in surprisingly different ways. Browserbase bills by the minute a session is open, with a one-minute minimum per session. AWS says its AgentCore Browser charges per second for the CPU and memory a session actually uses. It adds that time spent waiting on a model or tool is free when nothing else is running. An agent that waits on its language model most of the time can cost very different amounts under those two meters.

Plans gate features too. Stealth tools, CAPTCHA solving and proxies often depend on the tier you buy. The companies also differ in kind.

Some sell only browsers. Cloudflare and AWS add browsers to larger cloud platforms. Lightpanda builds its own non-Chromium engine.

Mastra’s roundup describes Bright Data’s browser as combining proxy management with website unblocking. The provider parts look at all of this under six headings, which I list further down.

Does a hosted browser make a browsing agent safe?

A hosted browser does not make a browsing agent safe. It only moves the browser somewhere else. The main risk is indirect prompt injection, where a web page hides instructions that the agent’s model then follows.

The OWASP project defines it as external content, such as a website, altering a model’s behavior. In March 2026, Palo Alto Networks’ Unit 42 reported seeing these attacks in the wild. They included attempts at data destruction and unauthorized transactions.

A few habits reduce the risk:

  • Give the agent accounts with the fewest permissions that still let it work.
  • Limit which sites it may visit, using an allow-list if the provider offers one.
  • Require a human to approve anything that moves money or sends messages.
  • Treat saved browser state like a password, because it holds logged-in cookies.

I’ll come back to these points in each provider part, because the controls vary.

What do terms of service, robots.txt and the law say about automated browsing?

Whether you may use stealth modes or CAPTCHA solving on a given site is your decision, not the provider’s. Some providers sell both. I’m not a lawyer, so treat this section as orientation and not advice.

The robots.txt file does not settle the question. The standard, RFC 9309, says its rules are not a form of access authorization.

Court cases give a mixed picture. In 2022 the Ninth Circuit said in hiQ v. LinkedIn that the federal anti-hacking law likely does not cover scraping pages open to the public. The case did not end there. The parties later settled.

According to Proskauer’s summary, hiQ agreed to a $500,000 judgment and a permanent ban on scraping LinkedIn in breach of its user agreement. A site’s terms of service can still bind you even where criminal law does not. Browserbase’s own documentation tells customers to review a site’s terms and check robots.txt first.

When should you not use a hosted browser?

A hosted browser is the wrong tool in several cases. If the site offers an API, use the API, because it is faster, cheaper and more stable than driving a page. If the data cannot leave your network, run the browser yourself. Lightpanda’s local-versus-cloud page gives the same advice for workloads that must stay on your own infrastructure.

If your volume is small and your targets are fixed, a Playwright script on your own server may be enough. If the sites you need forbid automation in their terms, no provider fixes that. And if you run a steady, heavy load around the clock, rented time may cost more than your own machines. Work that out with your own numbers, since the answer depends on usage and on the engineering time you would spend.

Build-versus-rent calls like this are a common part of fractional CTO work, where the answer depends on your team and your load.

How does this series work?

Every provider part follows the same outline. The six main headings are cost and billing; stealth, CAPTCHA and proxies; speed, sessions and limits; logins, tools and debugging; deployment and compliance; and strengths, weaknesses and gotchas. Together they cover the fourteen questions I started with.

Each provider part also prices one shared example. The example is my own: 10,000 browser sessions a month, three minutes each, with the agent waiting on its language model for 80 percent of that time. I call it the shared workload.

I work out the cost under that provider’s own billing model and label it a calculation, not a measurement. I have no business relationship with any of these companies. The verdicts are neutral, with no ranking, and the last part helps match each provider to a situation.

Part Subject
1 This introduction
2 Browserbase
3 Kernel
4 Browser Use
5 Steel
6 Hyperbrowser
7 Anchor Browser
8 Browserless
9 Cloudflare Browser Run
10 Bright Data Browser API
11 Notte
12 Amazon Bedrock AgentCore Browser
13 Lightpanda
14 Conclusion and decision guide

Many comparison pages are written by companies that sell a competing product. I treat them as leads and check each claim against the provider’s own pages. To browse related posts, see the AI Strategy category.

Further reading

Three roundups were useful starting points, and each has an angle worth knowing about. Proxidize’s comparison of seven cloud browsers is from a proxy company, ranks Browser Use first, and discloses a reciprocal editorial relationship with Browser Use. It says it checked provider documentation in August 2026 and rechecked Browser Use in November.

Taku’s “Browserbase alternatives”, dated November 14, 2026, is organized around reasons to leave Browserbase, such as self-hosting or proxy cost. Mastra’s roundup of nine platforms, published October 6, 2026, comes from an AI agent framework company and gives each provider a “best for” line. Read all three as informed opinions, not as test results.

Frequently asked questions

These are the questions readers ask most often about hosted browsers. The answers cover what a hosted browser is, why agents need one, what you give up, whether it protects against prompt injection, how providers charge and when to skip one. Each answer uses the same sources as the sections above, so the claims and caveats match.

What is a hosted browser?

A hosted browser is a real web browser, usually Chrome or something close to it, that runs on a provider’s servers instead of your computer. Your software asks for a session through an API, connects to the address it gets back, and sends commands. When the work ends, the session closes and the provider discards the browser.

Why do AI agents need a hosted browser?

AI agents need one when the work lives on websites that offer no API, such as supplier portals, government forms and JavaScript dashboards. A plain web request to those pages often returns an empty shell. A hosted browser runs the page like a person’s browser would, and it keeps pages written by strangers away from your own network.

What do you give up when you rent a browser?

You give up some speed, because every command crosses the internet. The pages your agent opens pass through the provider’s machines. You also depend on CDP, which Chrome says is not a public or supported API and may change. Extras such as saved logins, replays and CAPTCHA tools are usually proprietary, so they do not move with your code.

Does a hosted browser protect against prompt injection?

No. A hosted browser only moves the browser somewhere else. Prompt injection happens when a web page hides instructions that the agent’s model then follows. To reduce the risk, you can give the agent least-privilege accounts. You can also limit which sites it may visit, require human approval for anything that moves money or sends messages, and treat saved browser state like a password.

How do hosted browser providers charge?

They charge in different ways. Browserbase bills by the minute a session is open, with a one-minute minimum per session. AWS says AgentCore Browser charges per second for the CPU and memory a session uses. It adds that time spent waiting on a model or tool is free when nothing else is running. Plans also gate features such as stealth, CAPTCHA solving and proxies.

When should you skip a hosted browser?

Skip it when the site offers an API, because an API is faster, cheaper and more stable. Skip it when the data cannot leave your network. A Playwright script on your own server may be enough for small, fixed workloads, and a steady, heavy load around the clock may also cost less on your own machines.

  • #hosted-browsers
  • #series-browser-as-a-service
  • #ai-agents
  • #browser-automation
  • #cloud-browsers

Need a CTO without the headcount?

Schedule a 30-minute intro call. We'll listen first, recommend second.