LLMQA

LLM Quality Assurance — evaluate models like software you can test

Open source · MIT licensed · v0.1

About LLMQA

LLMQA treats LLM quality the way engineering treats software quality: measurable, versioned, and gated. It exists so a model or prompt change can't silently degrade what you ship.

MIT License Python 3.11+ pip install llmqa Provider-agnostic ▶ Try the live dashboard

Why it exists

Shipping with LLMs means quality is a moving target — a new model version, a reworded prompt, or a fresh temperature setting can quietly break behavior that used to work. “Looks better” isn't a diff you can gate a deploy on. LLMQA makes that regression visible and blockable: define a golden dataset once, score every change against it, and fail CI when quality drops. It's the automated version of the kind of manual, case-by-case model evaluation that otherwise doesn't scale.

Who it's for

Anyone shipping a feature backed by an LLM — an app team that reworded a prompt, a platform picking between models, or a library author who needs a regression test for generated output. If you'd write a unit test for a function, LLMQA is how you write one for a model.

Three ways to run it

  1. 1
    CLI. pip install llmqa, then llmqa run --provider mock. Quality and regression gates return real exit codes for any pipeline.
  2. 2
    Web dashboard. Pick a dataset, watch runs stream in case by case, compare two providers, and track a quality trend — the same app you're reading this in.
  3. 3
    GitHub Action. A reusable, drop-in composite Action gates a pull request on quality, writes a JUnit report, and annotates failing cases inline on the diff.

What's included

Design principles

Open source & contributing

LLMQA is MIT-licensed and built in the open. Issues, ideas, and pull requests are welcome — new metrics, new providers, more golden-dataset cases, or docs. The deterministic mock providers mean the full test suite and CI gates run for free, without any API key.