assay
English · 简体中文 · 日本語 · 한국어 · Русский
Install · Use · Benchmarks · How it works · Why · Limits · Contributing · Licence
An agent-native QA CLI for web pages. Deterministic, no tests to write, no LLM.
pip install assay-ui
Checking a drag-to-reorder list with a bug in it.
assay opens your page in Chromium, finds every control on it, uses all of them, and reports what went wrong.
- No tests to write. assay builds its checks from the controls it finds
- No LLM. There's no API key and no cost, and every run gives the same
- Works with coding agents. A skill, supported across fifteen harnesses,
- Groups repeats. When one bug fails several checks, the later ones say
Install
pip install assay-ui # Python 3.10+
uv tool install assay-ui # no Python 3.10+? uv downloads one
pipx install assay-ui # installs assay in its own isolated environment
If pip isn't found, use python3 -m pip install assay-ui. The first run
downloads Chromium if needed.
To work on assay itself:
git clone https://github.com/awss1i/assay.git && cd assay
pip install -e ".[dev]"
For coding agents
Install the CLI above first, then follow the harness setup → to add the skill or plugin in any of the fifteen supported harnesses.
Use
assay ./my-app # check index.html in this folder
assay ./my-app --report out.html # also write an HTML report with screenshots
assay ./my-app --one-line # short summary, for scripts and agents
The exit code is non-zero if anything failed. Apart from the Chromium download on the first run, nothing is written to disk unless you ask.
The full flags, a worked example, the Python API and the HTML report →
With coding agents
The skill works in all fifteen supported harnesses: Claude Code, DeepSeek Harness, opencode, Antigravity, Codex App, Codex CLI, Cursor, Devin CLI, Factory Droid, Gemini CLI, GitHub Copilot CLI, Grok Build CLI, Kimi Code, Pi and Hermes Agent. It tells your agent to run assay after finishing a page and end its reply with the result:
assay: checked todo/todo.html, 8 checks, nothing flagged.
The plugin adds a hook that runs the check automatically at the end of each turn that changed a page. The hook works in Claude Code, Codex, Grok Build CLI, Devin CLI, Factory Droid, GitHub Copilot CLI and the DeepSeek Harness. Either way, the agent reports what assay found and doesn't change code because of it unless you ask.
/plugin marketplace add awss1i/assay
/plugin install assay@assay
How the skill and plugin work →
Benchmarks
assay is scored on two sets of pages in this repository, and the scoring scripts write every number below.
Pages written by AI. 225 small web apps an AI wrote from 75 prompts, three times each, which a person then opened and tried.
assay found the real bug on 15 of the 20 broken pages and flagged 0 of the 205 working pages. Every page and result.
Pages with planted bugs. A separate agent, never told assay exists, took 10 working apps and planted 5 bugs of its own choosing in a copy of each, then listed them. assay's rules were developed with these pages in view, so this score is in-sample.
assay found 12 of the 50 planted bugs and flagged 0 of the 10 original pages. Every bug and result.
How It Works
assay runs in five steps:
- Serves the folder on localhost and opens the page in Chromium.
- Waits until the page's controls stop changing.
- Lists every control the browser renders, including clickable divs, drag
- Plans checks from those controls: press every button once and twice,
- Runs each check in a fresh tab and compares the page before and after.
- the page throws an error,
- Undo does nothing on the first press and works on the second,
- a count of items shows 1 when the list is empty,
- a total goes up when an item is added but not down when one is removed,
NaNappears where a number should be,- nothing on the page responds to any control.
Why
Playwright and Cypress need tests someone wrote. Visual regression needs a reference screenshot. Asking a model to review the code means reading it, not running it. assay runs it, with nothing prepared in advance.
| | needs tests written | needs a baseline | runs the program | |---|---|---|---| | Playwright / Cypress | yes | no | yes, the parts you wrote | | Percy / Chromatic | no | yes | it screenshots it | | ask a model to review it | no | no | no, it reads the source | | assay | no | no | yes, all of it |
Limits
- It can't check intent. A page that runs but does the wrong thing, like
- Web pages only. It checks one page at a time, served from a local
- Built output only. It won't run
npm installor your build. Point it
- A finished game can look broken. A game that has ended with no way to
- Speed. Most pages take a few seconds to a minute. The benchmark page
Contributing
Report bugs and false alarms as issues, send changes as pull requests, and ask questions or share ideas in Discussions. See CONTRIBUTING.md.
Licence
MIT.