Skip to content

Agent Browser Plugin

The Agent Browser plugin adds a browser automation skill backed by the agent-browser CLI.

Terminal window
pnpm add @sentry/junior @sentry/junior-agent-browser
  • Plugin manifest: agent-browser
  • Skill: /agent-browser
  • Runtime dependency: agent-browser npm package installed in the sandbox snapshot
  • Runtime postinstall: agent-browser install to provision browser binaries in the snapshot

No OAuth or capability setup is required for this plugin.

Example invocation:

/agent-browser Open https://example.com, capture a screenshot, and summarize what is on the page.
  1. Run /agent-browser with a simple open + snapshot request.
  2. Confirm the turn can execute agent-browser commands successfully.
  3. Confirm output includes concrete page evidence (URL and/or screenshot references).
  • command not found: agent-browser: runtime dependency install did not complete; retry the turn and check sandbox setup logs.
  • Stale element refs (@e*): take a fresh snapshot -i after navigation or DOM changes.
  • Page appears incomplete: wait explicitly with agent-browser wait --load networkidle before interacting.

Continue with Custom Plugins to build provider-specific extensions or review Security Hardening for production controls.