@mlola/browser-runtime
v0.2.10
Published
Public SDK: BrowserAgent over the core runtime with the default Jev + Playwright stack.
Maintainers
Readme
@mlola/browser-runtime
Reliable browser use with a fast path: a local-first browser runtime where browser mechanics, safety, verification and recovery are deterministic, the fast decision path (TypeSafe Jev) handles routine steps, stronger models handle planning and recovery, and a person can take over whenever needed.
npm install @mlola/browser-runtimeimport { BrowserAgent } from "@mlola/browser-runtime";
const agent = new BrowserAgent({ decision: { provider: "typesafe" } });
const run = await agent.run({
goal: "Download my latest invoice, attach it to a new claim, then stop before submitting",
startUrl: "https://billing.example.com/invoices",
stopBefore: ["submit claim"],
});
console.log(run.status, run.verification?.status, run.artifacts);- Models never produce selectors, coordinates or code — only choices from the runtime's own action space.
DONEis a claim; completion is verified by independent evidence (artifacts, URL/state, DOM, runtime events) or a person.- Secrets (passwords, OTP, cards) are a takeover floor and never enter model state or traces.
Full documentation: https://mlola.com/browser-runtime
