Give your agent a browser.
A browser agent that picks from the controls a page has, cites the page for every claim, and keeps credentials, irreversible actions and spending under the control of code.
- It acts on what the page has. Each page is indexed into the controls it has, and an LLM is shown them by number, with what its last actions did, and names the actions to take. It cannot click something that is not on the page, and there are no selectors to maintain. Jev, a choice model, answers the questions code gates on, such as whether a click is irreversible and whether the task asked for it.
- Answers you can check. Every claim in a complete answer cites a verbatim quote from the page, with a link that scrolls to it. Pass a schema and get validated data back. Tasks over a whole list can follow its next-page links, checking each page and preserving its citations; a total the list states answers a count from the page that states it.
- Code holds the keys. Submit, pay, delete and send stop until you allow them. A secret is typed only on the origin it was declared for, and models only see its name. Step, time and dollar limits are enforced in code.
- Your own Chrome. The CLI runs in the Chrome you are signed in to, through the
fastbrowse extension,
or in a Browser Use Cloud browser with
--cloud. The SDKs also drive local Chrome and any Chromium browser or Electron app that is already running. - One agent, every interface. A CLI, a Python library, Node and Go SDKs that need no Python, an MCP server, and a skill for coding agents.
Recorded on fastbrowse 0.10.0 and local Chrome against Sauce Demo, a public practice store: 16.4 seconds, 12 steps and $0.0149 in model calls. The full-resolution recording is docs/assets/demo.mp4.
On 53 live tasks run three times each, against three other agents under the same limits on Browser Use cloud
browsers, fastbrowse 0.10.0 passed 89.9% of its 159 attempts to the hosted Browser Use agent's 94.1%, Browser
Harness's 88.2% and Jev Ultrafast's 4.6%, and cost $0.0150 a run to the hosted agent's $0.5508, 36.6x less. It
was fastest on 35 of the 50 tasks two or more agents passed, against 11 for the hosted agent. That is the
published campaign, release-0.10.0: 53 tasks at three repeats, run 2026-11-09, fastbrowse-evals at commit
2e94d24, judged by anthropic/claude-opus-5.5 through OpenRouter. The hosted agent passed more attempts than
fastbrowse on this suite; cost and speed are the measures fastbrowse leads. See
How it compares and Benchmark results for the runs each arm's figure
excludes.
This page takes you from install to a first answer, then to a task that signs in. A run drives a real browser to finish a task you describe in a sentence, and returns a cited answer, a status and a cost.
fastbrowse is MIT-licensed open source software. Choose whether to run the agent yourself or call the managed API:
| Run it yourself (local / self-hosted) | fastbrowse Cloud (hosted API) | |
|---|---|---|
| Where it runs | Your machine via the CLI, MCP server or Python, JS or Go SDK | Managed, isolated Chrome per run behind api.fastbrowse.ai |
| Browser | Your signed-in Chrome (via extension), local Chrome or Browser Use Cloud (--cloud) |
Operated by Agent Labs; sealed sessions persist logins across runs |
| Keys and billing | Bring your own model key (OPENROUTER_API_KEY), or point both models at local endpoints with no API key |
One console account; pay per run (free tier includes $2.00/month in run credit) |
| Extra features | Direct access to desktop sessions, local files and custom SDK callbacks | Schedules, webhooks, stored vaults, multi-user isolation and run history |
| Best for | Local development, coding agents and tasks using your own signed-in Chrome | Production apps, parallel jobs and tasks that run while your laptop is closed |
To start on fastbrowse Cloud, create an account in the console, review fastbrowse Cloud, or browse the API reference.
To run it yourself, follow the quickstart below.
You need:
- uv, which fetches Python 3.13 or newer itself.
- An OpenRouter key, which pays for the LLM that drives the run and for Jev, the model that judges what code gates on.
- The fastbrowse extension
in Chrome. Register it once with
uvx fastbrowse extension install.
export OPENROUTER_API_KEY=...
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.
The starting address stays with the task in later model decisions and reads, so a phrase such as "the whole site" keeps its starting context after navigation. A task can still ask to visit other sites.
Other keys and what they do:
| Variable | What it does |
|---|---|
BROWSER_USE_API_KEY |
with --cloud, runs in a Browser Use Cloud browser, which passes bot checks and prints a URL to watch the run live |
AI_GATEWAY_API_KEY |
serves the LLM through Vercel AI Gateway when OPENROUTER_API_KEY is unset; with both set, the automatically selected OpenRouter LLM moves to the gateway for the rest of the run if OpenRouter refuses its key |
FASTBROWSE_DECISION_SOURCE |
picks another decision host for Jev; the gateway also serves Jev as a last resort |
EXA_API_KEY |
lets a run with no start page begin with a web search, without opening a browser |
Jev routing covers the order and other hosts. OpenRouter decision model pins use the catalog's context, price and image support, including for aliases.
With EXA_API_KEY, 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, and 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.
Ways to install the command:
uv tool install fastbrowsekeeps the command on your PATH.uv add fastbrowseadds it to a project.npm install fastbrowsegives Node.js the same agent with no Python.fastbrowse self-updatenames how a copy was installed and prints the command that upgrades it.
fastbrowse needs both an LLM driver (to pick actions and compose answers) and a decision model (Jev or another System One classifier for safety gates). Both can run locally or on your internal network so prompts and page data stay on your network:
# LLM driver (Ollama, LM Studio, vLLM or any OpenAI-compatible endpoint)
export FASTBROWSE_LLM_PROVIDER=ollama # or lmstudio, vllm, custom
export FASTBROWSE_LLM_MODEL=qwen3:32b # the model your server serves
# Decision model (self-hosted Jev or another System One host)
export FASTBROWSE_DECISION_SOURCE=custom # or ollama (defaults to http://localhost:11434)
export FASTBROWSE_DECISION_BASE_URL=http://localhost:8080
export FASTBROWSE_DECISION_MODEL=jev-1.14- No API keys required: Leave
FASTBROWSE_LLM_API_KEYandFASTBROWSE_DECISION_API_KEYunset if your servers take no bearer token. Cloud keys such asOPENROUTER_API_KEYare never sent to local or custom endpoints. - Keep browser traffic local: Pair local models with your own Chrome (
--extension, the CLI default) or SDKLocalChrome, and omit--cloudandEXA_API_KEY. - Use step or time limits instead of dollar caps: Local endpoints report tokens rather than dollars, so
--max-dollarsstops after the first unpriced call. Bound local runs with--max-stepsor--max-secondsinstead.
See Local and self-hosted models for endpoint overrides, strict JSON settings and provider details.
To work on fastbrowse itself:
git clone https://github.com/agent-labs-dev/fastbrowse.git && cd fastbrowse
uv sync --all-extras # builds the Rust core, so it needs cargo (rustup installs the pinned toolchain)
cp .env.example .env # then fill in the keys
uv run fastbrowse "What is the title of the top story right now?" --start https://news.ycombinator.com/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).
To sign in, give the run a secret by name. Models see the name only, and the value is typed on the page's origin:
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--authorize lets the run take irreversible actions, such as submitting, paying, deleting or sending; without it the
run stops at needs_confirmation before one.
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.
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.
Extension versions:
- 0.1.2 or later has the full command set.
- 0.1.1 can still run tasks, and 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.
| Browser Use agent (hosted) and BU Ultrafast | fastbrowse | |
|---|---|---|
| Choosing an action | hosted model and tools | an LLM picks from indexed controls, and Jev judges what code gates on |
| Returns | an answer | an answer with quotes, or why it stopped |
| Cited answers | not graded for citations here | answers backed by captured quotes |
| Signing in | yes | --secret or a Bitwarden vault item; models see names only |
| Irreversible actions | explicit task instructions in our fixture tests | classifier plus a code-enforced authorization gate |
| Browser | cloud | your own Chrome through the extension (CLI default) or cloud with --cloud; the SDKs add local Chrome |
BU Ultrafast (browser-use-ultrafast) is the same hosted agent on Browser Use Cloud API V4 with the bu-ultrafast
model; browser-use runs it on the API's default model.
Benchmarking makes three comparisons:
- C1, agent against agent: fastbrowse against the hosted Browser Use agent on its default model and on
bu-ultrafast, and Browser Harness, on the same tasks under identical limits with each agent at its own defaults. On the same 53-task catalog, fastbrowse alone passed 90.5% of its 159 attempts at $0.0149 a run. The published release-0.10.0 campaign also ran Jev Ultrafast, an open source agent the suite no longer measures: it passed 4.6% of 129 attempts at $0.0017 a run, since it returns no answer and cannot be given login credentials. - C2, browser against browser: the same fastbrowse build on its own browser pool and on a Browser Use Cloud browser. In an earlier record (release-0.5.25), not on the published page, the pool passed fewer tasks.
- C3, fastbrowse on its own browser pool against BU Ultrafast (
browser-use-ultrafast): not yet measured. It pairsfastbrowse-poolwith the hosted agent onbu-ultrafast, each product on its own backend, over the 52 tasks both run, three repeats each. Browser Use's vendor-reported 22 seconds and $0.0064 a task for Ultrafast cover the model and the search only, with the browser and proxy billed separately, so they are not comparable with our figures.
The benchmark page publishes campaign release-0.10.0 (fastbrowse-evals at
commit 2e94d24, run 2026-11-09, judged by anthropic/claude-opus-5.5 through OpenRouter). It measures 0.10.0,
whose agent had Jev pick each step; the LLM-driven agent in this release has not been through a published campaign,
so none of the figures above describe it.
Benchmark results gives the sources, cost basis, each arm's excluded runs and the
limitations, and eval results and workflow covers the diagnostic suites.
One LLM conversation drives every run: each turn it is told what its last actions did, shown the page, and names the actions to take. Its done quotes the page word for word. Jev judges what code gates on: whether an action is irreversible and which records a count, total or extreme takes in. The LLM also proposes the first address when none is given and writes an answer that has to be composed. Code owns the gates: irreversible actions stop without
--authorize, secrets reach models by name only, and supported cookie banners are refused through autoconsent.
More in How it works.
The core is Rust, in crates/, and every interface hands its work to it; the wheel carries it as
fastbrowse._native (ADR 0004). Against the Python core it replaced, it
reached the same result on all 36 fixture tasks with 18x less agent CPU, 54x faster startup and 5.4x less peak
memory (measurements).
run_task runs one browser task from Python and returns a RunResult: the status, the answer, the quotes behind it
and what it cost. uv add fastbrowse first, then:
import asyncio
from pydantic import BaseModel
from fastbrowse import run_task
from fastbrowse.models import Limits
class Release(BaseModel):
package: str
version: str
async def main() -> None:
result = await run_task(
"Find the httpx package and report its name and latest released version.",
start="https://pypi.org/",
output_schema=Release,
limits=Limits(max_dollars=0.10),
)
print(result.status, result.data, f"${result.cost.known_dollars:.4f}")
for evidence in result.evidence:
print(f' "{evidence.quote}" from {evidence.url}')
asyncio.run(main())With no browser argument, run_task starts a Browser Use Cloud browser with BROWSER_USE_API_KEY, or the key in
browser_api_key=. The CLI defaults to your own Chrome through the extension instead.
chrome=LocalChrome()runs local Chrome instead.cloud_extensions=[...]loads up to three of your account's Browser Use Cloud extensions into a cloud browser.cdp_url=orcdp_port=drives a browser already running: the run opens and closes its own tab and leaves the rest, though cookies the task sets can persist.attach=True,target_match=andforeground=Truework as the matching flags do.
Passing a cloud key and a CDP address together is an error.
save_recipe=Path("recipe.json")stores the actions of a completed run. A write failure is logged without changing the task status, so check the file before replay.recipe=Path("recipe.json")with the same task reuses its steps while each is certain: the same page and exactly one live control it names. A changed page or control hands the run to the agent from that step. Reading and completion are always checked live.- Naming the same file for both arguments saves the healed sequence after another completed run.
- Recipes can contain personal information from ordinary fields; stored secrets are kept only by name.
fastbrowse.recipes.validate_recipe()checks recipe JSON with the same Rust parser as the file loader, andrecipe_schema()exports its JSON Schema for client validation.record=Path("run.mp4")writes captioned and plain videos, and needs ffmpeg. Both show the agent's cursor, which the page draws.
open_cloud_browser(browser_api_key=...) starts a Browser Use Cloud
browser no run owns and returns a CloudBrowser with its id, cdp_url and live_url. It takes run_task's
cloud options without the cloud_ prefix (profile=, extensions=, timeout_minutes= and the rest). Runs given
its cdp_url with attach=True leave it running, and stop_cloud_browser(browser, browser_api_key=...) stops
it; until then it bills, up to its timeout. A start that fails or is cancelled stops the browser it created.
from fastbrowse import open_cloud_browser, run_task, stop_cloud_browser
async def main() -> None:
browser = await open_cloud_browser(browser_api_key=KEY, profile=PROFILE_ID, timeout_minutes=60)
print("watch at", browser.live_url)
try:
await run_task("Open my inbox.", cdp_url=browser.cdp_url, attach=True)
finally:
await stop_cloud_browser(browser, browser_api_key=KEY)connect_cdp() hands you the attached page without the agent:
from fastbrowse import connect_cdp
async def main() -> None:
async with connect_cdp(9222, target_match="my-project") as page:
print(await page.observe())allowed_origins=["https://app.example.com"]limits the documents a run may read and control to those exact origins. Navigations, redirects, frames and popups elsewhere are refused before they are sent, so a sign-in that redirects through another origin needs it listed too. It scopes documents, not the network, and a scoped run sends no live frames or screenshots and cannot record. The JavaScript, Go, Java and .NET clients take it asallowedOriginsorAllowedOrigins.check_access=, which only the Python API offers, is an async callback awaited before the browser starts and before every read, navigation and action. If it raises, the run ends with statuserror(connect_cdpraisesBrowserError), naming only the exception's type.
result.citations holds a Citation per numbered link in result.answer: id, text, url, quote and
deep_link.
- Each claim cites the notes it states. A count, total, cheapest or largest value is worked out in code from every note read and cites each record it rests on.
- The text a site shows in reply to a step the run sent, such as a save confirmation, is a note too, and a claim about it cites it.
- A
quoteis the page's text, a table row as its cells separated by spaces. - A
deep_linkis a text fragment URL that scrolls to the quote; it may not resolve on a page that changes or needs a session.
Each page a quote was read from is kept as a capture artifact in result.artifacts, holding the masked page text.
The quote's Evidence names it in capture_artifact, and start and end index into that text. Its links lists
each link inside the quote: the link's text, where that text sits as start and end, and the href it leads to.
Captures go where downloads go, so pass downloads or artifact_sink to keep them past the run. A page fetched over
HTTP keeps none.
Secret-safe screenshots used for image reads use the same storage as other browser artifacts: pass downloads or
artifact_sink to retain them beyond the run. The default scratch storage is removed on exit, and a sink failure or
deadline can leave an image unavailable; a result reference is not a durability guarantee. This applies to browser
pages with screenshot storage, not HTTP-only or other pages whose artifact sink does not support screenshots.
on_event=gets aBrowserEventwith a cloud browser's live-view URL, then aStepEventper step, carrying the facts that step added. It also receivesBrowserWarningEventobjects with closedoperationandfailurecodes, without page content or transport error text.Config(step_frames=True)adds a PNG of each step's page.- A task requesting a final screenshot receives a safe PNG in
result.final_framewithout enabling step frames. JSON clients receive ascreenshotartifact with a base64 data URI. A missing requested image leaves a completed taskunverified. Config(step_choices=True)addschoicesto each step the driver took: the controls it was shown, each with itsid,role, maskedlabelandcontext(the card or row that tells twins apart) andoperations, and the ones it acted on markedchosen(a drag marks its destination too). It shows whether the element a run should have used was there to pick. Off, a step has nochoiceskey.on_frame=gets JPEG frames of the active tab as they render. The handler runs on your event loop, so it must honour cancellation: one that swallowsCancelledErrorkeepsasyncio.runwaiting at shutdown.with traced() as events:collects the run's trace in-process, as--tracewrites it.
No frame or screenshot is sent while a resolved secret may show on the page.
A cancelled run_task raises fastbrowse.models.RunCancelled, an asyncio.CancelledError with a receipt of
reported steps, known cost lines and finished recordings once the browser closes. A cancellation before the core
starts may have no receipt. The receipt has no status or answer; unpriced charges stay unknown.
ConfigurationErrorandRecordingErroralso carry areceiptwhen they stop a run after work or charges have accrued; otherwise theirreceiptisNone.- JSON-RPC preserves this receipt in error data, or in the error result for recording failures.
- MCP keeps it in
_meta["fastbrowse.ai/receipt"]beside the tool error. - A callback failure raises the original exception with a
receiptattribute when the core retains one, including when the callback fails as the run completes.
run_task(jev=...) and run_task(llm=...) take your own decision model or LLM client; a jev client is asked at
Jev's limits and thresholds. See Jev routing and fastbrowse.llm.
run_task(http=...) sends the run's requests through your own httpx.AsyncClient.
- Runs on one client keep no more of them in flight than its
max_connections, on HTTP/2 as on HTTP/1.1. The rest wait in fastbrowse, each no longer than its timeout. A request dropped while it waits was never sent, so it costs nothing. - When a run stops waiting for a request the client already has, because it was cancelled or a batch beside it
failed, the request stops at the next chunk of its answer, which goes unread. Cancelling a request inside httpx's
pool can leave the connection stuck, until every later request on the client fails with
PoolTimeout. - fastbrowse counts its own requests and no others, so give the runs a client of their own: requests your code sends on it at the same time can still queue fastbrowse's inside httpx.
run_task(settings={...}) takes the same names as the environment variables (OPENROUTER_API_KEY,
AI_GATEWAY_API_KEY, TYPESAFE_API_KEY, FASTBROWSE_DECISION_SOURCE, FASTBROWSE_LLM_PROVIDER,
FASTBROWSE_LLM_MODEL and the rest) and reads them instead of the environment and .env, so a service that keeps
its credentials elsewhere hands the run exactly the keys it means to:
result = await run_task("Find the latest httpx release", settings={"OPENROUTER_API_KEY": my_key})fastbrowse.origins(origin_of,parse_origin) parsesallowed_originsas the run does.fastbrowse.safety(secret_allowed,origin_of,ScopedSecrets) answers where a secret may be typed,*.patterns included.fastbrowse.totp.one_time_code(key)makes the codes an authenticator key gives.
Each wraps the core's own rule, so the answer before a run is the one the run gives.
The Python modules that 0.9 removed with the Python core have these replacements:
| 0.8 import | Now |
|---|---|
fastbrowse.adapters.browser_use_cloud.BrowserUseCloudBrowser |
open_cloud_browser to start one and stop_cloud_browser to stop it, without the http= and allow_resizing= arguments |
fastbrowse.models.BrowserConnection |
fastbrowse.CloudBrowser, holding id, cdp_url and live_url |
fastbrowse.clients.environment.Settings |
run_task(settings={...}), keyed by the environment variable names |
fastbrowse.adapters.totp (TotpError, one_time_code) |
fastbrowse.totp |
npm install fastbrowse gives a Node.js 20+ program the same agent with no Python on the machine. The SDK has no
dependencies. npm also installs a native binary for your platform (@fastbrowse/darwin-arm64, darwin-x64,
linux-arm64, linux-x64 or win32-x64); no install script runs and nothing downloads on first use.
It reads the same keys from your environment, and finds local Chrome, starts a cloud browser or drives one already running, as the CLI does.
npm install fastbrowse zod
export OPENROUTER_API_KEY=...import { Fastbrowse } from 'fastbrowse';
import { z } from 'zod';
const Release = z.object({ package: z.string(), version: z.string() });
const fb = await Fastbrowse.start({ local: true });
try {
const result = await fb.run('Find the httpx package and report its name and latest released version.', {
start: 'https://pypi.org/',
output: Release,
limits: { maxDollars: 0.1 },
onEvent: event => {
if (event.type === 'step') console.error(event.step.operation, event.step.target);
},
signal: AbortSignal.timeout(120_000),
});
console.log(result.status, result.answer);
if (result.status === 'complete') console.log(result.output.package, result.output.version);
for (const evidence of result.evidence) console.log(` "${evidence.quote}" from ${evidence.url}`);
} finally {
await fb.close();
}- One instance runs one task at a time; start more instances to run side by side. The process exits with yours.
runresolves with the result whatever the status. It rejects when no run finished (RpcErrorfor a refused request,AbortErrorwhensignalstopped it,ProcessExitedErrorwhen the process is gone), and withOutputValidationErrorwhen the data fails your schema.- The result is Python's
RunResult, with Python field names. outputisdatavalidated by your Zod (4.2+), ArkType or Valibot schema, or a plain JSON Schema. The driver writes the data itself when it finishes, and data the schema refuses is sent back to it to rewrite; if it still fails,runrejects withOutputValidationError.
Secrets and the final check stay in your code:
await fb.run('Log in as standard_user with the saved password and add the backpack to the cart.', {
start: 'https://www.saucedemo.com/',
authorization: { irreversibleActions: true },
secrets: {
refs: [{ name: 'password', origins: ['https://www.saucedemo.com'] }],
resolve: name => vault.get(name),
},
until: url => url.endsWith('/cart.html'),
});resolve is called each time a value is typed, only on an origin its ref covers. until gets the final address,
and anything but true keeps the run from complete. The other options are run_task's in camelCase; the
SDK README lists them with the error model.
There is no binary for musl systems such as Alpine; point binaryPath or FASTBROWSE_BINARY at your own. The
macOS binaries are ad-hoc signed, not notarized, and the Windows binary is unsigned. Bun and Deno are untested.
The Go module starts the fastbrowse binary and runs tasks over the same protocol the JavaScript SDK uses:
go get github.com/agent-labs-dev/fastbrowse/goclient, err := fastbrowse.Start(ctx, fastbrowse.Options{})
if err != nil {
return err
}
defer client.Close(context.Background())
result, err := client.Run(ctx, "What is the top story's title?", fastbrowse.RunOptions{
Start: "https://news.ycombinator.com/",
})The first Start downloads the release's binary for the platform into the user cache directory, checked against
the SHA-256 the module pins; Options.BinaryPath or FASTBROWSE_BINARY names another. Cancelling ctx stops a run
once its browser has closed. RunOptions takes the same options as the SDK: OutputSchema, Secrets, Until,
OnEvent and OnFrame. One client runs one task at a time.
Clients for Rust (crates/fastbrowse), Java and Kotlin (java) and .NET
(dotnet) are in this repository and run tasks the way the JavaScript and Go SDKs do. None is on
crates.io, Maven Central or NuGet yet, so cargo add fastbrowse, the Maven coordinates and
dotnet add package Fastbrowse do not resolve today.
Install the fastbrowse skill to delegate website tasks from any agent that supports Agent Skills, such as Codex or Claude Code. It uses the MCP server when connected, or the CLI, and keeps the task's citations, status, authorization and budget. Nebula also runs fastbrowse in its agent harness, with Bitwarden or 1Password logins scoped to authorized websites.
fastbrowse-mcp serves one browse tool over MCP to Claude Code, Claude
Desktop, Cursor or any MCP client, so the model in that client can delegate a website task. It reports progress every
step and returns:
- the answer, with numbered citation links, and typed
fieldsif asked for; - the quotes behind the answer;
- the status and what to do next;
- its cost and the browser it ran in.
By default the server runs each call in a Browser Use Cloud browser, which needs BROWSER_USE_API_KEY; the flags
below choose your own Chrome instead.
claude mcp add fastbrowse -e OPENROUTER_API_KEY=... -e BROWSER_USE_API_KEY=... \
-- uvx --from fastbrowse fastbrowse-mcp --max-dollars 0.25For a client configured by JSON, such as Claude Desktop:
{
"mcpServers": {
"fastbrowse": {
"command": "uvx",
"args": ["--from", "fastbrowse", "fastbrowse-mcp"],
"env": { "OPENROUTER_API_KEY": "...", "BROWSER_USE_API_KEY": "..." }
}
}
}The server's flags set what a calling model may do; a call can ask for less, never more.
| Flag | Effect |
|---|---|
--launch, --headed, --profile DIR |
start separate Chrome; a headed window or kept profile implies launch |
--foreground, --downloads DIR, --cursor, --no-cursor |
fixed for every call |
--cloud-profile ID |
every call runs as that cloud profile |
--local, --extension, --extension-browser LABEL |
every call runs in your own Chrome through the fastbrowse extension; see Your own Chrome |
--allow-authorize |
let a call pass authorize; without it irreversible actions always stop at needs_confirmation |
--secret NAME=ENV_VAR@ORIGIN |
typed when a call's start page is on ORIGIN; the model sees NAME only |
--bitwarden ITEM |
a vault login a call may name in bitwarden |
--max-steps N, --max-dollars N, --max-seconds N |
ceilings per call; unlimited by default |
--max-concurrent N |
runs at once, default 1; more calls wait |
--transport http, --host, --port |
streamable HTTP at /mcp instead of stdio |
Over HTTP, set FASTBROWSE_MCP_TOKEN and every request but /healthz needs Authorization: Bearer <token>; the
server refuses to bind beyond loopback without one.
A run takes seconds to minutes, so raise the client's tool timeout if it has one (MCP_TOOL_TIMEOUT in Claude
Code).
Three rules keep a run from doing harm or leaking a credential.
- Irreversible actions. Jev judges each click, key chord, file attached to an input and dialog acceptance,
including Enter presses.
- Without authorization, an irreversible action stops at
needs_confirmation. - An action the task says not to take ("do not click Upload") is refused, authorized or not.
- This is a classifier, not a guarantee: a page can word a harmful control to look harmless.
- Each question about a save names the fields the run replaced, with their values before and after, so an edit of an item the task never named is judged as it is.
- Without authorization, an irreversible action stops at
- Secrets. Models see names only. A value is resolved at the moment it is typed, only on its declared origin, and
redacted from everything the run returns. A password field is typed only from a stored secret.
- The user name and password of every address (
https://user:pass@host/), in the start, the task, the context, the inputs or a page the run reaches, are blanked from everything models are shown and everything the run writes out, however the address is encoded, while the browser opens the address as written. - Elsewhere in text only the credential is blanked: the password, or the user name when there is no password, wherever its letters appear, so a short one also blanks them inside other words.
- Live frames and recordings are held for the rest of the run once an address with credentials is seen.
- A token in an address's path or query is shown as written.
- The user name and password of every address (
- Page content is data. Every prompt says so, and what a run reports is copied from quotes on the page.
Eval commands cover running suites, publishing results and regenerating evidence; the compact results feed is generated from published rows. See CONTRIBUTING.md for setup and checks, docs/design.md for the browser layer, and docs/jev.md for the Jev assumptions checked against Typesafe's documentation.
CHANGELOG.md records each release, and every GitHub release publishes its entry.
Thanks to Dhaiwat10, jmclark-lab and imranye for code, to Adam13y for the known-answer safety scenarios, and to everyone who reported a bug or asked for a feature, here or on Product Hunt. CREDITS.md has the full list.
MIT, copyright Agent Labs. Adapted third-party code is credited in NOTICE.
