## Try it

You need [uv](https://docs.astral.sh/uv/), which fetches Python 3.13 or newer itself, an
[OpenRouter](https://openrouter.ai/) key and the
[fastbrowse extension](https://chromewebstore.google.com/detail/fastbrowse/ghodfgfhbfaghhfdabopagbfopdjgpop) in
Chrome. Run `uvx fastbrowse extension install` once to register it:

```sh
export OPENROUTER_API_KEY=...   # Jev, the model that picks each action, and the LLM for start pages, written field values and composed answers
uvx fastbrowse "What is the title of the top story right now?" --start https://news.ycombinator.com/
```

A browser task runs in your own Chrome, signed in as you are, through the extension; with no extension connected the
command stops before it spends anything. Pass `--cloud` with a `BROWSER_USE_API_KEY` for a Browser Use Cloud browser,
which passes bot checks and prints a URL to watch the run live.
`AI_GATEWAY_API_KEY` (Vercel AI Gateway) serves the LLM when `OPENROUTER_API_KEY` is unset. With both keys,
the automatically selected OpenRouter LLM moves to the gateway for the rest of the run if OpenRouter refuses its key.
Jev can also run through the gateway as a last resort, or another decision host with `FASTBROWSE_DECISION_SOURCE`.
[Jev routing](https://github.com/agent-labs-dev/fastbrowse/blob/633121ade207c7e3e415bdf4fd26f7a0f2608c58/docs/jev.md#provider-failover) covers the order and [other hosts](https://github.com/agent-labs-dev/fastbrowse/blob/633121ade207c7e3e415bdf4fd26f7a0f2608c58/docs/jev.md#other-decision-hosts).

Set `EXA_API_KEY` to let Jev choose web search without opening a browser. The LLM proposes queries,
and Exa returns result links and metadata that the run can cite or open. Each request has a `search` cost receipt;
the run checks its dollar budget before sending it. A browser already in use stays open behind the results.

Keys can live in a `.env` file in the working directory ([`.env.example`](https://github.com/agent-labs-dev/fastbrowse/blob/633121ade207c7e3e415bdf4fd26f7a0f2608c58/.env.example) lists every setting), but
values named by `--secret` must be in the process environment. `uv tool install fastbrowse` keeps the command on
your PATH, `uv add fastbrowse` adds it to a project, and `npm install fastbrowse` gives Node.js the same agent with
no Python. `fastbrowse self-update` names how a copy was installed and prints the command that upgrades it.

Steps go to stderr; the status, cost, step count, why a run stopped short, and the answer go to stdout. `--json`
prints the full result: every step, the quotes behind the answer, cost by component, and the build that ran it. The
exit code is the status, and only `complete` exits 0.

```sh
export SAUCE_PASSWORD=secret_sauce
uvx fastbrowse "Log in as standard_user with the saved password and add the backpack to the cart." \
  --start https://www.saucedemo.com/ --secret password=SAUCE_PASSWORD --authorize
```

The [command-line reference](/docs/flags#flags) has every flag, your own signed-in Chrome and Bitwarden logins, driving open
windows and [desktop apps](/docs/attach#desktop-apps), model and provider settings, and every status with its exit code.

## Use your own Chrome

Run fastbrowse in the Chrome you already use, where you are already signed in. You need
[uv](https://docs.astral.sh/uv/), Chrome and an [OpenRouter](https://openrouter.ai/) API key. Model calls are
billed by your provider; this mode needs no Browser Use Cloud key.

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 the CLI and register it with your browser:

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

2. [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.
3. Start a task from your terminal:

   ```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,
[follow the setup checks](/docs/troubleshooting#the-extension-is-not-connected). Chrome shows a debugging bar
while fastbrowse works.
The [setup and usage guide](/docs/signed-in-sites#your-own-chrome) covers signed-in tasks, browser selection,
permissions and stopping a run.