ID@agntn/browsersv0.7.0

One scrape call. Ten browsers behind it.

Steel scrapes in one HTTP call. Kernel wants a live session first. Browserbase hands you a CDP URL. A model will mix those up, so this is one scrape() over all of them, in TypeScript, in the terminal and in your agent, and each backend says flag by flag what it can do.

Providers
10
14 flags each
Agent tools
14
the same on every host
Keys to start
0
Playwright, Lightpanda, Attach runs here
Install$ pnpm add @agntn/browsers
Callbrowsers_scrape("https://example.com", "steel")recorded 2026-11-08 · 01 / 10
Provider / steel

Steel

One POST to /v1/scrape for a page, a session for everything else.

Route

  1. createdone
  2. sessionskipped
  3. scrapedone
  4. releaseskipped

Answer

  1. This domain is for use in documentation examples without needing permission. This is not a service; avoid relying on it for testing and monitoring purposes.
  2. هذا النطاق مُخصص للاستخدام في أمثلة التوثيق دون الحاجة إلى إذن. هذه ليست خدمة، يُرجى تجنب الاعتماد عليها لأغراض الاختبار والمراقبة.
  3. 该域名仅用于文档示例,无需获得许可。这并非一项服务,请勿将其用于测试和监控目的。
  4. L’usage de ce domaine est réservé à des exemples de documentation, sans autorisation préalable. Il ne s’agit pas d’un service; son utilisation à des fins de test ou de surveillance est à éviter.
Came back
markdown
Size
957 characters
Time
2,074 ms
Session
none, one call
operations 4 / 14

capabilities() is the list

Eight of the ten scrape in one call. Kernel only scrapes inside a session, which the tools and the CLI open and release for you. Anchor doesn't scrape at all, and says so instead of handing back an empty page. Everything past that is a flag per operation, read off a live instance, so a README can't drift from it. This grid is those flags.

Import(await create("cloudflare")).capabilities()

Callprovider.capabilities()10 providers · 14 operations
Operations per provider: one call, inside a session, or not supported
Providerscrapescreenshotelementpdfcrawllinksa11y treewebmcpextractsearchsessionscdpnavigateevaluate
steelone callinside a sessionnot supportednot supportednot supportednot supportednot supportednot supportednot supportednot supportedone callone callnot supportednot supported
browserbaseone callnot supportednot supportednot supportednot supportednot supportednot supportednot supportednot supportednot supportedone callone callnot supportednot supported
kernelinside a sessioninside a sessionnot supportednot supportednot supportednot supportednot supportednot supportednot supportednot supportedone callone callinside a sessioninside a session
browserlessone callone callone callone callnot supportednot supportednot supportednot supportednot supportednot supportedone callone callinside a sessioninside a session
hyperbrowserone callone callnot supportednot supportedone callnot supportednot supportednot supportedone callone callone callone callnot supportednot supported
anchornot supportedinside a sessionnot supportednot supportednot supportednot supportednot supportednot supportednot supportednot supportedone callone callnot supportednot supported
cloudflareone callone callone callone callone callone callone callone callone callnot supportedone callone callnot supportednot supported
playwrightone callinside a sessioninside a sessionone callone callone callnot supportednot supportednot supportednot supportedone callnot supportedinside a sessioninside a session
lightpandaone callnot supportednot supportednot supportednot supportedone callnot supportednot supportednot supportednot supportedone callone callinside a sessioninside a session
attachone callone callone callnot supportednot supportedone callnot supportednot supportednot supportednot supportedone callnot supportednot supportedinside a session

Fourteen tools, one executor

browsers mcp, the Pi extension and the OMP extension call the same executors, so a fix lands once and a model reads the same text on every host. The console asks browsers_capabilities about the provider in the panel above. The dialog holds exactly what a model would get.

  • A scrape stops at 20,000 characters unless you pass maxChars, and says how much it cut
  • Links come 500 at a time, with the offset to ask for next
  • A slow crawl hands back its job ID instead of a timeout
Read MCP, Pi, OMP and AI SDK
Callbrowsers_capabilities("steel")10 providers
Provider / steel

Steel

The flags come off a live instance, not a table in a README. What the model reads is what the next call will run into.

supports
4 of 14 operations
scrape
one call
needs
STEEL_API_KEY
MCP · Pi · OMP · AI SDKbrowsers mcp · stdio

Bring your own backend

The built-ins are ten classes behind one interface, and yours is the same shape in one file. This one puts Jina Reader behind scrape(): one GET, markdown back, and an honest no for everything it can't do.

  • A class that implements BrowserProvider and a factory that builds it
  • notSupportedViaRest turns every missing operation into a typed refusal
  • register(name, defaultURL, factory) and create(name) finds it
Read Custom providers
Filereader.tsfolded · copy is whole
import { create, notSupportedViaRest, register } from "@agntn/browsers";class Reader implements BrowserProvider {  /* baseURL, name() and capabilities(): scrape only */  async scrape(url) { /* GET r.jina.ai/<url>, markdown back */ }  /* createSession … evaluate: notSupportedViaRest("reader", …) */}register("reader", "https://r.jina.ai", (config) => new Reader(config));const page = await (await create("reader")).scrape("https://example.com");
Startpnpm add @agntn/browsersNode.js 26 or newer

Start with the one that needs no key

One install gives you the library, the browsers CLI and the MCP server. Playwright runs on your machine, so the first scrape costs nothing. Later, set a vendor key and swap the name for resolveProvider(), and the call goes to the cloud.

  • PinPre-1.0, so pin exact versions.
  • ChromiumPlaywright takes the Chrome already on your PATH, or the one playwright-core installs.
  • BillsEvery vendor but Playwright meters its own account. The key is yours.

First call

$ pnpm add @agntn/browsersimport { create } from "@agntn/browsers";const provider = await create("playwright");provider.capabilities().statelessScrape;  // trueconst page = await provider.scrape("https://example.com");page.text;  // "This domain is for use in documenta…"