Skip to main content
This page is the install contract for AI agents: whatever reads it has the commands, the success criterion, and the first call. It is served as plain Markdown at webrayn.dev/install.md, and the site index for models is webrayn.dev/llms.txt.

What webrain is

One Rust binary that gives an AI agent a browser. It speaks MCP to any client, or runs the same 19-tool surface from a shell. It drives Chrome, Lightpanda and Obscura over CDP, or skips the browser entirely for static pages. No Node, Python or Docker in the path.

Install

macOS and Linux:
Windows PowerShell:
Homebrew and Scoop:

Verify

Exit 0 means healthy, 2 means broken, and the report covers engines, CDP ports, the MCP server and the vault. Run webrain install once if no engine is reported: that downloads Chrome for Testing into the engine cache.

Connect a client

stdio is the default and needs no port:
HTTP, for clients that want an endpoint:

First call, no client needed

tool takes the tool name plus the tool’s own JSON arguments, so it cannot drift from the MCP surface. --url navigates before the call when a tool needs a page.

What it can do

Capability follows the engine: Chrome handles rendering and interactive challenges, Obscura is the fast engine for pages that need neither, Lightpanda is the lightest path, and HTTP needs no browser at all. Whether a protected page opens depends on the site, the engine and the session, so treat it as a workflow, not a guarantee.