Skip to main content
Glama

Your little QA gargoyle. Gargli uses browser checks and the project's existing tests to compare what was built with what was requested. Each checklist item reports the expected behavior and the observed result.

QA priorities

  1. Frontend design and requirements. The agent turns the HTML mockup and product brief into a checklist. Check the rendered page against the design at the specified screen sizes, and exercise the interactions and states required by the brief.

  2. Source implementation. Run the project's existing tests on the submitted code to verify individual requirements. For example, an invalid login should return HTTP 401 without issuing a session cookie.

Related MCP server: Before Users Do

Architecture and design patterns

Gargli is a modular Python application that runs locally. The CLI and MCP server share one QA service. In a development conversation, Codex or Claude edits the product and Gargli checks each submitted version against the registered criteria.

flowchart TD
    Register["Codex or Claude registers the checklist once"] --> Check["Gargli checks the submitted snapshot"]
    Check -->|revise| Feedback["Gargli returns failure evidence and passing cases to protect"]
    Feedback --> Edit["Codex or Claude edits the product"]
    Edit -->|Submit the new snapshot under the same criteria| Check
    Check -->|report| Report["Agent confirms the run still passes and reports the checked scope"]
    Check -->|stop| Stop["Agent reports the reason for stopping"]

Pattern

How Gargli uses it

Service layer

Both entry points use the same rules for registration, submission and status. The service checks the criteria and target snapshot before and after running the checks. Service

Checker adapters

Adapters translate project test results and Playwright reports into per-item observations. A case with no observed result stays unverified. Adapters

Run history and checkpoints

SQLite records the contract, submissions and results. Separate file checkpoints preserve recoverable target snapshots. History · Checkpoints

Bounded feedback loop

Gargli compares individual items with the best retained run and returns evidence for the next edit. Stale or uncertain results, stalled progress and exhausted budgets can stop the loop. Progress · Repair guidance

Gargli 0.10.0 · Check the design on a running deployment

A local build and its deployment can share the same required screen IDs, CMS exclusions and visual thresholds. Select a trusted Chromium checker for the deployment. It opens each screen through the real service, and Gargli compares the captured pixels, layout and controls with the original design. Each screen counts once. A confirmed mismatch fails the screen. A capture without matching deployment evidence stays unverified and blocks an overall pass. Deployment checker setup

Gargli 0.9.0 · Check the requested design

Connect the original request and HTML prototype once. Gargli adds checks for the screens in scope, including when the submitted checklist contains only functional tests. If the brief assigns the login page and navigation to the CMS, the agent can focus repairs on the retained content. A mismatch there blocks a pass. For an accessible replacement of a clickable prototype choice, Gargli checks pointer, Enter and Space activation and the resulting selection. Scope and setup · Toggle evidence

Gargli 0.8.0 · Build evidence and submission readiness

Build jobs can link the selected source snapshot to the digest of a deployed image or static bundle. Before submitting, inspect checker availability, account role and jurisdiction, isolated synthetic fixtures and the remaining reservation budget per checklist. Preflight runs no checker and spends no budget. Build records and official run exports can stay in the local QA project. Registry-free Docker Compose · Local records · Build integration · Preflight

Gargli 0.7.0 · Checking an external deployment

A trusted checker can now tie each result to the deployed build and the submitted source snapshot. Gargli checks deployment identity before and after the run. Cases without matching evidence stay unverified, and independent checks keep their results. Configure a service checker

Gargli 0.6.0 · Diagnosing layout failures

When a trusted browser checker supplies DOM measurements for the exact screenshots it scored, Gargli can show Codex or Claude which element changed size, where text wrapped, and how the parent positioned it. The feedback separates measurements from possible causes and flags an identical rendered image across changed submissions. The agent can then check whether an edit affected the failing screen. Layout diagnostics

New checklists use repair policy 3. If an earlier regression remains, a repair can continue when it makes a new measurable gain and preserves the protected passes. Operators can use resume-progress to review an eligible version 2 run stopped for lack of progress. Prior results, used attempts and reserved checker time carry forward. Repair and resume rules

React and Tailwind implementation comparison · December 2, 2026

Codex implemented the screens and interactions from an HTML design for the single-page test and a written brief with HTML mockups for the multi-page test. Within each test, the three conditions used the same starter, request and grading criteria. Each condition ran once with gpt-6-astra at medium reasoning effort and no follow-up intervention.

Test

QA tool

Pass rate

Elapsed time

Single-page test

None

8/15 · 53.3%

12 min 27 s

Single-page test

Playwright MCP

7/15 · 46.7%

13 min 03 s

Single-page test

Improved Gargli

15/15 · 100%

14 min 39 s

Multi-page test

None

11/36 · 30.6%

13 min 04 s

Multi-page test

Playwright MCP

15/36 · 41.7%

13 min 24 s

Multi-page test

Improved Gargli

36/36 · 100%

21 min 31 s

Every condition had file and shell tools. Elapsed time includes implementation, automated repairs and checks during the session. Separate final grading is excluded. The experiment used Gargli Core commit 357b26a.

Method and grading evidence · HTML report source · download and open in a browser · Earlier comparisons

Getting started

Install Gargli from the vero-mcp catalog. In Codex, select gargli@vero-mcp. For a regular chat in Claude Desktop on macOS, open the Gargli desktop extension (MCPB) and select your project configuration. vero-mcp installation guide

To try the CLI, run these commands from the checkout on macOS or Linux with Python 3.11 or later.

python3 -m gargli --config examples/login/gargli.json register examples/login/checklist.json
python3 -m gargli --config examples/login/gargli.json snapshot

Docs

Guide

What it covers

MCP guide

Project setup in Codex and Claude Desktop, the three MCP tools, and the Codex Stop hook.

Design checks

Original brief, CMS exclusions, page comparisons and repair evidence.

Local QA

API and browser checks, visual comparisons, and reading results.

Repair policy (Korean)

How Gargli measures progress, detects regressions, and decides when to stop.

Product plan (Korean)

QA scope, development stages, and experiment results.

Apache License 2.0

License text · Copyright notice

Available Tools

3 tools
gargli_registerB

Register the complete inline checklist for this project. The operator selects checkers and the design sources in server configuration. The Core adds design checks from the original brief; use design_region for scoped feature cases. Returns contract and snapshot for the first submission. Preserve the criteria across repairs.

Inputs: checklist (required).

gargli_statusA
Read-only

Read only. With no arguments, return the active contract and current target snapshot for submission, with the task's time budget and cost of a fresh reservation. With preflight=true, inspect checker prerequisites and reservation shortfalls offline. With run_id or request_id, return that run and its verdict for the registered snapshot. External deployment observations apply only to the recorded run; status does not contact the service. After a lost submit response, look up the original request_id and stop if the outcome is uncertain.

Inputs: run_id, preflight, request_id.

gargli_submitA

Run the registered checks on the exact contract and snapshot. Wait for all edits and builds to finish first. Submit alone, await the receipt and keep the target unchanged until it returns. Give each changed submission a fresh request_id. Follow next_action: on revise, use repair_guidance.repair_priority first when present. Address its failing axis, check its close_when and related cases, and preserve passing interactions and keyboard access. If a requirement conflicts, describe the evidence and choose an independently fixable case. Use focus_items, measured location, and attached comparisons to fix the product. For a design repair, read design_diagnostic and compare the labeled reference, current and difference images. Use the measured pixel region, box offsets and control differences to choose an edit. Keep added accessible names. Address the reported role, order, state or interaction difference. Keep repair_guidance.protect_items passing and the criteria fixed. Call gargli_status with no arguments for its fresh snapshot and submit again in this conversation. On resubmit_stable_snapshot, confirm snapshot_recovery in current status and submit that snapshot once, without edits. On stop, report the blocker. For TIME_BUDGET, report the required and remaining reserved seconds to the operator. On report, verify current status and summarize.

Inputs: contract (required), snapshot (required), request_id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 3 tools

    Disambiguation4/5

    The three tools map to a clean lifecycle split: register writes the contract, submit runs the checks, status is explicitly read-only. The main blur is that submit's description embeds heavy instructions about calling status (request_id lookups, snapshot recovery), so an agent may hesitate about which tool returns the authoritative verdict, but the read/write boundary keeps them separable.

    Naming Consistency4/5

    All names share the gargli_ prefix and snake_case form, and register/submit are consistent action verbs. gargli_status is a noun rather than a verb, a minor deviation in an otherwise predictable pattern.

    Tool Count4/5

    Three tools is lean but matches a deliberately narrow workflow: set up the contract, run the checks, inspect state. Each tool earns its place, though the surface is on the thin side and leans on very long descriptions to carry workflow logic.

    Completeness3/5

    The register-submit-status loop covers the core cycle, and status handles both preflight and prior-run lookup. Gaps remain: no way to enumerate past runs or request_ids, no cancel/reset tool, and no separate way to fetch contract details or diagnostics other than through status/submit outputs.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables coding agents to submit a public preview URL and acceptance stories for independent QA, returning pass/fail evidence packs with screenshots and supporting human notes on failures.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables agents to turn written acceptance requirements into explicit browser-check plans, inspect web apps for supported locators and assertions, and run deterministic checks that capture evidence reports. Each requirement is linked to observed pass/fail/unverified evidence, with write actions and target origins restricted unless explicitly allowed.
      MIT