Skip to main content
The RunAnywhere Web SDK runs language, speech, and vision models inside the browser tab. Models download to the user’s own disk and execute through WebAssembly, with a WebGPU path where the browser and the model support it. Nothing typed, spoken, or uploaded leaves the page.

Requirements

The page must be cross-origin isolated or nothing loads. Serve COOP same-origin and COEP require-corp. See Installation.

The namespaces

Streaming is AsyncIterable throughout. Breaking out of the loop cancels the request.
A namespace existing does not mean a browser engine backs it. images and segmentation have no registered browser engine today, so their catalogs are empty. Call RunAnywhere.capabilities() and read unavailable rather than assuming.

Packages

Entry points

@runanywhere/web publishes four subpaths. Two are for your code:

Where to go next

Installation

Packages and the isolation headers

Quick Start

A working chat

Text generation

Prompts and options

Voice agent

Speech in, speech out