Live: https://playground.actcore.dev
A browser-native AI agent stack. Paste a wasm component URL, the tool loads and runs in your tab. No server, no Node, no install.
A demonstration of @actcore/host — a browser host for ACT components. Each tool is a wasm component packed with act-build, distributed via an OCI registry, and signed by its author. The playground:
- Resolves a URL (
oci://,https://, or a dropped.wasmfile). - Pulls the bytes (OCI fetches go through
oci-cors-proxyso the browser sees permissive CORS). - Verifies the SHA-256 of the bytes against the OCI manifest digest.
- Transpiles the component in-page via
@bytecodealliance/jco. - Instantiates it (WebAssembly Component Model, wasip3-async, JSPI).
- Exposes its
act:tools/tool-providerso you can click "Run" and see the output.
In a follow-up iteration, a local WebLLM Llama-3.2 will call these tools via function-calling — the full agent loop, in your tab, with no remote API key.
This repo expects actcore/host-browser checked out as a sibling directory (the
@actcore/host dependency is referenced via file:../host-browser).
git clone https://github.com/actcore/host-browser ../host-browser
cd ../host-browser && npm install && npm run build
cd - # back to playground
npm install
npm run dev # http://localhost:5173Pushed to main triggers .github/workflows/pages.yml, which:
- Builds
@actcore/hostfrom the sibling repo (PAT required, see workflow). - Builds the playground with Vite.
- Publishes to GitHub Pages.
Custom domain playground.actcore.dev set via public/CNAME.
Requires JSPI. Chrome 137+ today; Firefox Nightly 152+ and Safari Tech Preview 243+ today. Stable Firefox/Safari shipping JSPI per Interop 2026.
MIT OR Apache-2.0