EveryDev.ai
Subscribe
Home
Tools

3,697+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2189
  • Coding1574
  • Infrastructure698
  • Marketing534
  • Projects498
  • Research456
  • Design416
  • Analytics389
  • Testing296
  • MCP290
  • Security286
  • Data262
  • Integration197
  • Prompts189
  • Communication183
  • Extensions173
  • Learning170
  • Voice151
  • Commerce135
  • DevOps123
  • Web86
  • Finance26
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. LayoutLens
    LayoutLens icon

    LayoutLens

    Visual Testing
    Featured

    AI-powered visual UI testing library combining deterministic WCAG accessibility audits via axe-core with optional natural-language visual checks through vision LLMs.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open source under the MIT License. All features available at no cost.

    Engagement

    Available On

    CLI
    API
    SDK

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Visual TestingAutomated TestingAI Development Libraries

    Alternatives

    ApplitoolsTestingBotPercy
    Developer
    gojiplusgojiplus builds open-source developer tools focused on AI-as…

    Listed Aug 2026

    About LayoutLens

    LayoutLens is an open-source Python library for AI-assisted UI testing, published under the MIT License by the gojiplus organization. It combines deterministic browser-based checks — vendored axe-core WCAG 2.1 A/AA audits, geometry scorers, contrast analysis, and text-occlusion detection — with an optional vision-LLM tier powered by LiteLLM. The library is available on PyPI and targets Python 3.11+, with Playwright used for screenshot capture.

    What It Is

    LayoutLens is a UI testing framework that operates across three tiers: a fully keyless deterministic tier (axe-core + geometry/contrast scorers), a hybrid tier where deterministic findings ground and can override LLM verdicts, and a pure LLM tier for natural-language visual questions. The deterministic tier requires no API key and is designed as a reliable CI gate; the LLM tier accepts any LiteLLM-compatible provider including self-hosted Ollama and vLLM endpoints. The project reports 81.1% measured accuracy on its bundled benchmark suite (60/74 labeled queries, gpt-4o-mini, measured 2026-07-21).

    Architecture: Three-Tier Testing Model

    The library's design separates concerns across three distinct tiers:

    • Deterministic tier — vendored axe-core 4.10.3 runs WCAG 2.1 A/AA checks against a real Playwright-rendered page; LayoutScorer detects contrast failures, element overlap, clipping, viewport protrusion, undersized targets (WCAG 2.5.8), focus obscuration (WCAG 2.4.11), and text occlusion. No API key or network call required; confidence is always 1.0.
    • Hybrid tier (default for accessibility checks) — axe-core findings are injected into the LLM prompt as grounding context; any measured violation deterministically forces the verdict to "no" regardless of the model's answer.
    • LLM tier — natural-language questions answered from a Playwright screenshot via any vision model; the judge() method sends prompts verbatim for use as an external evaluation harness.

    Integration Points

    LayoutLens integrates across several developer workflows:

    • pytest plugin — registers automatically on install; assert_a11y and assert_layout are keyless; assert_ui skips (never fails) without an API key or with --layoutlens-no-llm
    • CLI — layoutlens page.html --a11y axe for keyless scans; --output sarif emits SARIF 2.1.0 for GitHub Code Scanning upload via github/codeql-action/upload-sarif
    • GitHub Actions — a packaged gojiplus/layoutlens-action@v1 bundles install, scan, PR annotations, a sticky results comment, and SARIF upload
    • MCP server — layoutlens[mcp] exposes audit_accessibility, scan_layout, check_ui, and compare_ui as MCP tools for Claude Code, Cursor, and compatible coding agents
    • LiteLLM — any provider supported by LiteLLM works, including OpenAI, Gemini, and self-hosted models via api_base

    Benchmark and Evaluation Design

    The bundled benchmark covers 18 HTML fixtures and 74 labeled yes/no queries across four categories: responsive design (95.2% accuracy), layout alignment (79.2%), accessibility (76.2%), and UI components (62.5%). The evaluator scores answers deterministically — leading yes/no token vs. the answer key; ambiguous answers count as incorrect. The committed artifact benchmarks/results/2026-07-21_gpt-4o-mini.json is a real measured run. For a larger external benchmark (4,000+ machine-verified items), the README points to the companion UIJudgeBench project on GitHub and Hugging Face.

    The README explicitly documents limitations: vision LLMs miss fine-grained UI differences (citing arXiv 2605.29615 showing frontier models at 47.2% overall on DiffSpot), axe-core passing is not full WCAG conformance, and the bundled benchmark is intentionally small and narrow.

    Update: v2.2.0

    The latest release is v2.2.0, published 2026-08-18, with the repository last pushed 2026-08-25. A notable breaking change introduced in v1.7.0 requires every YAML test-suite case to declare expected_results (an answer field and/or a contains list); cases without it now raise ValidationError at load time. The batch judging API (judge_batch) supports provider-native async Batch APIs for OpenAI, Gemini, and LiteLLM file-based backends, with content-addressed resume manifests and per-manifest locking. Manifests created before v2.1.1 fail closed with explicit migration details.

    LayoutLens - 1

    Community Discussions

    Be the first to start a conversation about LayoutLens

    Share your experience with LayoutLens, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open source under the MIT License. All features available at no cost.

    • Deterministic axe-core WCAG 2.1 A/AA audits (keyless)
    • Deterministic layout scorers (keyless)
    • Natural-language LLM visual testing (requires own API key)
    • pytest plugin
    • CLI with SARIF output

    Capabilities

    Key Features

    • Deterministic axe-core WCAG 2.1 A/AA accessibility audits (keyless)
    • Deterministic layout scorers: contrast, overlap, clipping, viewport protrusion, target size, focus obscuration, text occlusion
    • Natural-language visual testing via vision LLMs (LiteLLM-compatible)
    • Hybrid mode: deterministic findings ground and can override LLM verdicts
    • Multi-viewport support: mobile, tablet, desktop
    • pytest plugin with keyless assert_a11y and assert_layout assertions
    • CLI with SARIF 2.1.0 output for GitHub Code Scanning
    • MCP server exposing audit_accessibility, scan_layout, check_ui, compare_ui tools
    • GitHub Actions integration via gojiplus/layoutlens-action
    • Batch testing with concurrent async processing
    • YAML/JSON test suite support
    • LLM judge API with verbatim prompt passthrough
    • Batch judging with provider-native async Batch APIs (OpenAI, Gemini, LiteLLM)
    • 6 built-in domain experts: accessibility, conversion, mobile, ecommerce, healthcare, finance
    • Self-hosted model support via api_base (Ollama, vLLM)
    • Structured JSON output with TypedDict schemas
    • Bundled benchmark suite (18 fixtures / 74 labeled queries)

    Integrations

    OpenAI (gpt-4o, gpt-4o-mini)
    LiteLLM
    Playwright
    axe-core 4.10.3
    Ollama
    vLLM
    Google Gemini
    GitHub Actions
    GitHub Code Scanning (SARIF)
    Claude Code (MCP)
    Cursor (MCP)
    pytest
    PyPI
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate LayoutLens and help others make informed decisions.

    Developer

    gojiplus

    gojiplus builds open-source developer tools focused on AI-assisted testing and UI evaluation. The organization maintains LayoutLens, an AI-powered visual UI testing library, and UIJudgeBench, a large-scale benchmark for AI judges of web UI quality. Their projects combine deterministic browser-based checks with vision LLM capabilities, targeting Python developers and CI/CD workflows.

    Read more about gojiplus
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    Applitools icon

    Applitools

    AI-powered end-to-end testing platform for visual, functional, accessibility, and cross-browser testing of web and mobile applications.

    TestingBot icon

    TestingBot

    Cloud-based cross-browser and mobile testing platform that runs automated, manual, visual, and AI-assisted tests on 6100+ real browsers and physical iOS and Android devices.

    Percy icon

    Percy

    Percy is a visual testing and review platform that automatically detects, highlights, and helps teams review UI changes across browsers and devices with every code change.

    Browse all tools

    Related Topics

    Visual Testing

    AI-driven tools for automated visual interface testing that detect UI/UX inconsistencies, layout issues, and visual regressions across different browsers and devices.

    14 tools

    Automated Testing

    AI-powered platforms that automate end-to-end testing processes with intelligent test case generation, execution, and reporting for faster, more reliable software delivery.

    143 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    290 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions