Kane CLI Project Showcase / Agent done-gates and closed fix loops

Profe

The teaching assistant that actually runs your students' apps: Kane CLI tests every acceptance criterion in a real Chrome, with evidence for every point.

  • Built with Claude Code by Profe
  • Tested with Kane CLI

Demo video by the Profe team

About Profe

Students now hand in web apps written with AI coding agents. They look finished, but a teacher with 120 submissions can't click through every one, so grades end up based on screenshots and code reading. Profe is for programming teachers: it actually runs every app.

How it works:

Each acceptance criterion of the assignment becomes a plain-English Kane CLI test, one _test.md per criterion.

Calibrate: the reference solution must pass every test, and apps with known bugs must fail exactly the criteria they break. Profe grades the grader before it grades any student.

Grade: one kane-cli testrun per student, with one isolated Chrome per criterion. Kane checks what the page shows and what the DevTools console recorded, so an app that looks right but throws a TypeError fails.

Evidence: every verdict comes with the steps, what the browser read, console and network logs, and a public replay.

The teacher reviews, adjusts and approves each grade. Approved grades export as a CSV for the Moodle gradebook.

Students and their coding agents get the same checks. profe loop hands Kane's feedback to any coding agent, the agent fixes the app, and Kane grades it again.

More about Profe

How the agent and Kane CLI talk to each other

profe loop closes the loop. Kane grades the app, and Profe turns each failed criterion into feedback: what Kane saw, its diagnosis, and

the evidence. A coding agent edits the app, and Kane grades it again until it passes or hits a round limit. The agent only edits files; Kane stays outside its sandbox.

Two recorded runs, each fixed in one round: Claude Haiku 5.5 (claude -p) took Bruno's app from 7/9 to 9/9 in 17 seconds, and Muse (muse-spark-1.3-contributor) took Diego's from 7/9 to 9/9 in 36 seconds. Diego's app had a TypeError that Muse could only see in Kane's console evidence. Transcripts and diffs are in docs/agent-loop. Profe itself was built with Claude Code, running Kane CLI against the real thing at every step.

What Kane caught

In the students' apps: on the example class, Kane matched the answer key exactly. It caught all six seeded bugs, with no false failures across 45 checks. One of them is a TypeError that never shows on screen. Sofi's app, written in one shot by Claude Haiku, passed all nine flows.

In Profe itself, before any student paid for it:

a console check that counted a missing favicon as a JavaScript error;

a precondition that Kane re-verified after the click;

two concurrent testruns driving each other's browsers, caught through Kane's final_state.url;

an empty recording that the cross-talk left behind, diagnosed by Kane's own root-cause analysis.

All are fixed, and calibration is now strict (docs/BUILD-LOG.md).

How to run it

You need Node 18+, Chrome, and Kane CLI signed in to a TestMu AI account:

npm install -g @testmuai/kane-cli

kane-cli login

git clone https://github.com/mostro3000/profe && cd profe

node bin/profe.mjs demo

To grade one student for fewer credits: node bin/profe.mjs grade examples/roster.json --only Bruno

The live sample report (https://mostro3000.github.io/profe/) and the video are recorded runs, and every verdict links to its public Kane replay.

What's next

Run Profe in CI on every new submission, so students get Kane's feedback before the deadline.

Send approved grades straight to Moodle through its web services instead of a CSV.

Add more assignment templates beyond the course-enrollment example.

Community-submitted project. The description and results come from the Profe team's Kane CLI hackathon submission and have not been verified by TestMu AI.

Test your own app the way Profe was tested

Every project in the showcase had to run Kane CLI to be eligible. Kane CLI runs a flow you describe in plain English in a real browser, and saves the steps, screenshots, logs and verdict as evidence.

npm install -g @testmuai/kane-clikane-cli loginkane-cli run --url https://your-app.example "Sign up and verify the dashboard loads"