Resumable. Grounded. BYOK. In browser

The in-browser AI stack

A collection of libraries that simplifies running AI inference in the browser. Great for rapid prototyping and just having a good time.

Enter to send · Shift+Enter for a new line
browser-direct · your key

Browse the packages

@inbrowser/agent

An agent runtime you own: sessions, tools, and an MCP server, in your code or an external host.

Start here
@inbrowser/relay

Resumable LLM inference. A backgrounded tab, a dropped network, or a reload never loses the stream.

Start here
@inbrowser/resumable

The durable job engine underneath it all: an append-only log you can replay from any offset.

Start here
@inbrowser/model

Open models, on-device. Inference in the browser with no API key and nothing leaving the page.

Start here