assay README

README проекта с github.com/awss1i/assay. Одним файлом markdown: README.md.

assay

English · 简体中文 · 日本語 · 한국어 · Русский

python licence listed in agentic-awesome-skills listed in awesome-testing listed in awesome-opencode

Install · Getting started · Benchmarks · Docs · Contributing · Licence


An agent-native QA CLI for web pages. Deterministic, no tests to write, no LLM.

A terminal running assay on a list
you reorder by dragging. 7 checks planned from the page, 1 passed and 6
failed. The first failure says nothing on the page changed at all, and the
other five say they are the same finding.

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.

assay doesn't know what your page is for, so it reports the places where the page contradicts itself, such as a count that shows 1 when the list is empty, or an Undo that does nothing on the first press and works on the second. A page that runs but does the wrong thing, like a total that adds wrongly, usually passes.


Install

pip install assay-ui

assay also installs with uv and pipx, and its skill and plugin install in fifteen coding agent harnesses.

All install options


Getting started

Point assay at the folder that holds your page.

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.

In a coding agent, the plugin runs the check at the end of each turn that changed a page, and the agent reports what assay found. In Claude Code, these two commands install it.

/plugin marketplace add awss1i/assay
/plugin install assay@assay

Getting started


Benchmarks

assay is scored on two sets of pages in this repository, and the scoring scripts write the table below.

Set Pages Bugs found Working pages flagged
Pages written by AI 225 15 of 20 0 of 205
Pages with planted bugs 20 12 of 50 0 of 10

On the pages written by AI, the median page took 14 seconds to check, and 221 of the 225 finished inside a minute.

The pages written by AI are small web apps an AI wrote from a list of prompts, which a person then opened and tried. The pages with planted bugs are working apps and a copy of each, in which a separate agent, never told assay exists, planted bugs of its own choosing. assay's rules were developed with the planted pages in view, so that score is in-sample.

All benchmarks


Docs

Doc What it covers
Usage Every option, what assay prints, the exit codes, the HTML report and the Python API
How it works How a run goes, every check and the exact message it prints, and what assay can't check
Harnesses Install steps for each of the fifteen supported coding agent harnesses
The Skill & Plugin What the skill tells the agent to do, and what the plugin's hook does after each turn
Development How the code is laid out, changing a rule, the tests, and adding a harness

Contributing

Bugs and problems in the docs go in issues, questions and ideas go in Discussions, and fixes and features come as pull requests. A title starts with the area it touches, such as cli: what changed.

Contributing


Licence

MIT.

assay (awss1i/assay)

Ищем в базе…

Что это?'assay' — инструмент, который открывает вашу веб-страницу в настоящем браузере Chromium, автоматически нажимает все кнопки, заполняет все поля и задействует каждый найденный элемент управления, а затем сообщает, где страница противоречит сама себе — без написания тестов и без LLM.
Это то же самое, что Playwright или Cypress?Нет — Playwright и Cypress прогоняют тесты, написанные человеком, а assay сам строит проверки, обнаруживая элементы управления на странице, поэтому вам нечего скриптовать.
Как установить и запустить?Установите командой 'pip install assay-ui' (или 'python3 -m pip install assay-ui', если pip не находится); при первом запуске при отсутствии Chromium он скачается автоматически, затем укажите на папку, где раздаётся ваша страница.
Нужен ли API-ключ или LLM, чтобы им пользоваться?Нет — в assay нет ни LLM, ни API-ключа, ни платы за использование, и каждый прогон на одной и той же странице даёт один и тот же результат.
Поймает ли он каждый баг на моей странице?Нет — он не судит о намерениях, поэтому страница, которая работает без сбоев, но считает неверный результат (например, неправильно складывает итог), обычно проходит; к тому же за раз он проверяет только одну локально раздаваемую страницу, без логина, живых сетевых вызовов и шага сборки.
Насколько точно assay ловит настоящие баги?На 225 мини-приложениях, написанных AI, он нашёл настоящий баг в 15 из 20 сломанных страниц без единого ложного срабатывания на 205 работающих; на приложениях с намеренно добавленными багами он нашёл 12 из 50 добавленных багов без единого ложного срабатывания на оригиналах.
Работает ли он автоматически с агентами кодинга вроде Claude Code?Да — скилл позволяет запускать его после того, как любой из 15 поддерживаемых харнессов (Claude Code, DeepSeek Harness, opencode, Codex, Cursor, Gemini CLI и другие) напишет страницу, а плагин для Claude Code и DeepSeek Harness запускает проверку автоматически после каждого хода, меняющего страницу.
Какие проблемы он на самом деле помечает?Он ищет самопротиворечия страницы: выброшенные ошибки, кнопку Undo, которая ничего не делает, а потом внезапно работает, счётчик элементов, показывающий 1 при пустом списке, итоги, которые растут, но не убывают, случайные значения NaN или полное отсутствие реакции страницы.
Почему бы просто не попросить LLM отревьюить код?Чтение кода говорит вам, что он должен делать, а не что он реально делает при запуске; assay вместо этого раздаёт страницу, взаимодействует с ней в настоящем браузере и сообщает о наблюдаемых несоответствиях — без модели и без затрат на API.
Автор
awss1i
Размер
1.7 MB
Звёзды
110
Возраст
2 мес
Коммиты · 90 дней