Skip to content
PluginStats

@browserless/agent weekly downloads statistics

By browserless · npm · AI SDKs

Drive a Puppeteer page toward a natural-language goal using finite decisions.

View on npm Fresh · Dec 6, 2026

@browserless/agent has 5,385 recorded weekly downloads on npm, an increase of 365% over the past 30 days, ranking #1498 of 3,247 tracked listings.

Weekly downloads
5,385
Official API · Dec 5, 2026
7-day growth
+38.0%
+1.5K weekly downloads
30-day growth
+365%
+4.2K weekly downloads
90-day growth
—
Insufficient history
Rank
#1498
▲ 76 in 7 days

About @browserless/agent

@browserless/agent

Drive an existing Puppeteer page toward a natural-language goal. The caller owns navigation, browser setup, screenshots and closing the browser. This package does not change @browserless/ai, which uses Chrome's built-in AI APIs.

Experimental. It has completed a live Wallapop search (see below), but done is the model's own judgment and runs are not fully reliable.

Usage

Requires Node.js >=24. After the package is published:

npm install @browserless/agent puppeteer
export AI_GATEWAY_API_KEY=...
import puppeteer from 'puppeteer'
import agent from '@browserless/agent'

const browser = await puppeteer.launch()
const page = agent(await browser.newPage())

await page.goto('https://wallapop.com', { waitUntil: 'networkidle2' })
const { status, profiling } = await page.goal('busca el bmw x3 más barato')
if (status === 'success') {
  const { data } = await page.extract('get the search results', {
    products: {
      attr: { name: { type: 'string' }, price: { type: 'number' }, url: { type: 'url' } }
    }
  })
  console.log(data.products)
}
const { accuracy, cost, timing } = await profiling() // optional: one extra request, for accuracy
await browser.close()

agent(page, defaults?) adds two methods to the Puppeteer page it is given and returns the same page:

  • page.goal(goal, options?) drives the page, over as many steps as it takes, until the model reports the goal is met.
  • page.extract(...) returns data from the current page. It does not navigate.

defaults apply to both; options passed to a call override them, and an option passed as undefined or null keeps the default. The same functions are exported for use without touching the page: agent.goal(page, …) and agent.extract(page, …).

Import compatibility is CommonJS plus the Node ESM default import, with TypeScript declarations.

From the browserless CLI

browserless exec <file> from @browserless/cli opens a page and passes it to the function the file exports, so the script does not manage the browser:

const agent = require('@browserless/agent')

module.exports = async ({ page: browserPage, browserless }) => {
  const page = agent(browserPage)
  await browserless.goto(page, { url: 'https://wallapop.com' })
  return page.goal('busca el bmw x3 más barato')
}
browserless exec agent-example.js

A goal or an extraction that fails does not throw: the script gets status: 'error' with error and decides what to do. The CLI exits with code 1 only when the script itself throws, so a script that should fail the command throws that error.

Examples

Every file in examples/ is an exec script: it navigates, gives the page one or more goals, and returns the extracted data, which the CLI prints. A goal or an extraction that fails makes the script throw its error. Jev is used through the gateway, so AI_GATEWAY_API_KEY is the only key needed. With DEBUG=browserless:agent, each goal also logs one line with its status, accuracy, cost and timing. The examples call profiling() for every goal whether or not the line is printed, so each goal makes the one evaluation request.

ScriptSteps
examples/wallapop.jsSearch bmw x3; sort by lowest price; extract the products
examples/wikipedia.jsSearch for an article and open it; extract title and first paragraph
examples/google-flights.jsReject cookies if asked; find one-way Zurich to London flights 30 days from today; extract the flights
examples/hacker-news.jsOpen the comments of the first story; extract title, points and comments
examples/github.jsOpen the open issues of this repository; extract them
examples/run.jsAny page: --url=<url> --goal=<goal> --extract=<what to get>
browserless exec examples/wallapop.js --no-headless
DEBUG=browserless:agent browserless exec examples/hacker-news.js --no-headless
browserless exec examples/run.js --no-headless --url=https://en.wikipedia.org/wiki/Main_Page --goal='Find and open the Wikipedia article about Alan Turing.' --extract='get the article title'

--no-headless opens a visible browser window, so every step the agent takes can be watched. Without it the browser runs headless.

const agent = require('@browserless/agent')
const debug = require('debug-logfmt')('browserless:agent')
const { flat, succeeded } = require('./util')

module.exports = async ({ page, browserless }) => {
  agent(page)

  await browserless.goto(page, { url: 'https://wallapop.com' })
  const searched = await page.goal('busca "bmw x3"')
  debug('search', { status: searched.status, ...flat(await searched.profiling()) })
  succeeded(searched)
  const sorted = await page.goal('ordena los resultados de más barato a más caro')
  debug('sort', { status: sorted.status, ...flat(await sorted.profiling()) })
  succeeded(sorted)

  const { data } = succeeded(
    await page.extract('get the search results', {
      products: {
        attr: { name: { type: 'string' }, price: { type: 'number' }, url: { type: 'url' } }
      }
    })
  )
  return data
}

npm start runs the Wallapop one. All six were run as shipped on a paid gateway account and returned data matching their goal: 32 Wallapop products sorted by lowest price, the Wikipedia title, 48 flights with prices, a Hacker News story with its points and comments, 4 GitHub issues, and Alan Turing. That is a check that they can work, not a reliability figure. What went wrong along the way:…

Description from the npm listing.

  • agent
  • ai-sdk
  • browserless
  • jev
  • puppeteer

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@browserless/agent weekly downloads on npm, last 90 days: 5,385 weekly downloads as of Dec 5, 2026.@browserless/agentWeekly downloads on npm · Last 90 days5,385downloads / week01K2K3K4K5K6KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@browserless/agent weekly downloads on npm, last 90 days: 5,385 weekly downloads as of Dec 5, 2026.

7/30/90-day growth

@browserless/agent weekly downloads growth on npm: +38.0% over 7 days, +365% over 30 days, 90-day growth unavailable.@browserless/agentWeekly downloads growth on npm5,385downloads / week now7-day growth+1,482 weekly downloads+38.0%30-day growth+4,226 weekly downloads+365%90-day growth+5,385 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@browserless/agent weekly downloads growth on npm: +38.0% over 7 days, +365% over 30 days, 90-day growth unavailable.

Ranking history

@browserless/agent npm ranking history: currently #1498 (by weekly downloads).@browserless/agentnpm ranking · by weekly downloads · Last 90 days#1498current rank#1300#1400#1500#1600#1700#1800#1900Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 40 observations · Updated Dec 5, 2026pluginstats.com
@browserless/agent npm ranking history: currently #1498 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 75, #18 (overall #1,498)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 6, #11 (overall #111)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for @browserless/agent
Date (UTC)Weekly downloadsChange vs. previous
5,385+597
4,788+624
4,164+249
3,915-408
4,323+191
4,132-525
4,657+754
3,903-451
4,354-95
4,449+324
4,125+863
3,262-15
3,277+689
2,588—

Similar npm AI SDKs plugins

All 20 @browserless/agent alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@browserless/agent. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.