← 返回
未分类 Key 中文

AgentBrowse

Browser automation workflows through the agentbrowse CLI for launch, attach, observe, act, extract, navigation, and screenshots.
通过 agentbrowse CLI 实现浏览器自动化工作流,包括启动、附加、观察、行动、提取、导航和截图。
xor777 xor777 来源
未分类 clawhub v0.1.22 1 版本 100000 Key: 需要
★ 0
Stars
📥 548
下载
💾 0
安装
1
版本
#latest

概述

AgentBrowse is the browser layer for agent tasks that happen on a real

website.

Use this skill when the agent needs to:

  • launch a browser or attach to an existing one;
  • inspect the current page and decide from visible state;
  • click, type, select, and otherwise act on returned target refs;
  • navigate directly to a known URL;
  • extract structured data from the page;
  • capture screenshots or recover a stuck browser session.

AgentBrowse works well on its own for browser automation. It can also be

paired with MagicPay later when a broader flow reaches an approved login,

identity, or payment step.

Open source:

  • Browser library and docs: https://github.com/MercuryoAI/agentbrowse
  • CLI package: @mercuryo-ai/agentbrowse-cli

Setup

  • agentbrowse must be available on PATH. If it is missing or outdated, run

npm i -g @mercuryo-ai/agentbrowse-cli@latest, then verify with

agentbrowse --version.

  • agentbrowse launch needs an environment that can start a browser.

agentbrowse attach needs a reachable CDP endpoint.

  • Core browser commands such as launch, attach, navigate, act,

browser-status, screenshot, and close do not need any API key.

  • AI-assisted features — observe with a natural-language goal and

extract — call an LLM through the gateway. Configure API access with

agentbrowse init before using them. Pass a non-default API

URL during init if needed.

  • agentbrowse doctor inspects the local config. Use it after init

when AI-assisted observe or extract still fails.

Core Loop

  1. Start or connect to a browser with agentbrowse launch [url] or

agentbrowse attach .

  1. Read the page with agentbrowse observe.
  2. Act on the returned refs with agentbrowse act [value].
  3. Re-run agentbrowse observe after navigation or meaningful UI changes.
  4. Use agentbrowse navigate when the destination is already known.
  5. Use agentbrowse extract '' [scopeRef] when you need

structured output instead of another page action.

  1. Use agentbrowse screenshot or agentbrowse browser-status only for

evidence and debugging.

  1. Finish with agentbrowse close when the browser session is no longer

needed.

When To Bring In Another Tool

Bring in a companion protected-flow tool when the site reaches:

  • a login step that needs approved protected values;
  • an identity form with protected personal data;
  • a payment step with protected card details or approval flow.

At that point AgentBrowse can stay the browsing layer around the protected

step, but it should not invent its own secret-handling flow.

Ask-User Boundary

Ask the user only when:

  • the correct next step is still ambiguous after re-observing the page;
  • the environment cannot launch or attach to a browser;
  • the task crosses into a protected approval or payment boundary.

Operating Rules

  • Trust the visible page state, not assumptions about what should have

happened.

  • Re-observe after meaningful page changes instead of reusing stale refs.
  • Keep browser work and protected-step handling separated.
  • close is only teardown or recovery. Never treat close as a success

signal — task success comes from the visible page state before close.

More Detail

Open an extra reference only when it helps:

If a term (session, ref, targetRef, scopeRef, fillRef, pageRef)

is unfamiliar, check the

AgentBrowse API reference glossary.

版本历史

共 1 个版本

  • v0.1.22 当前
    2026-05-03 04:54 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 851 📥 333,480
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,424 📥 326,520
ai-agent

self-improving agent

pskoett
记录自身发现以实现自我改进的技能
★ 4,135 📥 909,593