Agent Browser Plugin
The Agent Browser plugin adds a browser automation skill backed by the agent-browser CLI.
Install the plugin package
Section titled “Install the plugin package”pnpm add @sentry/junior @sentry/junior-agent-browserWhat this plugin provides
Section titled “What this plugin provides”- Plugin manifest:
agent-browser - Skill:
/agent-browser - Runtime dependency:
agent-browsernpm package installed in the sandbox snapshot - Runtime postinstall:
agent-browser installto provision browser binaries in the snapshot
No OAuth or capability setup is required for this plugin.
Use the skill in a thread
Section titled “Use the skill in a thread”Example invocation:
/agent-browser Open https://example.com, capture a screenshot, and summarize what is on the page.Verify
Section titled “Verify”- Run
/agent-browserwith a simple open + snapshot request. - Confirm the turn can execute
agent-browsercommands successfully. - Confirm output includes concrete page evidence (URL and/or screenshot references).
Failure Modes
Section titled “Failure Modes”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 freshsnapshot -iafter navigation or DOM changes. - Page appears incomplete: wait explicitly with
agent-browser wait --load networkidlebefore interacting.
Next step
Section titled “Next step”Continue with Custom Plugins to build provider-specific extensions or review Security Hardening for production controls.