## Signed-in sites

### Your own Chrome

A browser task runs in the Chrome you already use, where you are already signed in. `--extension` is the default
and `--local` is an alias for it. Pass `--cloud` for a Browser Use Cloud browser, `--fetch` to read over HTTP, or
`--desktop` for a desktop app. Start tasks from your terminal; the extension connects fastbrowse to Chrome and
shows the runs you can stop.

You need Chrome, [uv](https://docs.astral.sh/uv/) and an [OpenRouter](https://openrouter.ai/) API key.
Model calls are billed by your provider. You do not need a Browser Use Cloud key for this mode.

The extension has to match the fastbrowse you install: the Store's **0.1.0** works with fastbrowse **0.10.x**, and fastbrowse **0.11.0 or later** requires extension **0.1.1 or later** with its supported-command list. A run that finds an older extension stops before it spends anything and names the version it needs. If the Store does not list the version you need yet, run `fastbrowse extension path`, open `chrome://extensions`, enable **Developer mode**, choose **Load unpacked** and select the printed folder.

1. Install fastbrowse and configure your model key:

   ```sh
   uv tool install fastbrowse
   export OPENROUTER_API_KEY=...  # replace with your key
   ```

2. Run `fastbrowse extension install`. It registers the installed program with the Chromium browsers it finds
   for your user. Chrome, Chromium, Edge and Brave are supported on Linux, macOS and Windows.
3. [Add fastbrowse to Chrome](https://chromewebstore.google.com/detail/fastbrowse/ghodfgfhbfaghhfdabopagbfopdjgpop).
   Open it from Chrome's Extensions menu to see runs and their **Stop** buttons.
4. Run a task that reads a public page:

   ```sh
   fastbrowse "What is the title of the top story?" --start https://news.ycombinator.com/ --extension --browser
   ```

A run that reaches the page confirms the connection. If it ends `unavailable` with no browser connected,
restart Chrome or turn the extension off and on, then [check the connection](/docs/troubleshooting#the-extension-is-not-connected).
The terminal prints the answer and status. Only `complete` means the whole task was verified.
To read a signed-in site, use its address and describe what you need:

```sh
fastbrowse "Find my last order's delivery date. Do not change anything." \
  --start https://www.amazon.com/ --extension
```

`--attach` drives the window you have open instead of a tab of its own, and `--target-match TEXT` picks the window
whose title or URL contains `TEXT`.

Each run works in a tab group of its own, named after the task, and closes its tabs when it ends. A run that stops at
`needs_confirmation`, `needs_input` or `needs_login` leaves the tab it stopped in open, out of the group, so you can
finish the step in the page it filled. While a run is attached, Chrome shows a bar saying an extension started
debugging the browser. Each run has three ways to stop it, and each ends the run `cancelled` with an error that says
which one stopped it: **Stop** in the extension's popup, **Cancel** on that bar (which stops every run in that
browser), or closing all of the run's tabs.

The extension relays page-level commands, including reading page content and carrying out clicks and typing.
It cannot read cookies, saved passwords or other sites' storage through browser APIs,
and fastbrowse accepts connections only from the extension's own ID, over a socket only your user can open. The
extension sends that content to the local fastbrowse program, which can send it to the model providers you
configure. The run's [authorization](/docs/flags#flags) rules still apply: actions classified as irreversible wait for
`--authorize`. Classification can miss a change, so state read-only constraints in your task and check important
actions yourself.

A run with `--file` needs an extension that can intercept the browser's file chooser. If the run reports that
interception failed, update the extension. For an unpacked extension, run `fastbrowse extension path` with the
current CLI and click **Reload** on the extension's card in `chrome://extensions`.

With no browser connected, the run ends `unavailable` before it spends anything; it never falls back to another
browser. It also ends `unavailable` when the extension is older than fastbrowse and cannot relay a command fastbrowse
sends, naming the commands: update the extension from the Chrome Web Store. With the extension in more than one browser, label each one in its popup and pick one with
`--extension-browser LABEL`. `fastbrowse extension install --policy` (Linux) prints a Chrome policy for you to write
as root, which installs the extension for every profile with no debugging bar and marks Chrome as managed by your
organization;
`fastbrowse extension uninstall` removes what `install` wrote; remove the extension separately in Chrome.

For extension development, `fastbrowse extension path` writes an unpacked copy. Open `chrome://extensions`,
turn on Developer mode, choose **Load unpacked** and select that folder. Use the store version for ordinary runs.

**Other extensions can take the run's tab away.** Chrome lets no extension debug a tab while the page holds a frame
from another extension, and some extensions add one to every page: screen recorders, password managers and writing
assistants are common ones. When that happens the run ends `unavailable` and names the extension. Open
`chrome://extensions`, choose **Details** on that extension, and set **Site access** to **On click**: it then adds
its frame only where you click it, and runs work again. See
[Another extension's frame takes the tab away](/docs/troubleshooting#another-extensions-frame-takes-the-tab-away).

**Other extensions also see the run's pages.** A run's tabs are ordinary tabs, so every extension with site access
reads and can change them as it does any other tab, signed-in pages included: a coupon finder is sent the address,
an ad blocker or a translation overlay changes what the run reads. For sensitive work, or runs you want to
reproduce, use a separate Chrome profile with only fastbrowse installed.

### A profile of its own

The extension uses the profile of the Chrome it is installed in, so sign in there. For a kept profile apart from
your everyday Chrome, use an SDK: `chrome=LocalChrome(profile=..., headed=True)` in Python (see
[Embed it](/docs/python#embed-it)) keeps the sign-in between runs; the CLI refuses `--profile` and `--headed`.

On a cloud browser, `--cloud --cloud-profile prof_1234` runs as a [Browser Use Cloud](https://cloud.browser-use.com)
profile someone signed in once. The run inherits its cookies and no model sees a credential.

`--bitwarden ITEM` types a Bitwarden vault login. The item's saved URIs must match `--start`. Models see only
`username`, `password` and, when the item holds an authenticator key, `one_time_code`, computed as it is typed.
With [rbw](https://github.com/doy/rbw) installed, fastbrowse reads the item through it, and a locked vault asks
for your password through rbw's pinentry. rbw reads its local copy of the vault, so run `rbw sync` after adding
an item, and pass the item's id when its name matches more than one entry:

```sh
fastbrowse "Add a UGREEN USB-A to USB-C cable, 2m, to my cart." \
  --start https://www.amazon.com/ --bitwarden Amazon
```

Without rbw, fastbrowse reads the item through the [Bitwarden CLI](https://bitwarden.com/help/cli/), unlocked
first:

```sh
export BW_SESSION="$(bw unlock --raw)"
fastbrowse "Add a UGREEN USB-A to USB-C cable, 2m, to my cart." \
  --start https://www.amazon.com/ --bitwarden Amazon
```

To change a password, add the replacement as an origin-scoped secret named `new_password`, refer to it in the
task, and pass `--authorize`. fastbrowse never generates a password or reuses the old one. A single field marked
`autocomplete=new-password` can also appear on a sign-in page. Jev uses the task and form context to choose its
role; when the role is unclear, the run stops at `needs_input`.