OpenParable
Skip to content
← Back to skills

Agent Browser Runtime Deploy

Agent Building
agent-browser-runtime-deploy

Agent Browser Runtime Deploy is an Agent Skill for agent building published in the energypantry/agent-browser-runtime repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Deploy and verify Agent Browser Runtime locally for an agent that needs a compose-managed real Chrome runtime with persistent profile, noVNC handoff, leases, artifacts, browser consistency policy, and generic extractor execution.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/energypantry/agent-browser-runtime/blob/HEAD/skills/codex/agent-browser-runtime-deploy/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/agent-browser-runtime-deploy, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Agent Browser Runtime Deploy

Use this skill when asked to install, run, repair, or verify Agent Browser Runtime on a local machine.

Requirements

  • Docker with Compose v2
  • Node.js 20+ on the host for the CLI and syntax checks
  • Python 3 for smoke-test JSON validation
  • Ports available on loopback: 17890 broker, 19223 CDP proxy, 16080 noVNC

First Deploy

From the Agent Browser Runtime repository root:

cp .env.example .env
docker compose up --build -d
./scripts/smoke-test.sh

To use a local fingerprint-chromium binary, set BRS_FINGERPRINT_CHROMIUM_HOST_PATH and start with:

docker compose -f docker-compose.yml -f docker-compose.fingerprint.yml up --build -d

Expected endpoints:

  • Broker: http://127.0.0.1:17890
  • CDP proxy: http://127.0.0.1:19223
  • noVNC: http://127.0.0.1:16080/vnc.html?autoconnect=true&resize=remote
  • TLS gateway: http://tls-gateway:8080 inside compose, surfaced through ./cli/brs.js status

Verification

Run:

./cli/brs.js status
./cli/brs.js fetch https://example.com --agent deploy-check --task smoke --screenshot --humanize enhanced
./cli/brs.js extract example.extract.js https://example.com --agent deploy-check --task extractor-smoke --screenshot --save-html

status should report extensionConnected: true, stealth.mode: trusted-real-browser, stealth.enabled: false, and platformPacing.enabled: true.

Operating Rules

  • Use broker leases; do not directly drive the same Chrome tabs from multiple agents.
  • Keep at least 70 ms between broker-driven requests. For unknown or sensitive targets, serialize per domain and use seconds-to-minutes cooldowns.
  • Use noVNC for login, Captcha, MFA, sliders, and account-safety checks.
  • Keep .env, data/, artifacts/, and runtime/profile/ local and uncommitted.
  • Keep site-specific/private extractors outside the public repository unless they are intentionally generic examples.

Browser Consistency Controls

Agent Browser Runtime intentionally exposes browser identity controls:

  • BRS_RUNTIME_PRESET
  • BRS_STEALTH_MODE
  • BRS_GENERATE_FINGERPRINT_ENABLED
  • BRS_FINGERPRINT_CHROMIUM_HOST_PATH
  • BRS_FINGERPRINT_HEADERS_ENABLED
  • BRS_FINGERPRINT_PATCHES_ENABLED
  • BRS_STEALTH_EXCLUDED_HOSTS
  • BRS_CANVAS_NOISE_ENABLED
  • BRS_AUDIO_NOISE_ENABLED
  • BRS_TLS_GATEWAY_PROXY_SERVER
  • BRS_TLS_GATEWAY_BASE_URL
  • BOT_HUMANIZE_LEVEL

Default mode is trusted-real-browser. Set BRS_STEALTH_MODE=legacy-js only for an explicit compatibility experiment, and set BRS_STEALTH_MODE=patched-browser when a mounted browser binary owns identity changes. Set BRS_RESET_PROFILE_ON_SIGNATURE_CHANGE=1 only when an intentional clean browser profile is required.

Repair Loop

  1. docker compose ps
  2. ./cli/brs.js status
  3. If broker is up but extensionConnected is false, restart with docker compose up --build -d.
  4. If ports are occupied, change BROKER_HOST_PORT, CDP_HOST_PORT, or NOVNC_HOST_PORT in .env.
  5. If profile state is corrupt, stop the stack, back up or remove runtime/profile/, then start again.