ZeroVisual: I Was Too Lazy to Do Manual UI Testing, So I Made Open-Source AI Do It A developer built ZeroVisual, an open-source visual regression and UI design QA pre-processor that sits between Playwright browser tests and Vision LLMs, cutting token usage by up to 88% and network payloads by 90% without requiring any external API key. The tool uses a two-stage architecture: a deterministic engine (pixel diff, CSS heuristic math, Penpot token diff) that ends the workflow with zero AI tokens on pass, and an optimizer that crops diff bounding boxes, resizes to model tile grids, scopes the accessibility tree, and aggregates desktop, tablet and mobile failures by testId into a triage-ready JSON. It ships as a CLI, a custom Playwright reporter, and an MCP server exposing tools such as list_visual_failures and audit_live_ui_design for use in Cursor, Claude Code and CI pipelines. This is a submission for the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady https://dev.to/challenges/hacktoberfest-week3-2026-10-19 I am lazy to do manual UI testing. Truly, unapologetically lazy. There is nothing quite as soul-crushing on a Friday afternoon as manually resizing browser windows, squinting at full-HD screenshots to see which button shifted by 3 pixels, inspecting CSS flexbox margins on three different viewports, or calculating whether a muted gray button passes WCAG 2.1 AA color contrast. When Vision LLMs arrived, the promise seemed magical: "Just dump a screenshot into an AI agent and let it review your UI " Except laziness quickly met reality: Sloths have it figured out: move at your own pace, conserve energy, and let the work do itself. So in honor of International Sloth Day , I built ZeroVisual —an open-source, zero-API-key visual regression and automated UI design QA pre-processor that acts as a token-optimizing firewall between browser tests and Vision LLMs. ZeroVisual is a local pre-processing engine, custom Playwright Reporter, CLI, and Model Context Protocol MCP server. It cuts Vision LLM token usage by up to 88% and network payloads by 90% , without requiring a single external API key. It addresses the two most tedious UI tasks developers dread: Automated Visual Regression zerovisual regression & Playwright Custom Reporter : Instead of immediately bombarding a vision model with full-page screenshots, ZeroVisual relies on a Two-Stage Architecture : ariaSnapshot , and aggregates Desktop, Tablet, and Mobile failures under one testId . Your AI agent diagnoses the responsive layout bug in a single prompt. Automated Design QA zerovisual design-qa : For developers building web apps without a dedicated UI/UX designer, guessing spacing and accessibility in CSS is exhausting. zerovisual design-qa audits any localhost URL against mathematical heuristics 8pt spatial grid rhythm, WCAG 2.1 contrast math, 44×44px touch targets and compares live DOM against open-source Penpot design exports—zero proprietary Figma lock-in. Built-in MCP Server & Agent Skills: ZeroVisual exposes native tools over stdio list visual failures , get visual failure bundle , audit live ui design , optimize image and includes strictly-typed Agent Skills zerovisual-regression , zerovisual-design-qa , zerovisual-optimize compatible with Cursor, Claude Code, Antigravity, and custom CI agents. Stage 1: Deterministic Engine 0 Tokens Playwright Pixel Diff / CSS Heuristic Math / Penpot Token Diff │ ├──► PASS ──► Workflow Ends Immediately 0 AI Tokens Used │ └──► FAIL / AUDIT ──► Triggers ZeroVisual Pre-Processor │ Stage 2: ZeroVisual Optimizer ▼ 1. Detects diff bounding box + 32px context padding 2. Resizes & encodes to WebP based on Model Tile Grid 512px / 504px / 768px / 448px 3. Scopes Accessibility Tree ariaSnapshot & 14 Computed CSS layout styles 4. Aggregates Desktop + Tablet + Mobile viewports by testId │ ▼ Outputs ./test-results/triage-ready.json │ ┌───────────────────────┴───────────────────────┐ ▼ ▼ Local IDE via MCP CI/CD Pipeline CLI Cursor / Claude Code / Antigravity GitHub Actions / GitLab CI queries ZeroVisual MCP Server + Skill reads JSON & posts PR Verdict