適用於 AI 代理的無頭瀏覽器自動化 CLI (Rust)
Hacker News·
本文介紹 agent-browser,這是一個基於 Rust 的無頭瀏覽器自動化命令列介面 (CLI),專為協助 AI 代理而設計。它提供快速的 Rust 實作,並支援 Node.js 備援,採用客戶端-守護進程架構以提升效能。
agent-browser
Headless browser automation CLI for AI agents. Fast Rust CLI with Node.js fallback.
Features
Example
Why refs?
The snapshot command returns an accessibility tree where each element has a unique ref like @e1, @e2. This provides:
Architecture
Client-daemon architecture for optimal performance:
Daemon starts automatically and persists between commands.
Platforms
Native Rust binaries for macOS (ARM64, x64), Linux (ARM64, x64), and Windows (x64).
相關文章