GitHub – tinybrowser-dev/tinybrowser: a small headless browser for AI agents in a single binary

Anne Barela · Dec 4, 2026 · about 1 min read

AI summary AI-generated, may contain mistakes

tinybrowser is a headless browser written in Rust and distributed as a single binary, designed for AI agents that need to load and interact with web pages. It supports the Chrome DevTools Protocol and W3C WebDriver, enabling compatibility with tools like Playwright and Selenium, and can also compile to WebAssembly. Prebuilt binaries are available for macOS, Linux, and Windows, with installation via npm, and the project is MIT licensed but marked experimental.

Key takeaways

  • tinybrowser is a lightweight, Rust-based headless browser shipped as a single binary for AI agents.
  • It speaks Chrome DevTools Protocol and W3C WebDriver, so Playwright and Selenium can connect to it.
  • It compiles to WebAssembly, allowing it to run inside a regular browser via a live demo.
  • Binaries for macOS, Linux, and Windows are available on GitHub Releases, and it can be installed from npm.
  • The project is MIT licensed and currently marked as experimental.

tinybrowser is a headless browser written in Rust and shipped as a single binary. A headless browser loads and renders web pages under the control of code rather than a person. It’s aimed at AI agents that need to load pages and act on them.

It speaks the Chrome DevTools Protocol and W3C WebDriver, so Playwright and Selenium can use it. Running the daemon prints its endpoint as JSON, and that URL goes to Playwright to connect. WebDriver Classic uses the same port, and BiDi connects over a websocket.

The browser also compiles to WebAssembly, and the live demo on the project site runs inside a regular browser. Bun, browsers and Workers each use their own loaders.

Keep reading

Out of respect for the author only the opening is shown here. Read the rest on the original site, or in HorizonReader with highlights, notes and AI help.