Rust CLI tool for browser automation designed for AI agent workflows with JSON output and screenshot support.
Chrome is the default engine, but it can also run on Lightpanda, a headless browser written in Zig for automation, crawling and AI agents. Switch with agent-browser --engine lightpanda open example.com, or make it the default with AGENT_BROWSER_ENGINE=lightpanda or "engine": "lightpanda" in agent-browser.json. agent-browser drives it over CDP like Chrome, so the commands stay the same. You install the Lightpanda binary yourself and pass --executable-path if it isn't on your PATH.
Lightpanda doesn't render pages, so screenshots return a placeholder image, and extensions, persistent profiles, saved storage state and file access are not supported. It works best for snapshot-and-click agent loops, scraping and parallel runs on small CI machines. Lightpanda's own benchmarks claim about 9x faster runs and 16x less memory than headless Chrome. For steps that need real rendering, switch back to Chrome.