Unbrowse README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Unbrowse listing page.

Unbrowse

Browse once. Call directly forever. Earn when you share.

Unbrowse turns websites into fast, direct API calls for your AI agents. The local node on your machine watches a page once in its browser, learns the website's own internal API call as a reusable route, and replays it over plain HTTP after that — no browser, milliseconds instead of seconds, and a fraction of the token cost.

Download · Docs · Architecture · Economy & Staking · Releases · Contributing · Security


Why Unbrowse

Every website your browser opens already has an internal API that returns structured JSON. Browser agents waste seconds and burn context windows rendering HTML, ads, and popups on every single run.

Unbrowse learns the direct call once and reuses it:

Code
agent ── HTTP / MCP ──▶ unbrowse-node ──▶ website's own API     (plain HTTP, no browser)
                            │
                            ├── links browser engine ──▶ Chrome  (once, to learn the route)
                            └── peer index ◀──▶ other nodes      (share & discover routes)
  • Fast & cheap: A learned route is a single direct HTTP request — tens to hundreds of milliseconds instead of seconds of browser automation, with clean JSON instead of full-page HTML.
  • Local & private: Your logins, cookies, passkeys, and wallet keys stay on your machine (in your OS keychain and local per-site cookie jars). Requests go directly from your machine to the site under your own session.
  • Earn while you browse and share to the index: As you and your agents browse, your node automatically learns routes that work. Listing proven routes to the open peer-to-peer index is free — credentials and personal data are stripped before anything is shared. When other agents use a route you mapped, you earn in dollars (USDC).

How the economy works (short version): Search is free, and running your own or cached routes is free. When another agent fetches a route from the index for the first time, it pays the route's fee once in dollars (USDC). Each passed fee splits 65% to the route (its stakeholders, or the contributor directly before route staking opens), 30% to the website's domain escrow, and 5% to buy and burn UNB. Failed calls always cost $0.

For the full breakdown of staking your routes, verification checks, ranking, and bounties, see Payments, Staking & UNB and Money. (Note: local learning and calling are live today; paid settlement on Arc mainnet opens after audit, legal review, and the closed pilot.)


Install

Download the desktop app for your computer (always points to the latest release):

PlatformDownload
macOS (Apple silicon)Unbrowse-macos-arm64.dmg
Windows (x64)Unbrowse-windows-x64-setup.exe
Linux, Debian / Ubuntu (x64)unbrowse_amd64.deb
Linux, Debian / Ubuntu (ARM)unbrowse_arm64.deb

Checksums (SHA256SUMS) and standalone archives are on the latest release.

Open the app to start the local node (http://127.0.0.1:7788/mcp). Its Agents screen automatically connects installed clients (Claude Code, Claude Desktop, Cursor, Codex, VS Code, Gemini CLI, OpenCode, Hermes, OpenClaw, and more — full list) and gives ChatGPT and Claude on the web a remote address for your node.

  • macOS: Open the .dmg, drag Unbrowse to Applications, and open it (signed and notarized).
  • Windows: Run the installer (installs per-user with no admin prompt; if SmartScreen prompts, choose More info → Run anyway).
  • Linux: sudo apt install ./unbrowse_amd64.deb, then launch Unbrowse (requires GTK 4).

Or install via CLI (npm / Python)

Requires Node 20.3+:

Terminal
npm install -g unbrowse
unbrowse app          # start the desktop app and local node
unbrowse start        # or run the node headless
unbrowse connect      # register the local MCP server with Claude Code (--client all for Cursor, Codex, Claude Desktop)

The install brings the node, desktop app, unb CLI, SDK, and agent skill — with no bundled browser. The node fetches its browser add-on automatically the first time a task needs one (or run unbrowse browser install; see The browser add-on). Python wheels are attached to each release.

Your first call

bash
unbrowse do "search Rust crates" --url "https://crates.io/search?q=tokio"

The first call walks the page, learns the underlying API route, and returns JSON. Every call after that — including with new inputs (?q=serde) — runs as plain HTTP with no browser.


Connect an agent

The app's Agents screen or unbrowse connect handles setup automatically. To connect manually or create a dedicated key for another agent:

server.ts
unbrowse agent new my-agent        # creates a capped agent key and prints its setup once

# Claude Code (MCP over stdio; signs each request locally so the token never crosses the wire)
claude mcp add --scope user unbrowse --env UNBROWSE_NODE=http://127.0.0.1:7788 -- unb mcp --agent first

# CLI or SDK
export UNBROWSE_NODE=http://127.0.0.1:7788
export UNBROWSE_AGENT_TOKEN="$(unbrowse agent token)"

Native plugins with built-in agent skills are also available for Claude Code, Codex, OpenClaw, Hermes Agent, and ElizaOS — see integrations/.

Useful local commands

server.ts
unbrowse vault import export.csv     # import logins from a browser or password manager CSV/JSON
unbrowse session import github.com   # import your browser's cookies for one site
unbrowse passkey import keys.json    # import exportable passkeys (Bitwarden, CXF, KeePassXC)
unbrowse money                       # check balance, agent daily limits, and earnings
unbrowse share                       # view or change automatic sharing to the index

Where to read next

GoalStart here
Understand the conceptWhy Unbrowse → How it works
Earn while browsing & sharingFrom install to first earnings · Sharing routes
Stake your routes & economy detailsPayments, Staking & UNB · Search & Ranking · Money
Deep architecture & peer networkArchitecture · The peer network
Connect an agent or SDKConnect your agent · CLI & API reference · SDKs
Research papers & protocol specpapers/
Something brokeTroubleshooting
Contribute to the codebaseContributing · AGENTS.md

All documentation in reading order is indexed in docs/README.md.


Repository map

Unbrowse is a polyglot repository where each top-level directory has its own build, tests, and README.md:

DirectoryWhat it isLanguageGuide
unbrowse-node/The local node: HTTP & MCP API (127.0.0.1:7788), route learner, vault, peer network, wallet, and native desktop windowRust, ZigREADME
unbrowse-browser/Browser automation engine (agent-browser-core) linked directly into the node to record walksRustREADME · FORK
unbrowse-sdk/TypeScript (unbrowse) and Python SDKs, CLI wrapper, and agent framework adaptersTypeScript, PythonREADME
integrations/Native plugins for Claude Code, Codex, OpenClaw, Hermes Agent, and ElizaOSTypeScript, PythonREADME
skills/Agent skills teaching models how to use Unbrowse effectivelyMarkdownREADME
unbrowse-telemetry/Privacy-preserving telemetry worker and scrubbed bug-report relayJavaScriptREADME
unbrowse-rpc/Chain RPC and solver relay for signed-in nodesJavaScriptREADME
papers/Whitepaper, economy paper, selection paper, protocol specification, and benchmark paperMarkdown, PDFREADME
docs/Concepts, guides, reference, and system documentationMarkdownREADME

Build from source

Requires Rust (stable), Foundry (anvil, for local test mode), Zig 0.17.0 (for the desktop window), Node 22 (for the TypeScript SDK), CMake (and NASM on Windows, for BoringSSL), and Python 3.8+.

bash
# 1. Build the browser CLI
cargo build --release --manifest-path unbrowse-browser/cli/Cargo.toml

# 2. Vendor Chrome-shaped BoringSSL TLS patches once, then run the node
cd unbrowse-node
sh scripts/apply-tls-patch.sh
cargo run --bin unbrowse-node

# 3. Optional: launch the native desktop window in another terminal
cd unbrowse-node/window && zig build run

Source builds run in test mode on a local Anvil devnet by default and store state under ~/.unbrowse (override with UNBROWSE_HOME). On headless Linux or Windows servers without a desktop keystore, set UNBROWSE_ROOT_KEY_FILE=1 (keep the folder readable by your user only). See unbrowse-node/README.md for full build details.


Security, privacy & human handoff

  • Human-in-the-loop when needed: The node handles bot checks and challenges openly when it can (unbrowse_challenge). When a page truly requires a human (a new login, 2FA code, or checkout), an agent calls unbrowse_browse ["ask_owner", "..."] and the page appears live in the app's Browser screen. Agents never see what you type; the resulting session stays locally in the site's profile. A wall that cannot be cleared is reported honestly as blocked, never faked.
  • Website passkeys (on by default): When you sign in to a site by hand and the site offers to register a passkey, the node seals it in your local vault so agents aren't blocked by passkey prompts later. Agent-filled logins never arm passkey enrollment. Because a stored passkey lets any agent with a key on your node sign in to that site without a second factor, run the node only on a machine you control and opt out where needed: unbrowse-node passkey off, UNBROWSE_PASSKEYS=0, or unbrowse-node passkey never google.com. Full risk disclosure and management commands: unbrowse-node/README.md.
  • Vulnerability disclosure: Never report security vulnerabilities in a public issue — follow SECURITY.md.

Usage telemetry

Release builds on the network send anonymous usage counts so we can measure adoption and fix what breaks (a node kept off the network sends nothing; source builds send nothing unless UNBROWSE_TELEMETRY=1). Turn it off anytime:

bash
unbrowse-node telemetry off      # saved in ~/.unbrowse/telemetry.json (`unbrowse-node telemetry` shows status)
UNBROWSE_TELEMETRY=0             # environment override: off regardless of the file

What is sent, in batches to telemetry.unbrowse.ai (unbrowse-telemetry/), and nothing else:

FieldWhat it is
eventnode_start (the node started), tool_call (an agent called a tool), route_failed (a route the node keeps ran and failed), or fetch_failed (a paid fetch of another node's route failed)
version, osthe node's version, and macos, linux, or windows
install_ida random id drawn once per install. By itself it names no person, account, or machine; if you link a wallet, the node's signed events to the site carry it too.
toolwhich agent tool or API route: unbrowse_do, unbrowse_call, /v1/routes/{id}/call, … (never which route)
outcome, error_classok, failed, or error, and a coarse failure class from a fixed list (http, door, shape_mismatch, no_body, …)
duration_mshow long the call took
fromon node_start only: the source tag the node was first started with (unbrowse start --from <tag> or UNBROWSE_FROM), kept once in ~/.unbrowse/from.json

Never sent: URLs, sites or host names, page content, requests or answers, route ids, goals or inputs, cookies, passwords, passkeys, vault entries, keys, wallet addresses, user or machine names, or your IP address.

Your linked wallet: If you link an optional wallet, the node sends unbrowse.ai three signed events while telemetry is on: node_started, owner_linked, and owner_unlinked. Each carries the node's address, your wallet, install_id, and — for unbrowse.ai sign-ins — your browser's visitor id (ub_vid, kept in ~/.unbrowse/owner.json). ub_vid requires consent in the EU, EEA, UK, and Switzerland, has one-click opt-out elsewhere, and skips Global Privacy Control browsers. Turning telemetry off stops these events, and opting out at unbrowse.ai/privacy deletes joined data.

Source tag: Starting with unbrowse start --from <tag> or UNBROWSE_FROM=<tag> sends from on node_start while telemetry is on. Valid tags are 1 to 40 lowercase letters, digits and dashes starting with a letter or digit; invalid tags are ignored with a warning. The first tag is saved in ~/.unbrowse/from.json and never replaced. Full details: PRIVACY.md and unbrowse-telemetry/README.md.

Bug reports

Agents can report broken or wrong responses with unbrowse_report (MCP), POST /v1/report, unb report, or report() in the SDKs. Reports are scrubbed locally (stripping inputs, cookies, headers, bodies, and internal hosts), wait for your approval in the app, and open public issues on unbrowse-ai/unbrowse. Disable anytime with unbrowse-node reports off or UNBROWSE_REPORTS=0.


Licence

Apache-2.0. Copies and forks keep the NOTICE file. The licence covers the code, not the name: a fork ships under its own name (TRADEMARKS.md). Third-party code keeps its own licence (agent-browser, Apache-2.0, in unbrowse-browser/).