@weavz-io/local-browser-use
v0.1.0
Published
Local browser companion for Weavz Agent Local Browser Control
Maintainers
Readme
Weavz Local Browser Use
Local browser companion for Weavz Agent Local Browser Control.
It opens a dedicated Chrome or Chromium profile on a user's machine and connects outbound to a Weavz browser session. Agents can then use the Weavz browser tools against that visible local browser while the user can complete logins, MFA, CAPTCHAs, device-trust checks, and password-manager flows on their own device.
Usage
Start a local browser session from Weavz first. The start_session or ensure_connected action returns a localRunnerCommand that looks like this:
npx -y @weavz-io/local-browser-use connect \
--url "<localRunnerUrl from start_session>" \
--profile "<localProfileId>"Run that command on the machine that should host the browser.
Requirements
- Node.js 22.13+
- Google Chrome or Chromium installed locally
- A Weavz local browser session URL from
agent-local-browser-control
If Chrome is not installed in a standard location, pass it explicitly:
npx -y @weavz-io/local-browser-use connect \
--url "<localRunnerUrl from start_session>" \
--profile "<localProfileId>" \
--browser-executable "/path/to/chrome"Security
Treat the localRunnerCommand as a short-lived secret. It contains a session-scoped runner token and should only be run on the user or device that should attach the local browser.
By default, the CLI only accepts Weavz hosted local-runtime URLs and loopback development URLs. For self-hosted Weavz endpoints, pass --allow-custom-url only when you trust the endpoint:
npx -y @weavz-io/local-browser-use connect \
--url "<self-hosted localRunnerUrl from start_session>" \
--profile "<localProfileId>" \
--allow-custom-urlThe companion uses a dedicated profile under ~/.weavz/local-browser; it does not attach to the user's default Chrome profile.
