browser-use/browser-use-pi

A tiny TypeScript web agent, hill climbed on real browser evals.

What it solves

It provides a programmable way for AI agents to control a web browser, allowing them to perform complex tasks like finding information or summarizing content directly from the web.

How it works

The system uses Pi Mono and a persistent V8 REPL to allow an agent to write and execute JavaScript code. This code interacts with Chrome via the Chrome DevTools Protocol (CDP) and the accessibility tree (AX tree) and screenshots to understand the page state and navigate the的に

Who it’s for

Developers who want to integrate browser-automation agents into their TypeScript applications using a simplified SDK.

Highlights

  • Persistent Sessions: Supports saved logins, persistent workspaces, and follow-up interactions.
  • Flexible Browser Options: Works with cloud-based browsers or local Chrome installations.
  • Ultrafast Mode: Optimized for interaction-heavy tasks by using a compact accessibility-tree state.
  • Observability: Includes interaction highlights, recordings, and GIF exports to show the agent's work.
  • Programmable Control: Offers streaming, hooks, and typed results to manage agent behavior and cost.

Related

  • Project
  • Project
  • Project
  • Project
  • Project