An AI agent speedruns Wikipedia from memory; Kane CLI walks every hop in a real browser, catches invented links, and feeds the evidence back until the route is real.
Agents grade their own homework. hopproof makes that visible with a game: an AI agent (Claude Code headless) plays the Wikipedia speedrun from memory. It never sees the page; it only says which link to click next. Kane CLI is its eyes and hands: every proposed hop is walked in a real Chrome. PASS moves the race to the page Kane actually landed on (taken only from Kane's observed state, never the agent's guess). FAIL means the agent named a link that is not in the article; Kane's one_liner and reason go straight into the agent's next prompt and it re-plans. When the target is reached, Kane certifies the route: it re-walks every hop as one test, saves it as a _test.md, and replays it with --no-adaptive-heal (no LLM, no self-healing). Recorded run: Lernaean Hydra to Software bug in 8 Kane-proven hops, one invented link caught. For developers who want to see, in one minute, why an agent's claims need an independent verifier. Runs with one command; a replay mode shows recorded races with no account or credits.
How the agent and Kane CLI talk to each other - Runtime loop: plan (claude -p, JSON) -> kane-cli run --agent --headless -> exit code + run_end -> PASS: advance to Kane's observed URL; FAIL: Kane's words are added to the planner prompt as 'proven NOT clickable on this page'; exit 2/3: infrastructure, never blamed on the agent. Every exchange is in events.ndjson. - Build loop: a Claude Code Stop hook (scripts/hooks/kane-stop-gate.mjs) renders our report page and lets Kane check it in Chrome before the builder agent may stop. FAIL -> exit 2 with Kane's words, Claude keeps working; max 3 attempts, then escalates. We challenged the gate before trusting it: a planted off-by-one bug in the renderer made Kane go red ('shows only one path entry ending at Footloose'), the real renderer went green (scripts/gate-selftest.mjs). What Kane caught - Invented links: 'software bugs' on Software engineering; 'American philosophy', 'United States', 'Age of Enlightenment' in Philadelphia's main text (result_code 750). - Drift: the agent said 'mathematics' and expected Mathematics; Kane landed on Ancient Greek mathematics, then History of mathematics. - Our own bug: in an early run Kane stored the landing under url/page_heading and our code silently fell back to the agent's guess, recording 'Philosophy'. Kane's state and screenshots showed Greek scholars in the Renaissance. Fixed (landing only from Kane), regression-tested, and `hopproof audit <run>` now re-derives any path from Kane's own observations. How to run npm i -g @testmuai/kane-cli && kane-cli login node bin/hopproof.mjs race "Lernaean Hydra" "Software bug" --certify No account: node bin/hopproof.mjs replay docs/kane-runs/<run> Old glibc hosts (RHEL/Rocky 8): scripts/kane runs Kane in a container automatically. What's next Use the same plan -> Kane walk -> evidence -> re-plan loop for agents that act on real sites (docs navigation, checkout flows), and publish per-hop Kane timings so slow verification is visible.
Built in two weeks for the KaneCLI Online Hackathon.
See the hackathon →