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
$ pnpm add @agntn/browsersSteel
One POST to /v1/scrape for a page, a session for everything else.
Route
- createdone
- sessionskipped
- scrapedone
- releaseskipped
Answer
- 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.
- هذا النطاق مُخصص للاستخدام في أمثلة التوثيق دون الحاجة إلى إذن. هذه ليست خدمة، يُرجى تجنب الاعتماد عليها لأغراض الاختبار والمراقبة.
- 该域名仅用于文档示例,无需获得许可。这并非一项服务,请勿将其用于测试和监控目的。
- 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
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()
| Provider | scrape | screenshot | element | crawl | links | a11y tree | webmcp | extract | search | sessions | cdp | navigate | evaluate | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| steel | one call | inside a session | not supported | not supported | not supported | not supported | not supported | not supported | not supported | not supported | one call | one call | not supported | not supported |
| browserbase | one call | not supported | not supported | not supported | not supported | not supported | not supported | not supported | not supported | not supported | one call | one call | not supported | not supported |
| kernel | inside a session | inside a session | not supported | not supported | not supported | not supported | not supported | not supported | not supported | not supported | one call | one call | inside a session | inside a session |
| browserless | one call | one call | one call | one call | not supported | not supported | not supported | not supported | not supported | not supported | one call | one call | inside a session | inside a session |
| hyperbrowser | one call | one call | not supported | not supported | one call | not supported | not supported | not supported | one call | one call | one call | one call | not supported | not supported |
| anchor | not supported | inside a session | not supported | not supported | not supported | not supported | not supported | not supported | not supported | not supported | one call | one call | not supported | not supported |
| cloudflare | one call | one call | one call | one call | one call | one call | one call | one call | one call | not supported | one call | one call | not supported | not supported |
| playwright | one call | inside a session | inside a session | one call | one call | one call | not supported | not supported | not supported | not supported | one call | not supported | inside a session | inside a session |
| lightpanda | one call | not supported | not supported | not supported | not supported | one call | not supported | not supported | not supported | not supported | one call | one call | inside a session | inside a session |
| attach | one call | one call | one call | not supported | not supported | one call | not supported | not supported | not supported | not supported | one call | not supported | not supported | inside 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
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
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
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");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…"