Skip to content

Behavioural assessment for web apps

Grade the work.Not how it was built.

One contract. Many different builds. Evidence-backed verdicts.

Kane CLI acts in a real browser and records what it sees. Optimus judges that evidence against one unchanged contract — deterministically, with no AI deciding the verdict.

24 / 24

calibration cases matched the expected verdict

0

replays counted toward any verdict

3

live repairs: verified FAIL → fresh Kane run → PASS

≈ 5 min

and ≈ 52 credits per scenario run

Measured on the example used throughout this page: calibration of the Library assignment, four builds × 3 scenarios × two trials, contract library v5. The screenshot labels were reviewed by Claude at the owner's request, not by an independent human.

What Optimus does

Describe the behaviour once. Check every build the same way.

Optimus checks whether web apps behave as required — any app, any behaviour you can describe as steps in a browser. It is built for comparing many independent builds of the same thing, such as every submission to an assignment: one contract, applied unchanged, with a verdict you can trace back to evidence.

01

Write the contract

Describe what to do in the app and what to record. Expected answers stay with Optimus — the browser agent never sees them.

02

Kane runs every build

Kane CLI performs each step in a real browser, on every build, and records what it sees.

03

Evidence, not opinions

Recorded values and end-of-step screenshots. Missing evidence stays missing — nothing is guessed.

04

Optimus decides

Deterministic checks give PASS or FAIL. Not enough evidence gives no judgement — never a fail.

05

Repair, then re-check

A verified FAIL can go to a coding agent. A fresh Kane run with the same contract checks the fix.

The example on this page: a Library assignment — a small book-list app — built five different ways (vanilla JavaScript, React, two builds with planted bugs, and a blind build whose bug stayed sealed until grading), judged by one contract with 3 scenarios: Add, Remove, Persist. Optimus is not library-specific: the same engine runs any contract, and a calculator contract is part of its test suite.

Open the example report

Watch a real run

Kane acts. Optimus decides. A coding agent repairs.

A replay of a recorded run from the example: every step Kane performed, what it stored, the screenshot it took, the verdict Optimus reached, and the repair that followed. Nothing here is mocked up.

U · Blind, defect unseen · Persist (L4) · recorded run

kane-cli · optimus

  1. kane ▶ Open the page.
  2. kane action recorded

browser · end-of-step screenshot

1.0 — Contract

One approved contract. Applied unchanged to every build.

A contract (a pack) describes what to do and what to record — never what should happen. Optimus turns it into neutral steps for Kane, and keeps the checks to itself. Every build in a comparison is judged against the same contract hash.

Pixel art: the Optimus agent holds one scroll whose light reaches three differently built model houses.

Example: Library assignmentscenario L4: reload the page and record the list

Sent to Kane

  1. open

    Open the page.

  2. add

    Add a new book with title "GP Keep {{nonce}}", author "Ada Okafor", 123 pages, not read yet, and save it.

    record: titles_before, count_before

  3. reload

    Reload the page in the current browser session using the browser's refresh action, not a keyboard shortcut.

    record: titles_after, count_after

Judged by Optimus — never sent

  • after add · prerequisite

    titles_before should include "GP Keep {{nonce}}"

  • after reload

    titles_after should include "GP Keep {{nonce}}"

  • after reload

    count_after should stay the same as the number of books currently shown before that action

{{nonce}} is filled with a fresh run id each time; the hash covers the unexpanded contract.

2.0 — Evidence

Kane acts and records. Every step leaves evidence.

Kane CLI drives a real browser, performs each step and stores what it sees. Optimus reads that evidence in a normalized form. If an action was not established, there is no verdict — a missed click looks exactly like a broken button, so it is never called a failure.

Pixel art: the browser runner at a laptop sends picture frames to a board, where the Optimus agent inspects them.
Example: Library assignmentU · Blind, defect unseen · Persist (L4)FAIL
End-of-step screenshot after: Add a new book with title "GP Keep c61591-run-0", author "Ada Okafor", 123 pages, not read yet, and save it.

Add a new book with title "GP Keep c61591-run-0", author "Ada Okafor", 123 pages, not read yet, and save it.

titles_before
GP Keep c61591-run-0
count_before
1
End-of-step screenshot after: Reload the page in the current browser session using the browser's refresh action, not a keyboard shortcut.

Reload the page in the current browser session using the browser's refresh action, not a keyboard shortcut.

titles_after
none
count_after
0

Real archived screenshots and the values Kane recorded at the end of each step.

3.0 — Verdicts

A clear answer, backed by a run.

In the example, five builds of the same Library assignment — vanilla JavaScript, React, two with planted bugs and one blind build — are judged by one contract. Each verdict comes from Optimus's deterministic checks. A repaired build keeps its baseline verdict next to the verified one; history is never overwritten.

Library assessment example

contract library v5 · b5295a39…fc74

Verdict for every build and scenario
BuildAdd L1Remove L3Persist L4Score
A · Vanilla JSPASSPASSPASS100%
B · ReactPASSPASSPASS100%
C · Removes the wrong bookrepaired by agentPASS
baselineFAILverifiedPASS
PASS100%
D · Loses books on reloadrepaired by agentPASSPASS
baselineFAILverifiedPASS
100%
U · Blind, defect unseenrepaired by agentPASSPASS
baselineFAILverifiedPASS
100%

Rendered at build time from the validated comparison bundle.

Open the full report

4.0 — Repair

A verified failure goes to a coding agent. A fresh run checks the fix.

Only a verified FAIL can start a repair. The agent gets a narrow brief — the requirement, expected versus observed — and may change only a copy of the app. Optimus then reruns every calibrated scenario with a new Kane session. The agent never judges.

Pixel art: the Optimus agent hands a note to the repair smith, who fits a glowing code tile into a model house while the browser runner waits.

Example: Library assignment

Baseline · U · Blind, defect unseen

Persist (L4) FAIL

Sent to the coding agent · claude-code

After "Reload the page in the current browser session using the browser's refresh action, not a keyboard shortcut.", the title of every book currently shown (titles only, not authors or other fields), separated by |, or 'none' should include "GP Keep c61591-run-0".

expected
GP Keep c61591-run-0
observed
none

Code change · app.js

diff --git a/app.js b/app.js--- a/app.js+++ b/app.js@@ -59,6 +59,7 @@ form.addEventListener('submit', (event) => {   };    books.push(book);+  saveBooks();   addCard(book);   updateEmptyMessage();   form.reset(); 

Integrity checks

  • Agent worked in a copy outside Optimuspassed
  • Contract hash unchangedpassed
  • Evaluator and Kane adapter unchangedpassed

Fresh Kane run · same contract

Persist (L4) PASS

Every scenario in scope passed. 1 attempt · 365.08 credits · 0.59 min of agent time.

Find your way

Six words. Each one is a door.

Drag across a word, or select its first and last letters. With a keyboard, move with the arrow keys and press Enter on the first and last letter. Words run in straight lines, in any direction. You never have to solve it: every link is in the list.

One contract. Many different builds.

See every verdict, every screenshot and the full repair record from a real run — then point Optimus at your own builds.