Oya Browser

An auditable browser for AI agents: record a task once, then replay it deterministically with no model calls.

Stars
★ 422
Last updated
1d ago
FARS reviewed
Nov 29, 2026
License
NOASSERTION
Primary language
TypeScript

At a glance

How it runs
Self-hosted serviceLibrary / SDKDesktop app
Works with
Universal · cross-platformCodex · Claude Code
Cost
Free tier plus a paid hosted plan
Setup effort
Medium · a few setup steps
You'll need
Node.js 20 or laterDocker Desktop or Docker Engine with buildxCompose 2.24 or laterAnthropic, OpenAI or Gemini API keyShell / CLINetwork accessLocal filesystemMCP Server
Typical use
A healthcare or insurance operations team automates repetitive prior-authorization work in a payer portal and needs every action auditable and replayable
Not a fit if
  • Teams that need fully offline operation with no cloud model calls
  • Teams unwilling to run a Docker control plane and browser runtime
  • Self-hosters expecting a ready-made HIPAA BAA out of the box
Website
oyabrowser.com ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-29

What does this agent do, and when should you use it?

Oya Browser is a browser built for AI agents in healthcare and regulated work: a desktop AI browser for people, plus an agentic browser that runs in the cloud or self-hosted, with every action written to a tamper-evident audit trail. The repository ships the browser, a control-plane server (API, MCP and browser connections), a web console, a CLI, and SDKs for TypeScript (@oya-ai/browser) and Python (oya-browser). Its execution model is record-then-replay: browser.ask() lets the model complete a task, toPlaybook() saves the successful steps, and play() re-runs them with new inputs without calling a model, repairing individual steps when a page changes. Every browser exposes a CDP endpoint for Playwright and Puppeteer, and an MCP endpoint for assistants such as Claude Code and Codex. Self-hosting runs the control plane and browsers through Docker, Kubernetes, ECS or GKE; the README states that HIPAA compliance and a signed BAA come only with Oya Cloud and the enterprise edition.

new Oya().browser.start() launches a browser, browser.goto() navigates, and browser.ask() takes a natural-language task with {{mustache}} templates and a data payload, driving a model to complete it. After a successful run, browser.toPlaybook('pizza') persists the steps as a playbook and can export them as a Playwright module; browser.play('pizza', { name: 'Alan' }) then replays those steps deterministically with no model in the loop, and if a step no longer matches the page the agent completes just that step and updates the playbook (repair can be disabled per call). Each browser publishes a cdpUrl for chromium.connectOverCDP() and an MCP endpoint (http://127.0.0.1:47321/mcp locally, https://oyabrowser.com/mcp/pool in the cloud) for AI assistants. Personas persist a fingerprint, cookie store and proxy across sessions; stored passwords and TOTP seeds are sealed and never exposed to the model; any session can be watched live and taken over by a human. Actions are recorded on the audit trail.

  1. A healthcare or insurance operations team automates repetitive prior-authorization work in a payer portal and needs every action auditable and replayable
  2. A developer wants Claude Code or Codex to drive a dedicated browser instead of their own Chrome, keeping personal tabs separate
  3. A test team connects Playwright over CDP and freezes recorded flows into regression scripts that need no model calls
  4. An operator who needs stable browser identity (persistent fingerprint, cookies and proxy) runs several cloud sessions in parallel
  5. A self-hosting organization deploys the control plane and browser runtime on Docker or Kubernetes with host-level egress rules
  6. A business user watches an agent session on the desktop and takes over when something looks wrong, then hands control back

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • curl -fsSL https://raw.githubusercontent.com/OyadotAI/oya-browser/main/install.sh | sh -s -- --yes
  • npm install @oya-ai/browser # TypeScript
  • pip install oya-browser # Python
Ports
3100
Environment variables
ANTHROPIC_API_KEY OPENAI_API_KEY GEMINI_API_KEY OYA_BASE_URL OYA_API_KEY
Runtime
Node.js 20
Install notes cover
Docker

How do you install or deploy this agent?

Requirements: Node.js 20 or later, Docker (Compose 2.24 or later), and an Anthropic, OpenAI or Gemini model key. Export the model key and run the installer to bring up the control plane:

export ANTHROPIC_API_KEY=sk-ant-...   # or OPENAI_API_KEY, or GEMINI_API_KEY
curl -fsSL https://raw.githubusercontent.com/OyadotAI/oya-browser/main/install.sh | sh -s -- --yes

The installer clones the repository to ~/oya-browser, starts the services and prints connection settings; export them:

export OYA_BASE_URL=http://localhost:3100
export OYA_API_KEY=oya_...

Then install an SDK:

npm install @oya-ai/browser   # TypeScript
pip install oya-browser       # Python

For a guided deployment, run the same script without --yes and pick Docker, Kubernetes, Amazon ECS or Google Cloud/GKE. From a checkout you can also run make wizard, or make wizard ARGS="--target k8s" to skip the destination menu.

How do you use this agent?

Record a task once and replay it with new inputs. Save this as agent.mjs and run node agent.mjs:

import { Oya } from '@oya-ai/browser';

const browser = await new Oya().browser.start();
await browser.goto('https://httpbin.org/forms/post');

// Run 1: the agent works it out, and Oya records what it did.
let t = Date.now();
await browser.ask('Order a large pizza for {{name}}, then submit the order', { data: { name: 'Ada' } });
await browser.toPlaybook('pizza');
console.log(`agent:  ${(Date.now() - t) / 1000}s`);

// Every run after: the recorded steps with new inputs. No LLM in the loop.
t = Date.now();
await browser.play('pizza', { name: 'Alan' });
console.log(`replay: ${(Date.now() - t) / 1000}s, no model`);
await browser.stop();

Attach Playwright to the same browser through its CDP endpoint:

import { chromium } from 'playwright-core';
import { Oya } from '@oya-ai/browser';

const browser = await new Oya().browser.start();
const cdp = await chromium.connectOverCDP(browser.cdpUrl);
const context = cdp.contexts()[0];
const page = context.pages()[0] ?? (await context.newPage());
await page.goto('https://example.com');
console.log(await page.title());
await cdp.close();
await browser.stop();

Register the Oya Cloud MCP endpoint with Claude Code:

claude mcp add --transport http oya https://oyabrowser.com/mcp/pool \
  --header "Authorization: Bearer $OYA_API_KEY"

For Codex, create an API key in the Oya dashboard, set OYA_API_KEY in the environment, then register the cloud server:

codex mcp add oya-cloud --url https://oyabrowser.com/mcp/pool --bearer-token-env-var OYA_API_KEY

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • Record-and-replay is the core model: toPlaybook() plus play() remove model calls from repeat runs, and in the documented ten-site benchmark nine sites replayed every recorded step with healing disabled
  • Auditability is designed in: self-hosted deployments include host-level egress rules and a tamper-evident audit trail, with control evidence under compliance/EVIDENCE.md
  • Broad integration surface: every browser exposes CDP for Playwright, Puppeteer and Stagehand, plus an MCP endpoint and a Claude Code plugin
  • Provider choice: the same API targets self-hosted Docker, Oya Cloud, Browserbase, Steel, Anchor, Browser Use or any Chrome endpoint
  • Careful credential and identity handling: sealed passwords and TOTP seeds never reach the model, and Personas persist fingerprint, cookies and proxy
  • Clear license split: the SDK and CLI are MIT while the remaining components use the Sustainable Use License
Limitations
  • HIPAA compliance and a signed BAA exist only in Oya Cloud and the enterprise edition; this repository is the community edition, so regulated buyers cannot meet compliance through self-hosting alone
  • Installation still needs Docker, Node.js 20+, Compose 2.24+ and a paid model API key; the local install runs a single Docker browser and several samples require Oya Cloud
  • Kubernetes and GKE smoke checks use a private port-forward, leaving public DNS and TLS as extra setup, and cloud resources are billable
  • The license is a non-standard mix (Sustainable Use License plus MIT SDK), and self-hosting more than 5 cloud browsers requires a paid license
  • Replay is not absolute: when a page changes, step repair sends the request back to a model, bringing back latency and token cost
  • Desktop connect and login import depend on a macOS or Windows desktop app and may prompt for OS permissions

How does this agent compare with similar options?

The README explicitly compares Oya with Browserbase, Steel, Anchor and Browser Use, and ships a multi-vendor sample that runs one script across them; it also positions itself against using your everyday Chrome and against plain Playwright. Oya's differentiators relative to those are model-free replay, a tamper-evident audit trail, and one API across desktop, cloud and self-hosted browsers.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Oya Browser This agent 52 · Major gaps Self-hosted serviceFreemium ★ 422 1d ago TypeScript Codex · Claude Code
Auto Browser 76 · Some gaps Self-hosted serviceFree + model costs ★ 928 4d ago Python OpenAI API · Claude API
Heym 63 · Some gaps Self-hosted serviceFree + model costs ★ 1.8k 1d ago Python Codex · Claude.ai
x-use 88 · Good MCP serverFree ★ 187 7d ago Python Codex · Claude Code · Claude.ai

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
52/ 100 5-point scale 2.6 / 5
Trust 14/29
Reliability 8/14
Adaptability 10/18
Convention 10/18
Effectiveness 7/13
Verifiability 3/8
Why each dimension lost points
Trust14 / 29 · 2.4/5

Least privilege: preload is exposed only to the shell page, tabs and control shield get no preload, IPC has a shell-only guard, and AGENTS.md states control ownership (human vs agent) is checked before execution — score 2; but the acknowledged CDP passthrough file and internal CDP migration debt keep the permission surface wide. User confirmation: Connect dialog, welcome screen, human takeover and user-confirmed install flow are documented — score 2; yet curl|sh installers and agent-driven installs make the confirmation point depend on an external page. Data-flow transparency: README and SKILL describe model calls and cloud/desktop paths, but there is no itemized data-flow statement, and the license mandates a non-disableable daily usage report — score 1. Sensitive data: sealed passwords/TOTP, audit trail and egress rules are described with test hooks — score 2; but HIPAA compliance is explicitly enterprise/cloud only with no BAA in the community edition, deducted. Dependency security: CI runs npm audit scripts, gitleaks, read-only permissions and overrides — score 2; but the audit allowlist mechanism and the native engine binary (external URL+SHA) are not verifiable in-packet. External effects: browser automation inherently submits forms and places orders; no default dry-run or impact preview is documented — score 1. Rollback: playbook repair and deployment recovery docs are mentioned, but no explicit transactional/undo mechanism — score 1. Source attribution: the code-review skill credits Matt Pocock with SOURCE/LICENSE, but product and skill provenance are mixed and only partially clear — score 1.

Reliability8 / 14 · 2.9/5

Self-consistency: README, SKILL, AGENTS and CLAUDE agree on install paths (desktop Connect vs cloud MCP vs SDK), and AGENTS/CLAUDE duplicate but agree — score 2; but SKILL.md is truncated in the sample and Node version drifts (20 vs 22.3/22.18), deducted. Dependency availability: package.json pins Node>=22.18, README says Node 20, CI uses 24 — version drift; the native engine requires an external archive — score 1. Failure messages: server boot failures exit 1 with a printed reason, and SKILL gives 'Browser not ready' troubleshooting — score 2.

Adaptability10 / 18 · 2.8/5

Audience and scenarios: covers desktop, cloud, CI, Claude Code/Codex/Cursor/VS Code with clear scenarios — score 2. Capability boundaries: AGENTS.md defines the native-API boundary, CDP as front door only, and explicit unsupported-capability errors — score 2. Trigger precision: SKILL says to prefer installed Oya tools, but the trigger is broad (any web task) and install prompts can be auto-executed by agents — score 1. Environment fit: macOS/Windows/Linux and Docker/K8s/ECS/GKE requirements are given — score 2.

Convention10 / 18 · 2.8/5

Information architecture: README TOC, AGENTS/CLAUDE split and per-part ARCHITECTURE pointers are clear — score 2. Install notes: multi-path install, verification steps and troubleshooting are complete — score 2. Naming stability: AGENTS requires stable exports and facade re-exports — score 2. Examples and FAQ: examples directory with table and verification prompts — score 2. Known limitations: HIPAA enterprise-only, billable cloud resources and K8s DNS/TLS caveats are mentioned, but no consolidated limitations list — score 1. License: LICENSE.md is detailed (Sustainable Use + MIT SDK/CLI), but metadata is NOASSERTION and the license is non-OSI — score 2 after deducting for the metadata mismatch. Versioning/changelog: release badge and RELEASE_VERSION exist, but no in-repo CHANGELOG — score 1. Maintenance responsibility: SECURITY.md, Discord, Issues and enterprise contact exist, but the publisher is unverified and the maintaining entity is unclear — score 1.

Effectiveness7 / 13 · 2.7/5

Output usability: SDK examples, playbook replay and MCP tool descriptions are concrete and actionable — score 2. Marginal value: zero-LLM replay, human takeover and audit trail are clearly differentiated — score 2. Cost-benefit: replay is fast but first agent run is slow (152s in the example), cloud/self-host has a license cap (>5 cloud browsers needs a commercial license) and a non-disableable report, so cost is not transparent — score 1.

Verifiability3 / 8 · 1.9/5

Claim traceability: README cites docs/replay-benchmark.md, docs/stealth.md and compliance/EVIDENCE.md, but those files are not in the sample, so claims cannot be checked — score 1. Cross-source corroboration: CI workflows and test files corroborate some claims (coverage floors, audit, secret scan), but benchmark and compliance claims are single-source — score 1. Fact/inference separation: docs mix marketing ('HIPAA-compliant', '0% headless') with engineering facts without marking the difference — score 1.

Risks and how to mitigate them
  • HIPAA compliance and a BAA are enterprise/cloud only; the community self-hosted edition is not a compliance commitment and healthcare use needs separate assessment.
  • The license is the non-OSI Sustainable Use License: self-hosting more than 5 concurrent cloud browsers requires a commercial license, and the daily usage report cannot be disabled.
  • Installation relies on curl|sh and agent-executed install scripts; the user confirmation point depends on an external page, so review scripts in a controlled environment before running.
  • Browser automation causes real external effects (form submissions, orders); no default dry-run or impact preview is documented.
  • Publisher identity is unverified and the maintaining entity/update path is unclear; the native engine ships as an external archive whose SHA must be checked independently.
  • README and package.json disagree on the Node version (20 vs 22.18); confirm before deployment.
Evidence confidence: Low Reviewed Nov 29, 2026 Reviewed revision 58ea722493d1
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/oya-browser.svg)](https://followagents.com/en/agents/oya-browser)
<a href="https://followagents.com/en/agents/oya-browser"><img src="https://followagents.com/badge/oya-browser.svg" alt="FARS review"></a>

FAQ

Does replay really avoid calling a model?
By default yes. play() follows the recorded playbook without a model; only when a recorded step no longer matches the page, and repair is enabled, does the agent complete that single step and update the playbook.
Is the self-hosted build HIPAA compliant?
Not by itself. The README states that HIPAA compliance and a signed BAA come with Oya Cloud and the enterprise edition; self-hosting provides controls such as host-level egress rules and a tamper-evident audit trail, plus control evidence in compliance/EVIDENCE.md.
Do I have to use Oya Cloud?
No. You can run install.sh locally, or deploy via Docker, Kubernetes, ECS or GKE. However, several samples (CAPTCHA solving, Personas, parallel residential proxies) are documented as needing Oya Cloud or extra configuration.
What does it cost?
The SDK and CLI are MIT and the rest is under the Sustainable Use License; self-hosting more than 5 cloud browsers requires a license. Model usage is billed by Anthropic, OpenAI, Gemini or your chosen provider, and cloud resources are billed separately.
How do my agents connect to it?
Two paths. In the desktop app, click Connect and Oya writes local config for an MCP server named oya-browser at http://127.0.0.1:47321/mcp, with no account or key. Without a desktop, point any MCP client at https://oyabrowser.com/mcp/pool with OYA_API_KEY.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts