Skip to main content

Overview

Rusty Browser is fully open source. You can run the entire stack on your own servers and keep control of the deployment. You are responsible for your own infrastructure costs and any third-party providers you configure, such as AI models, proxies, or remote compute. The codebase ships as pre-built binaries. You do not need a Rust toolchain to run it.

What’s in the Repo

The repository is a Cargo workspace with five crates:
  • rusty-server: the HTTP API your clients talk to. Manages the browser registry in Redis, spawns agents via Flux, and runs the AI instruct engine.
  • rusty-agent: a single-browser gRPC node. One agent runs per browser. It launches Chromium directly via the WebDriver BiDi / CDP protocol through rustenium, applies fingerprint and identity layering via rustenium-identity, and accepts commands from the server over TLS gRPC.
  • rusty-cli: a terminal client for the HTTP API. See CLI docs.
  • rusty-common: shared types, Redis store, config, AI providers, and the Flux client.
  • rusty-proto: shared gRPC proto definitions.
There is also rusty-frontend, a Next.js dashboard for managing sessions visually. See Frontend docs.

Repositories

rusty-browser

Server, agent, CLI, and common libraries

rustenium

Browser engine (Chromium driver)

rustenium-identity

Fingerprint and identity layer

serverless-flux

Scaling infrastructure

Easy Setup (Windows)

The interactive PowerShell setup script handles downloading binaries, walking through configuration, and generating ready-to-use launch scripts. It is best for local setups or anyone who wants to get running quickly. Prerequisites: Node.js v18+ for the frontend, plus Redis running locally or available over the network.

Run the setup script

The script will:
  • Download rusty.exe, rusty-cli.exe, flux.exe, and flux-agent.exe into %LOCALAPPDATA%\RustyBrowser
  • Ask for your Redis URL, AI provider key and model, and optionally AWS/GCP credentials for remote agent scaling
  • Generate rusty.yaml, flux.yaml, and launch scripts
  • Optionally add everything to your PATH
If your machine is not publicly reachable from the internet, such as when it is behind NAT, the script can help you configure a tunnel for the gRPC port.

Start the stack

Once setup completes:
If Windows Terminal is installed, each component opens in its own tab. Otherwise they open in separate windows.

Initialize

Run this once before spawning any browsers. It generates TLS certs, registers the agent function with Flux, and deploys the agent binary:

Manual Setup

For users who want full control over configuration. Works on Windows, Linux, and macOS.

Step 1: Download the binaries

Download the latest release for your platform from the GitHub releases page. You’ll need:
  • rusty / rusty.exe: the server
  • rusty-agent / rusty-agent.exe: the browser agent, spawned automatically per browser
  • rusty-cli / rusty-cli.exe: the CLI, recommended for setup and testing

Step 2: Start Redis

Step 3: Configure the server

Copy the example config and open it in an editor:
For local mode without a separate Flux server, set flux.local_binary to point at the agent binary:
For production with Flux running separately, point to it instead:

Step 4: Start the server

Step 5: Initialize

Step 6: Configure the CLI

If your server config enables X-API-Key, also set the CLI key:

Step 7: Verify


Setting Up Flux (Production Scaling)

Flux is the control plane that rusty-server uses to spawn browser agents. In local mode it runs agents as subprocesses on the same machine. In production mode it provisions and autoscales agent nodes across AWS EC2 or GCP Compute Engine when those providers are configured. The easy setup script configures Flux automatically. If you’re doing a manual setup or want to run Flux separately, here’s how.

Docker (GHCR)

Windows binary

Download flux.exe from the serverless-flux releases page, create a flux.yaml from the example config, and run it:
At minimum your flux.yaml needs:
Add an aws or gcp provider block to enable remote node provisioning and autoscaling. Flux handles SSH bootstrapping of agents, TLS cert generation, and scale-up/scale-down automatically. For full configuration options and the serverless agent worker setup, see the serverless-flux GitHub page.