Chrome browser-control extension for PiChat + pi
Let your local Pi agent inspect pages, open tabs, click, type, scroll, and answer questions about the browser.
PiBrowser connects Chrome to PiChat. Once paired, the Pi agent can control the browser through real tools instead of a fragile JSON loop.
The extension can:
- open tabs and navigate pages;
- inspect the current tab and DOM context;
- click elements by page id or visible text;
- type into inputs;
- press keys;
- scroll;
- wait for page updates;
- capture screenshots when needed.
When the agent controls a page, PiBrowser shows a small page glow and animated cursor so you can see what is happening.
This is the simplest free installation path while PiBrowser is not yet published in the Chrome Web Store.
Download the latest release ZIP from:
👉 https://github.com/Rrollan/PiBrowser/releases/latest
Unzip it somewhere permanent, for example:
~/Applications/PiBrowser
Keep the folder. Chrome loads the extension from this folder, so do not delete it after installation.
- Open Chrome.
- Go to:
chrome://extensions - Enable Developer mode in the top-right corner.
- Click Load unpacked.
- Select the unzipped
PiBrowserfolder.
That is it — PiBrowser is installed locally.
PiBrowser uses Chrome Native Messaging. The local native host is installed by PiChat, not by Chrome.
- Open PiBrowser in Chrome.
- If it is not connected, PiBrowser shows a red card with Browspi/PiBrowser ID.
- Copy that ID.
- Open PiChat → Settings → Browser.
- Paste the ID into Browspi ID.
- Click Connect Browser.
- Reload PiBrowser in
chrome://extensions. - Open PiBrowser again and click Connect.
When connected, the PiBrowser panel shows Connected.
User message
→ PiChat or PiBrowser side panel
→ pi agent
→ browser_* tools
→ PiChat native host / broker
→ PiBrowser extension
→ Chrome tab action
→ result back to pi
PiBrowser is intentionally only an executor. The agent reasoning happens in pi/PiChat, and browser actions go through explicit tools such as:
browser_open_tabbrowser_get_page_contextbrowser_clickbrowser_typebrowser_pressbrowser_scrollbrowser_screenshotbrowser_wait
PiBrowser is designed for visible, local browser automation:
- password field values are not sent in DOM snapshots;
- cookies and localStorage are not intentionally read or sent to the model;
- screenshots are only captured when the agent explicitly uses the screenshot tool;
- destructive/payment/checkout/delete-style actions should require user confirmation;
- CAPTCHAs should not be bypassed.
You should still treat browser automation as powerful. Only connect PiBrowser to PiChat builds you trust.
Clone this repository and load the folder directly:
git clone https://github.com/Rrollan/PiBrowser.gitThen open chrome://extensions, enable Developer Mode, and select the cloned folder with Load unpacked.
./scripts/package.shThe ZIP will be created in:
dist/PiBrowser-extension.zip
- Google Chrome or a Chromium-based browser with Manifest V3 support.
- PiChat installed locally.
- pi coding agent installed on the machine running PiChat.
MIT

