Repository navigation
Show and tell: driving ego-browser with Jev (TypeSafe System One) - plus 4 runtime facts we had to measure #410
Replies: 4 comments 1 reply
|
Small follow-up: the docs patch for the four runtime facts above is ready on a branch — I could not open the pull request myself. If it is useful, anyone with write access can open it from here: Happy to reword it, split it, or drop it if you would rather document these somewhere else. |
|
可以,可以看看我的项目
Mahade Walid ***@***.***> 于2026年9月20日周日 23:10写道:
… hello hello, i was looking for this. Can i start using it locally now?
—
Reply to this email directly, view it on GitHub
<#410?email_source=notifications&email_token=BEIQMHJBZRPKECG3OYAGZXL5P7XPXA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOBVGI4DOMJZUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-18528719>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BEIQMHJ6DXTFNVQVT4F2TRT5P7XPXAVCNFSNUABJKJSXA33TNF2G64TZHMYTEMJSGUYDGMRVGA5UI2LTMN2XG43JN5XDWMJQHA2DMMJRGGQXMAQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
Follow-up after a week of measurement — starting with a correction to my own numbers. Correction. The "Jev ~1.0–1.5s" in my first post was the whole step (observe + decide + execute + verify), not the decision request. With per-phase instrumentation, and reading the served model from the response body, the decision request is 352–524 ms (median 434 ms, 10 samples, served Two measurements that may matter to ego lite regardless of my add-on:
Still open from my previous comment: the four embedded-runtime facts are still not in On adoption — the unrealistic ask first: I don't expect you to take my repo, and the name is already used by more than one project. What seems worth your time is the lever, not the code: replacing the per-step decision with a System One call is orthogonal to "faster the more you use it" — that one learns reusable tools, this one removes the round trip, so they compose. If you want it upstream as an opt-in layer behind a flag, I'll hand the engine over under MIT; it needs a user-supplied Jev key, so it should never become a default path. If you'd rather just list community accelerators somewhere, that's fine too — I'll keep maintaining it out-of-bundle, and I do not touch the signed app bundle. |
|
Small update on the naming: the project moved to https://github.com/jiangkoumo/ego-decision-layer (the old URLs redirect, and The rename follows the direction in my comment above. The decision backend is now pluggable — System One stays the default, and an OpenAI-compatible endpoint (ollama / llama.cpp / LM Studio / vLLM shape) can be swapped in for local or self-hosted inference, so the layer is no longer tied to one model vendor. A backend that has no calibrated probabilities declares that, and the engine then skips the confidence-threshold escalations while keeping every execution-layer guard (stale refs, occlusion, the fail-closed cross-frame hit test, the dangerous-action gate) — no invented confidence numbers. Nothing else changed: the four embedded-runtime facts above still stand, and the docs branch is untouched. |
Uh oh!
There was an error while loading. Please reload this page.
I built an add-on that replaces the per-step LLM round trip in browser automation with TypeSafe's System One model Jev: the driver sends one indexed element table and gets back an operation + target element in a single request, so a multi-step task runs inside one
ego-browser nodejsprocess instead of returning to a large model at every step. Code keeps observation, execution, verification and exit conditions.npx skills add jiangkoumo/ego-jevIt is unofficial and unaffiliated. It drives
ego-browserthrough the documented API only, and it deliberately does not touch the app bundle (an earlier version patchedSKILL.mdinside the signed bundle — that was a mistake, ego lite upgrades replace that directory).Measured on macOS, ego lite 0.5.0.32,
jev-1.13— same task, same element table, same verifier, 3 alternating pairs, median:The saving is the decision round trip (Jev ~1.0–1.5s vs the large models available to me at 1.6–4.5s) plus not leaving the browser context each step; the browser calls themselves are the same on both sides. Sample size is 3 pairs per task with high variance, so treat this as an order-of-magnitude observation, not a benchmark — the harness is in the repo if anyone wants to re-run it.
Four runtime facts that cost me the most debugging time (all reproduced with
ego-browser nodejs; I opened a docs PR for these):import { createServer } from "node:http"— produces no output and exits 0, so the whole script looks like a no-op;await import("node:...")works;process.cwd()is/, so relative paths do not resolve the way they do in a shell script;server.listen()never fires its callback, andfetch("http://127.0.0.1:…")hangs until the process exits. External HTTPSfetch()is fine — local servers have to run outside the runtime.Two smaller ones, in case they help someone else: element
locvalues can contain](so attribute parsing has to run from the first[to the last], orinput[name="a"]gets truncated), and checkbox/radio state is not in the snapshot (one batchedpage.evaluate()can read it, but if the DOM and snapshot counts disagree it is better to report "unknown" than to guess).Happy to upstream any of this if it is useful — the docs PR is open against
2.0.0-beta-dev.All reactions