ADSI Agent Kit v3.0
ADSI = AI Design Slop Index. ADSI is a production-oriented product/UI quality gate for detecting observable design slop symptoms: unrealistic data, passive workflows, inconsistent status logic, weak accessibility, generic visual clichés, layout brittleness, and missing production states.
ADSI does not infer whether a UI was made by AI. It scores whether the UI behaves like a real product.
What changed in v3
ADSI v3 upgrades v2 into a broader production stack:
- Python-first ADSI core.
- Static heuristic scanner.
- Browser collector via Playwright: screenshot, DOM, computed styles.
- Contrast checker from computed styles.
- SARIF reporter for code scanning annotations.
- Before/after ADSI diff.
- MCP-compatible stdio server.
- Antigravity
/adsi [do] [target]workflow. - Agent adapters for Antigravity, Cursor, Claude Code, Codex, Hermes-style multi-agent runners, and OpenClaw.
- Optional Node Playwright companion package.
- Stage-by-stage quality audit log.
- 10 unit tests and example reports.
Install locally
cd ADSI-Agent-Kit-v3
python -m pip install -e .
Optional browser capture dependency:
python -m pip install playwright
python -m playwright install chromium
Optional Node browser collector:
cd packages/adsi-browser
npm install
npx adsi-browser-collector --url http://localhost:3000/admin --out artifacts/adsi/admin
Antigravity usage
Install into your workspace:
adsi init /path/to/repo --platform antigravity
Then in Antigravity, use:
/adsi [do] [target]
Examples:
/adsi scan dashboard admin
/adsi fix dashboard admin
/adsi collect http://localhost:3000/admin
/adsi contrast artifacts/adsi/admin/computed-styles.json
/adsi diff reports/before.json reports/after.json
The Antigravity adapter writes:
.agents/workflows/adsi.md
.agents/skills/adsi.md
.agents/skills/adsi/SKILL.md
AGENTS.md
ANTIGRAVITY.md
CLI usage
Scan code or HTML
adsi scan ./src --product "My Product" --screen "Admin Dashboard" \
--output reports/adsi-audit.json \
--report reports/adsi-audit.md \
--sarif reports/adsi-audit.sarif
Capture browser artifacts
adsi collect http://localhost:3000/admin --out artifacts/adsi/admin
Outputs:
artifacts/adsi/admin/screenshot.png
artifacts/adsi/admin/dom.html
artifacts/adsi/admin/computed-styles.json
artifacts/adsi/admin/capture.json
Check contrast
adsi contrast artifacts/adsi/admin/computed-styles.json \
--output reports/adsi-contrast.json \
--fail-on 1
Validate audit JSON
adsi validate reports/adsi-audit.json
Score an existing audit
adsi score examples/corelasi_dashboard_audit.v3.json --breakdown
Use as a release gate
adsi gate reports/adsi-audit.json --max-score 20
Exit code is 1 when the gate fails.
Compare before/after
adsi diff reports/before.json reports/after.json \
--output reports/adsi-diff.json \
--fail-on-regression \
--max-score 20
Run MCP-compatible server
adsi mcp
Exposed tools:
adsi_scanadsi_scoreadsi_validateadsi_diff
Install agent adapters
adsi init /path/to/repo --platform all
Platform options:
antigravitycursorclaudecodexopenclawhermesgenericall
Recommended production workflow
- Run
adsi scanas deterministic first-pass audit. - For running apps, run
adsi collectandadsi contrast. - Ask your coding agent to fix only top ADSI areas.
- Run lint/typecheck/test/build.
- Re-run
adsi scan. - Use
adsi diffto verify improvement. - Use
adsi gate --max-score 20before production claims.
Scoring bands
| Score | Band | Release decision |
|---|---|---|
| 0-19 | low_slop | pass |
| 20-39 | mild_moderate_slop | warn |
| 40-59 | high_slop | block |
| 60-100 | severe_slop | block |
Repository map
| Path | Purpose |
|---|---|
adsi/ |
Python package and CLI engine |
schemas/ |
ADSI audit JSON schema |
rubric/ |
ADSI v3 scoring rubric |
rules/ |
Heuristic rule catalog |
adapters/ |
Platform-specific agent instruction files |
packages/adsi-browser/ |
Optional Node/Playwright collector |
docs/V3_ARCHITECTURE_AND_PACKAGE_STRATEGY.md |
Design and package decision |
docs/STAGE_AUDIT_LOG.md |
Stage-by-stage quality audit |
prompts/ |
Audit and repair prompts |
examples/ |
Example inputs and baseline audit |
reports/ |
Example generated reports |
tests/ |
Unit tests |
Limitations
- Static scan is deterministic but not a substitute for product-context review.
- Browser collection requires Playwright.
- MCP server is a minimal stdio foundation; it intentionally avoids extra SDK dependencies.
- Contrast is computed from captured browser styles, so it is only as accurate as the rendered state you capture.
Publishing
This repository includes publish-ready workflows and scripts. See docs/PUBLISHING.md.
Recommended release flow:
./scripts/prepublish-check.sh
./scripts/build-release.sh
git tag v3.0.0
git push origin v3.0.0
Use PyPI as the primary distribution for adsi-agent-kit; use npm only for the optional adsi-browser-collector Playwright companion.
Metadata
Release files for adsi-agent-kit 3.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| adsi_agent_kit-3.0.1.tar.gz | 52.8 kB | Without provenance | Details for adsi_agent_kit-3.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| adsi_agent_kit-3.0.1-py3-none-any.whl | Python 3 | none | any | Details for adsi_agent_kit-3.0.1-py3-none-any.whl |
Total release size: 87.2 kB
Release files / adsi_agent_kit-3.0.1.tar.gz
| Download URL | adsi_agent_kit-3.0.1.tar.gz |
|---|---|
| Size | 52.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
06a50b6039b02df74f757f32032efd2831c7822a427078401e5a9a28f9f854d7
|
|
BLAKE2b-256 checksum How to use checksums |
ae3cebdfa593b0a9c2f92f8f1571e7bc7959806e7dc6f1433fd1d3d0af6bff73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / adsi_agent_kit-3.0.1-py3-none-any.whl
| Download URL | adsi_agent_kit-3.0.1-py3-none-any.whl |
|---|---|
| Size | 34.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
115a6c3d657281ba45a042f672ffb40377e14ec1c304b5ee40cce7947ff69f5f
|
|
BLAKE2b-256 checksum How to use checksums |
e195f6ac8dc7d33cdadddc9deb54efc7ab37ebab6d6988b7d9df704d71f66e58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for adsi-agent-kit 3.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.