agent-browser logo

agent-browser

Free
-(0 评价)
0 已收藏

Browser automation CLI designed for AI agents, featuring compact text output, ref-based selection, and native Rust implementation.

收录时间:2026年7月13日
月访问量:
80.1K
社交与联系:
browser automationAI agentsCLIRustweb automationaccessibility tree

工具信息

什么是 agent-browser?

agent-browser is a command-line browser automation tool optimized for AI agents. It delivers compact accessibility-tree snapshots with deterministic refs to minimize token usage and enable reliable web interactions via shell commands.

核心功能

  • Agent-first compact output

    Produces compact text output that uses fewer tokens than JSON, designed specifically for AI context efficiency.

  • Ref-based element selection

    Snapshot command returns an accessibility tree with unique refs (such as @e1, @e2) for deterministic element selection and interaction without DOM re-query.

  • Complete command set

    Offers 50+ commands covering navigation, forms, screenshots, network, storage, files, tabs, frames, and debugging.

  • Built-in observability tools

    Includes video recording, streaming, debugging, profiler, and diffing tools.

  • Modern application support

    Provides first-class support and documentation for network control, React & Web Vitals, init scripts, and Next.js + Vercel workflows.

  • Stateful sessions

    Supports sessions, profiles, auth state, cookies, storage, proxy, and security controls for long-running agents.

  • Cross-platform native binaries

    Delivers native Rust binaries for macOS (ARM64, x64), Linux (ARM64, x64), and Windows (x64).

  • Client-daemon architecture

    Uses a Rust CLI client that communicates with a pure Rust native daemon managing Chrome via the Chrome DevTools Protocol; daemon starts automatically and persists between commands.

使用场景

  • #1

    AI agent web automation

    Enable AI agents that can run shell commands to open pages, take snapshots, click refs, fill forms, capture screenshots, and close sessions for autonomous browser workflows.

  • #2

    Token-efficient page understanding

    Obtain compact accessibility-tree snapshots that use roughly 200-400 tokens instead of thousands for full DOM, allowing efficient LLM parsing and interaction planning.

  • #3

    Persistent multi-step agent sessions

    Maintain auth state, cookies, profiles, storage, and proxy settings across commands so long-running agents can continue authenticated workflows.

  • #4

    Debugging and observability of browser tasks

    Record video, stream sessions, profile performance, and diff page states while automating modern web applications including React and Next.js sites.

适用人群:AI agents that can execute shell commandsDevelopers integrating browser automation into agent workflowsUsers of Claude Code, Cursor, GitHub Copilot, OpenAI Codex, Google Gemini, and opencode

定价方案

Installable at no cost via npm (global or npx), Homebrew, or by downloading native binaries; no paid plans, tiers, or pricing details are mentioned on the official site.

替代工具

常见问题

What is agent-browser?
agent-browser is a browser automation CLI designed for AI agents. It features compact text output, ref-based selection, and a native Rust implementation to minimize token usage and support reliable web interactions through shell commands.
How does agent-browser work with AI agents?
AI agents that can run shell commands can use agent-browser to open pages, take compact accessibility-tree snapshots with refs, click elements, fill forms, capture screenshots, and manage sessions for autonomous browser workflows.
Is agent-browser free to use?
Yes. It is installable at no cost via npm (global or npx), Homebrew, or native binaries. No paid plans, tiers, or pricing details are mentioned on the official site.
Which platforms does agent-browser support?
It provides native Rust binaries for macOS (ARM64, x64), Linux (ARM64, x64), and Windows (x64), and can be installed via npm on all platforms or Homebrew on macOS.
What tools and environments does agent-browser integrate with?
It works with Claude Code, Cursor, GitHub Copilot, OpenAI Codex, Google Gemini, opencode, and any agent that can run shell commands, along with Chrome via CDP, Next.js + Vercel workflows, and related browser providers.

agent-browser 联系方式与社交媒体

访问官方网站

评价

-

分享你对这个工具的使用体验...

工具信息

定价模式Free
分类开发者工具
二级分类
browser automationAI agentsCLIRustweb automationaccessibility tree
语言英语
最后更新2026年7月16日