agent-browser
agent-browser is a browser automation command-line tool for AI agents developed by Vercel Labs, written in native Rust. It lets AI agents drive the browser through individual shell commands: open pages, read page content as an accessibility tree, and perform actions on page elements. The snapshot command returns the page as compact text, attaching a reference identifier like @e1 to each element; the agent first performs an action on a reference, then re-reads the page to confirm the result, and repeats this loop. The browser stays open between commands, so each step requires only a short shell call. It supports Homebrew, a Linux install script, and running via npx without installation, and also supports connecting to clients through the MCP protocol.