Compile the native stack for the web
The container2wasm-based build carries the PasClaw runtime into a browser-compatible environment instead of rewriting the agent in JavaScript.
// Browser build
The browser build packages PasClaw for WebAssembly so users can run the agent loop, tool calls, and memory from a static web deployment.
The container2wasm-based build carries the PasClaw runtime into a browser-compatible environment instead of rewriting the agent in JavaScript.
Host the browser build from a static site without maintaining a dedicated PasClaw application server for every user session.
Agent orchestration and local state stay in the browser environment; model requests only go to the providers the user configures.
A browser tab gives developers and users a low-friction way to try PasClaw before installing or integrating the native executable.
From the documentation
Implementation notes drawn from the PasClaw repository documentation.
Rather than porting PasClaw directly to wasm32, container2wasm runs the unmodified Linux binary in a WebAssembly-hosted Linux environment.
The browser artifact is built as a dedicated target and must be launched with browser networking enabled.
make C2W=1 browser
# launch the generated app with:
?net=browserThe browser image onboards and starts the agent in the tab; static assets can be hosted without a PasClaw application server.
Common questions
Keep exploring
See how the rest of PasClaw fits together.