
A headless browser automation tool written in Rust with a Node.js fallback, designed specifically for AI agents to interact with web pages through structured commands. You get navigation, clicking, typing, and page snapshots out of the box. The Rust core should make it faster than pure JavaScript alternatives, which matters when your agent is iterating through multiple page interactions. Worth noting it failed two of three security audits listed, so you'll want to review those findings before using it in production. The CLI setup is straightforward with global npm install, and it's got decent traction at 937 GitHub stars.
$ npx -y skills add am-will/codex-skills --skill 'Agent Browser' --agent claude-codeInstalls into .claude/skills of the current project.
A fast Rust-based headless browser automation CLI with Node.js fallback that enables AI agents to navigate, click, type, and snapshot pages via structured commands.
npm install -g agent-browser
agent-browser install
agent-browser install --with-deps
git clone https://github.com/vercel-labs/agent-browser
cd agent-browser
pnpm install
pnpm build
agent-browser install
agent-browser open example.com
agent-browser snapshot
agent-browser click @e2
agent-browser fill @e3 "test@example.com"
agent-browser get text @e1
agent-browser screenshot page.png
agent-browser close
For sites requiring Google/Discord/etc login (like star-swap.com):
Method 1: Launch Chrome with custom profile, connect via CDP
# Terminal 1: Launch Chrome with your real profile and remote debugging
google-chrome --remote-debugging-port=9222 --user-data-dir=/home/willr/.config/google-chrome/Default &
Sponsors