docs
First run
Install fastbrowse with uv, choose a cloud or local browser, and run a first task from the command line.
Raw Markdown·Source at the pinned commit
Try it
You need uv, which fetches Python 3.13 or newer itself, an
OpenRouter key and the
fastbrowse extension in
Chrome. Run uvx fastbrowse extension install once to register it:
export OPENROUTER_API_KEY=... # the LLM that drives the run, and Jev, which judges what code gates on
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.
OpenRouter decision model pins use the catalog's context, price and image support, including for aliases.
Jev routing covers the order and other hosts.
Set EXA_API_KEY to let a run with no start page begin with a 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 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. A run that ends short of complete keeps its trace (every model request
and reply, with the pages it read) in a file only you can read, names it as trace:, and removes it after 14 days;
FASTBROWSE_TRACE=0 in the environment keeps none (docs/cli.md).
The starting address stays with the task in subsequent model decisions and reads, so references such as "the whole site" retain their starting context after navigation. Tasks can still ask to visit other sites.
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 has every flag, your own signed-in Chrome and Bitwarden logins, driving open windows, model and provider settings, and every status with its exit code.
Run fastbrowse doctor to check the local setup. Set FASTBROWSE_STATS to a local log path
and use fastbrowse stats to summarise recorded runs.
Use your own Chrome
Run fastbrowse in the Chrome you already use, where you are already signed in. You need uv, Chrome and an OpenRouter API key. Model calls are billed by your provider; this mode needs no Browser Use Cloud key.
Install extension 0.1.2 or later for the full command set. Extension 0.1.1 can still run tasks. It releases request interception when the run closes. A run that finds an extension missing a required command stops before it spends anything and names the version to install. 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.
-
Install the CLI and register it with your browser:
uv tool install fastbrowse export OPENROUTER_API_KEY=... # replace with your key fastbrowse extension install -
Add fastbrowse to Chrome. Open it from Chrome's Extensions menu to see runs and their Stop buttons.
-
Start a task from your terminal:
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. From inside an agent's sandbox,
the run must be able to read the extension's host directory and connect to its sockets; when the sandbox refuses
them, the run ends unavailable with no browser's fastbrowse extension can be reached from this process and names
the refusal. Chrome shows a debugging bar while fastbrowse works.
The setup and usage guide covers signed-in tasks, browser selection,
permissions and stopping a run.
Related guides
- Run a browser agent in your own signed-in Chrome
Install the fastbrowse extension, check it is connected, run a read-only task with --extension, and stop it. What the run can reach and what Chrome shows.
hosted
Run fastbrowse over an API
The same agent behind an API. Keys, secrets, run history and spend limits live in the console. Free to start.