OPEN-SOURCE EXTENSION

pi-browser: a browser for pi agents

Your agent gets its own browser, and you can take over and hand it back. It reads pages, clicks, types and takes screenshots, and it files every page it reads as evidence.

Read the README

What it adds to your agent

The limit. The credential guards are not in this release. Until they ship, use the live view with test accounts on practice sites only. The model's own page code can read what a person types there.

What the credential redaction does not cover: a value nobody registered and no shape matches, and what a person types into a page.

Install

pi install npm:@parcha/pi-browser@beta    # the pi coding agent's extension
npm install @parcha/pi-browser@beta       # the library: providers, driver, durable adapter

pi install loads the extension. A Chrome starts on the model's first browser call, and not before.

Node 22.19 or later, ESM only. Apache-2.0.

Try it

The demos live in the repository, not the npm package. Each needs Chrome or Chromium; CHROME_PATH names it.

git clone https://github.com/Parcha-ai/agentrun && cd agentrun
npm ci && npm run build
node packages/pi-browser/examples/one-script-three-providers.mjs https://github.com/Parcha-ai/agentrun

Browsers it runs on