@oya-ai/browser weekly downloads statistics
By oya-ai (2 listings) · npm · Claude Code
TypeScript SDK for Oya, the HIPAA-compliant agentic browser: start cloud browsers, run playbooks, attach Playwright.
@oya-ai/browser has 4,723 recorded weekly downloads on npm, an increase of 308% over the past 30 days, ranking #1551 of 3,247 tracked listings.
About @oya-ai/browser
@oya-ai/browser
<p align="center"> <strong>A real browser your agents drive from the inside. Record a run once, replay it with no model in the loop.</strong> </p> <p align="center"> <a href="https://www.npmjs.com/package/@oya-ai/browser"><img src="https://img.shields.io/npm/v/@oya-ai/browser?color=39ed35&label=@oya-ai/browser&logo=npm" alt="NPM Version"></a> <a href="https://github.com/OyadotAI/oya-browser/blob/main/packages/sdk/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg?color=39ed35" alt="License: MIT"></a> <a href="https://www.typescriptlang.org"><img src="https://img.shields.io/badge/TypeScript-Ready-3178C6.svg?logo=typescript&logoColor=white" alt="TypeScript"></a> <a href="https://nodejs.org"><img src="https://img.shields.io/badge/node-%3E%3D20.0.0-brightgreen.svg" alt="Node Version"></a> <a href="https://bundlephobia.com/package/@oya-ai/browser"><img src="https://img.shields.io/bundlephobia/minzip/@oya-ai/browser?color=39ed35" alt="Bundle Size"></a> </p>From nothing to an answer
npm install @oya-ai/browser
import { Oya } from '@oya-ai/browser';
const browser = await new Oya().browser.start();
await browser.goto('https://news.ycombinator.com');
console.log(await browser.ask('What are the top 3 stories and their points?'));
await browser.stop();
The one thing to have first is an API key from oyabrowser.com
(or your own deployment) in OYA_API_KEY.
Which browser start() gives you, when no provider is configured: the
Oya desktop browser if it is open and signed in with the same
key, else a new one in Oya Cloud. stop() leaves a browser you borrowed alone, because
you did not start it. To run browsers somewhere else (your own Docker, Browserbase,
Steel, Anchor, Browser Use, or a Chrome of your own over CDP), pass { provider } or set
a default with npx @oya-ai/cli init. Your code does not change.
Which model ask() uses: the key's saved one, or Oya's when it has none. Pick one in
code, for this client only and never saved to the key:
const oya = new Oya({
model: { provider: 'anthropic', name: 'claude-sonnet-5', apiKey: process.env.ANTHROPIC_API_KEY },
});
Without apiKey, name runs on the credential your key already uses, which must be the same provider.
Where the key comes from, in order: new Oya({ apiKey }), then OYA_API_KEY, then the
file oya login wrote (~/.oya/config.json, or OYA_CONFIG_HOME), which is read on Node
22.3 and newer. baseUrl resolves the same way. A CI job that sets neither fails loudly
rather than borrowing whatever is on the machine.
Node.js 20 or newer; the examples are ES modules. OYA_BASE_URL points at a self-hosted
control plane. On Node.js 24+, await using browser = await oya.browser.start() stops it
when the scope exits, errors included.
For AI agents
For desktop browsing without an Oya account or API key, use the app's Connect action and start a new agent session. See Oya for coding agents.
The optional SDK desktop pairing path below uses an SDK key. It is separate from local MCP setup:
await Oya.signup({ email: 'person@example.com' }); // saved to ~/.oya/config.json
const browser = await new Oya().desktop.connect(); // pairs the Oya desktop app
Written for agents: oyabrowser.com/llms.txt.
On a server or CI runner without a desktop, use an authenticated Oya Cloud key,
call oya.browser.start() and stop the browser in finally. A signup key must
be claimed before cloud browsers are enabled.
Portal automation: record once, replay with new inputs
Reuse a persona, attach to an existing browser or start one, run a prompt the first time, then replay its saved playbook. The portal, workflow names, and request values below are fictional. Supply your own test portal and credentials through environment variables; adapt the task to its actual pages.
Save as portal.mjs and run node portal.mjs after setting OYA_API_KEY, PORTAL_URL, PORTAL_USERNAME, and PORTAL_PASSWORD. Set OYA_BROWSER_ID only to reuse an already running browser.
import { createInterface } from 'node:readline/promises';
import { Oya } from '@oya-ai/browser';
function requiredEnv(name) {
const value = process.env[name];
if (!value) throw new Error(`Set ${name} before running this example.`);
return value;
}
const oya = new Oya({ apiKey: requiredEnv('OYA_API_KEY') });
const portalUrl = requiredEnv('PORTAL_URL');
const playbookName = 'portal-request-review';
const secrets = {
username: requiredEnv('PORTAL_USERNAME'),
password: requiredEnv('PORTAL_PASSWORD'),
};
// Fictional test inputs. data is visible to the agent.
const data = {
customerName: 'Alex Example',
requestId: 'DEMO-0001',
requestedDate: '2030-01-15',
};
const task = [
'If not logged in, log in with {{username}} and {{password}}.',
'Open New Request and enter {{requestId}} as the reference.',
'Fill first name {{customerName|first}} and last name {{customerName|last}}.',
'Set the requested date to {{requestedDate|date:MM/DD/YYYY}}.',
'If a field is already correct, do not type its value again.',
'If an action times out, inspect the page before retrying it.',
'If information is missing, ask the person instead of guessing.',
'Stop on the review page. Do not submit the request.',
].join('\n');…
Description from the npm listing.
- browser
- ai-agents
- cdp
- playwright
- puppeteer
- headless-chrome
- browserbase
- steel
- browser-use
- captcha
- fingerprint
- mcp
- ai-agent
- agent-browser
- browser-agent
- agent-skills
- claude-code
- codex
- openclaw
- hermes-agent
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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)Similar npm Claude Code plugins
All 20 @oya-ai/browser alternativesData 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/@oya-ai/browser. First seen Oct 17, 2026; last successful collection Dec 2, 2026. See the methodology.