A small model app creator kit. An agent on a small model can change a small web app for one person, and one quiet command says if the app still works.
Someone asks for a change in plain words: "double points on Saturdays", or "add a column for the author". An agent makes the change. smack gives that agent three things, so a small model can do it safely.
kit check. It prints nothing when the app still works. Otherwise it prints one line for each fault.smack doesn't depend on any agent harness. It worked with opencode and with aider in our tests.
kit check is quiet. The app's own checks/ and the shared kit/ are off limits, so an agent can't pass by editing the tests.Three example apps come with smack. Each runs here as it ships, before any change. The lists show requests from the kit's test set. Your data stays in this browser.
Who does which chore today, the week, and a points board.
Letters fall from the top; type each one before it lands. A letter game for small children, with levels and a best score. It needs a keyboard.
Who read what, on a month calendar.
A decline request is one a static app can't meet. The right answer is to change nothing and say why.
git clone https://github.com/teaguesterling/smack-kit && cd smack-kit
npm install && npm link # puts `kit` on PATH
npx playwright install chromium # for the layout step
kit check fixtures/apps/chore-chart # prints nothing: all is well
After a bad change, each fault is one line, and the exit code is 1:
$ kit check work/cc-04 # a seam that reads localStorage
seams/points.js:5 purity localStorage is not allowed in a seam: it reaches outside the function (network, storage, page or globals)
The install profile skips the layout step, for a machine with no browser: kit check --profile install.
| Path | What it holds |
|---|---|
app.json | The name, the screens to render, and the model calls the app makes |
definitions.yaml | What each word in the app means, and the values it allows |
data/ | The content, and the schema that limits it |
seams/*.js | Small pure functions with contract comments. The part an agent changes |
screens/, index.html | What each screen shows, and how the screens are wired |
theme.json, app.css | Colours, type and spacing |
checks/, kit/ | The app's tests and the shared kit parts. An agent never edits them |
smack comes with 27 change requests over the three apps. Each has a verifier and a reference solution. Point your agent at one and score the result:
node tools/fixture.mjs start cc-03 work/cc-03 # copy the app, print the card and the request
# ... let your agent work in work/cc-03 ...
node tools/fixture.mjs score cc-03 work/cc-03 # PASS, or FAIL <step>: <reason>
The score also fails a change that touches a file outside the request's list. A decline request passes only when the app is left unchanged.
We ran agents on small local models against the 11 held-out requests for three nights. The model and the task moved the pass rate; changes to the card did not measurably move it. Read RESULTS.md.
A caveat on the 59% pass rate in RESULTS.md. On those runs, the agent's system prompt may have held instructions written for a different agent: a user's general file and a skill list. We have not confirmed this. On 28 November 2026, a re-measure without them was running. It covers real-app tasks, not these 11.
A real-app task asks for a change to an app that a person uses, not to one of the examples. Each task has its own verifier.
Our first runs, in November 2026, tried four tasks, three times each. No code change counts yet. One run that changed code passed its verifier, but we did not count it. It hit the time limit, and an app test failed. The agent had also changed a test to expect a value the code does not give. One request called for a decline, and two of three runs declined it. These runs may have held the same extra instructions.
kit check and the fixtures work and have tests. The API can change.