Download static/index.html from Evidra/web-agent: direct link, hf CLI and curl.
- Browser
- Download file 11.8 kB
-
https://huggingface.co/spaces/Evidra/web-agent/resolve/main/static/index.html
- Command line
-
hf download hf://spaces/Evidra/web-agent/static/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Evidra/web-agent/resolve/main/static/index.html
11.8 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <meta name="color-scheme" content="light"> | |
| <title>web-agent β an autonomous agent that operates web interfaces</title> | |
| <link rel="icon" type="image/png" sizes="48x48" href="/static/favicon-48.png"> | |
| <link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32.png"> | |
| <link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16.png"> | |
| <link rel="apple-touch-icon" sizes="180x180" href="/static/favicon-180.png"> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&display=swap" rel="stylesheet"> | |
| <link rel="stylesheet" href="/static/style.css"> | |
| </head> | |
| <body> | |
| <header class="topbar"> | |
| <div class="bar-in"> | |
| <div class="brand"> | |
| <img class="brand-logo" src="/static/omevra-logo-3d.webp" alt="Omevra logo" width="34" height="34"> | |
| <span class="wordmark">Omevra</span> | |
| <span class="brand-div" aria-hidden="true"></span> | |
| <span class="brand-prod">web-agent</span> | |
| </div> | |
| <nav class="views" aria-label="Views"> | |
| <button id="nav-run" class="view-btn active" type="button">Live run</button> | |
| <button id="nav-eval" class="view-btn" type="button">Evaluation</button> | |
| </nav> | |
| </div> | |
| </header> | |
| <!-- ============ HERO ============ --> | |
| <section class="hero"> | |
| <div class="wrap hero-in"> | |
| <div class="hero-panel"> | |
| <p class="eyebrow">Omevra <span class="prod-no">Β· web-agent</span></p> | |
| <h1>web-<span class="grad">agent</span></h1> | |
| <p class="subtitle">An autonomous agent that operates web interfaces end to end β observe, act, verify, recover.</p> | |
| <p class="hero-platform">Part of the <a href="https://umeshlinga.github.io/evidra/">Omevra platform</a> β measured AI systems for genomics and the web.</p> | |
| <p class="hero-sub">Pick a task and watch the agent run it, live, in a real browser. Every observation, action, failure, recovery and screenshot is a real event from a real execution β streamed as it happens.</p> | |
| <div class="cta-row"> | |
| <a id="cta-run" class="btn btn-light" href="#view-run">Run the agent live</a> | |
| <button id="cta-eval" class="btn btn-ghost-light" type="button">See the evaluation</button> | |
| </div> | |
| </div> | |
| <div class="stats" aria-label="Evaluation numbers"> | |
| <div class="stat glass"><b id="hs-on">36/36</b><span>Full suite β recovery on</span></div> | |
| <div class="stat glass"><b id="hs-off">27/36</b><span>Full suite β recovery off</span></div> | |
| <div class="stat glass"><b id="hs-adv">9/9 vs 0/9</b><span>Adversarial tasks β on vs off</span></div> | |
| <div class="stat glass"><b id="hs-ctl">27/27</b><span id="hs-ctl-lab">Control tasks β on vs off</span></div> | |
| </div> | |
| <p class="hero-note">The full task suite, run with recovery on and with recovery off β read live from the systemβs own recorded run files.</p> | |
| </div> | |
| </section> | |
| <main class="wrap"> | |
| <!-- ============ LIVE RUN VIEW ============ --> | |
| <section id="view-run" class="view-section"> | |
| <p class="sec-eyebrow">Live run</p> | |
| <h2 class="sec-title">Run the agent</h2> | |
| <p class="sec-sub">Choose a task, choose whether recovery is on or off, and run the agent against it β live, in a real browser.</p> | |
| <p class="run-bound">Public runs are bounded so everyone gets a turn β at most 2 runs at once, and public-page runs are limited to 2 steps on the entered domain.</p> | |
| <div class="panel run-panel"> | |
| <div class="run-layout"> | |
| <aside class="picker"> | |
| <div class="mode-row"> | |
| <span class="mode-label">Recovery</span> | |
| <div class="segmented" role="group" aria-label="Recovery mode"> | |
| <button id="mode-on" class="seg active" type="button">On</button> | |
| <button id="mode-off" class="seg" type="button">Off</button> | |
| </div> | |
| </div> | |
| <p class="mode-note" id="mode-note">Recovery on: when a step fails, the agent re-grounds its target, dismisses blocking overlays and retries within a budget.</p> | |
| <div class="pub-box"> | |
| <div class="group-title">Public page</div> | |
| <label class="pub-lab" for="pub-url">Page URL</label> | |
| <input id="pub-url" class="pub-in" type="url" placeholder="https://example.org/page" autocomplete="off"> | |
| <label class="pub-lab" for="pub-intent">Intent</label> | |
| <select id="pub-intent" class="pub-in"> | |
| <option value="click">Find and click the element labelled β¦</option> | |
| <option value="type">Type β¦ into the field labelled β¦ and submit</option> | |
| </select> | |
| <label class="pub-lab" for="pub-label">Label</label> | |
| <input id="pub-label" class="pub-in" type="text" placeholder="Element or field label" autocomplete="off"> | |
| <div id="pub-text-wrap" class="hidden"> | |
| <label class="pub-lab" for="pub-text">Text to type</label> | |
| <input id="pub-text" class="pub-in" type="text" placeholder="Text" autocomplete="off"> | |
| </div> | |
| <button id="pub-run" class="pub-btn" type="button">Run on public page</button> | |
| <p class="pub-note">Bounded mode: public http(s) pages only β localhost and private addresses are refused, password and payment fields are never typed into, downloads are off, and leaving the entered domain stops the run.</p> | |
| <p id="pub-error" class="pub-error hidden"></p> | |
| </div> | |
| <div id="trace-groups"></div> | |
| <div id="task-groups"></div> | |
| </aside> | |
| <div class="stage"> | |
| <div class="stage-head"> | |
| <div> | |
| <h3 id="sel-name">Choose a task</h3> | |
| <p id="sel-desc" class="muted">Pick a task on the left, then run the agent against it β live, in a real browser.</p> | |
| </div> | |
| <div class="stage-actions"> | |
| <a id="sel-page" class="ghost-btn hidden" href="#" target="_blank" rel="noopener">View task page</a> | |
| <button id="run-btn" class="run-btn" type="button" disabled>Run</button> | |
| </div> | |
| </div> | |
| <div id="recorded" class="recorded hidden"></div> | |
| <div id="verdict" class="verdict hidden"></div> | |
| <div id="trace" class="trace hidden"> | |
| <div class="trace-head"> | |
| <span class="trace-label">Run trace</span> | |
| <span class="trace-hint">Every event from the run, with the frame shown at each step β select any item to review it.</span> | |
| </div> | |
| <div id="trace-strip" class="trace-strip"></div> | |
| </div> | |
| <div id="progress" class="progress hidden" aria-label="Step progress"> | |
| <div class="progress-head"> | |
| <span class="progress-label">Step progress</span> | |
| <span id="progress-count" class="progress-count"></span> | |
| </div> | |
| <div id="step-nodes" class="step-nodes"></div> | |
| </div> | |
| <div class="console"> | |
| <div class="screen-block"> | |
| <div class="screen-label">Live view of the page the agent is operating</div> | |
| <div class="screen-wrap"> | |
| <img id="screen" alt="Live view of the page the agent is operating"> | |
| <div id="screen-empty" class="screen-empty">The agent's view of the page appears here while a run is live.</div> | |
| </div> | |
| </div> | |
| <ol id="log" class="log"></ol> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- ============ EVALUATION VIEW ============ --> | |
| <section id="view-eval" class="view-section hidden"> | |
| <p class="sec-eyebrow">Evaluation</p> | |
| <h2 class="sec-title">Measured, not asserted</h2> | |
| <p class="sec-sub eval-intro">Recorded full-suite results β the whole 36-task suite run with recovery on and with recovery off, read live from the system's own run files (<code>results/run_on.json</code> Β· <code>results/run_off.json</code>). These are the recorded suite runs, separate from the single live runs on the Live run view.</p> | |
| <div class="panel eval-panel"> | |
| <div id="eval-cards" class="cards"></div> | |
| <h3 class="eval-h">Pass rate β recovery on vs off</h3> | |
| <p class="takeaway" id="cap-charts"></p> | |
| <div id="eval-charts"></div> | |
| <h3 class="eval-h">Outcome mix β clean pass, pass with recovery, fail</h3> | |
| <p class="takeaway" id="cap-donuts"></p> | |
| <div id="eval-donuts"></div> | |
| <h3 class="eval-h">Adversarial tasks β attempts, recovery off vs on</h3> | |
| <p class="takeaway" id="cap-flip"></p> | |
| <div id="eval-flip"></div> | |
| <h3 class="eval-h">Attempts per task β distribution</h3> | |
| <p class="takeaway" id="cap-hist"></p> | |
| <div id="eval-hist"></div> | |
| <h3 class="eval-h">Every task, both modes</h3> | |
| <p class="takeaway" id="cap-heatmap"></p> | |
| <div id="eval-heatmap"></div> | |
| <h3 class="eval-h">By category</h3> | |
| <div class="table-wrap"><table id="eval-cats"></table></div> | |
| <h3 class="eval-h">Per task</h3> | |
| <div class="table-wrap"><table id="eval-tasks"></table></div> | |
| </div> | |
| </section> | |
| </main> | |
| <footer> | |
| <div class="wrap"> | |
| <p class="name">Omevra</p> | |
| <p>web-agent β an autonomous agent that operates web interfaces end to end, measured across its full task suite with recovery on and off.</p> | |
| <div class="links"> | |
| <a href="https://evidra-variant-evidence-agent.hf.space" target="_blank" rel="noopener">Variant Evidence Agent β live application</a> | |
| <a href="https://evidra-web-agent.hf.space" target="_blank" rel="noopener">web-agent β live application</a> | |
| </div> | |
| </div> | |
| </footer> | |
| <script src="/static/app.js"></script> | |
| <script> | |
| (function () { | |
| var reduce = window.matchMedia && window.matchMedia("(prefers-reduced-motion: reduce)").matches; | |
| function go(id) { | |
| var el = document.getElementById(id); | |
| if (el) el.scrollIntoView({ behavior: reduce ? "auto" : "smooth", block: "start" }); | |
| } | |
| var ctaRun = document.getElementById("cta-run"); | |
| var ctaEval = document.getElementById("cta-eval"); | |
| if (ctaRun) ctaRun.addEventListener("click", function () { | |
| document.getElementById("nav-run").click(); go("view-run"); | |
| }); | |
| if (ctaEval) ctaEval.addEventListener("click", function () { | |
| document.getElementById("nav-eval").click(); go("view-eval"); | |
| }); | |
| /* Hero numbers are refreshed from the app's own evaluation payload β | |
| the same recorded run files the Evaluation view renders. The | |
| values in the markup are the recorded fallback for first paint; | |
| this fetch overwrites them with the same values when available. */ | |
| function frac(x) { return x.passed + "/" + x.total; } | |
| fetch("/api/evaluation").then(function (r) { return r.json(); }).then(function (d) { | |
| if (!d || !d.available) return; | |
| var s = d.summary; | |
| document.getElementById("hs-on").textContent = frac(s.on.overall); | |
| document.getElementById("hs-off").textContent = frac(s.off.overall); | |
| document.getElementById("hs-adv").textContent = | |
| frac(s.on.adversarial) + " vs " + frac(s.off.adversarial); | |
| var con = frac(s.on.controls), coff = frac(s.off.controls); | |
| if (con === coff) { | |
| document.getElementById("hs-ctl").textContent = con; | |
| document.getElementById("hs-ctl-lab").textContent = "Control tasks β passed both ways"; | |
| } else { | |
| document.getElementById("hs-ctl").textContent = con + " vs " + coff; | |
| } | |
| }).catch(function () { /* recorded fallback values stay if results are unavailable */ }); | |
| })(); | |
| </script> | |
| </body> | |
| </html> | |