Skip to main content

llm-d-validate

Roll out llm-d with confidence.

Demonstrate that your gateway, router, and engine behave as their APIs define.
Validation for deployed llm-d model serving stacks.

offline tests Python 3.10+ License: Apache 2.0

Quick start · Documentation · CLI reference · Test suites · Contributing

How it works

llmdv is a functional validation framework for deployed model-serving infrastructure. It validates gateways, routers and engines against explicit API and deployment expectations, identifies regressions across runs, and preserves the evidence needed to investigate failures. Built for llm-d, it also supports other OpenAI- and Anthropic-compatible stacks.

  • Validate behavior across the serving stack. Test each reachable layer through Chat, Completions, Messages and Responses, covering generation, streaming, tool calls, caching, headers and error handling.
  • Define the contract for your deployment. Profiles describe the model, topology, APIs and capabilities your stack should support. Select focused checks for a guide or build broader coverage for production requirements.
  • Detect regressions, investigate and track failures. Compare outcomes across layers and runs, trace failures to recorded checks and replayable evidence, and link known failures to issues so subsequent runs show whether they persist or their fixes have landed.
  • Integrate validation into your operations. Run checks locally or unattended, explore results in a dashboard, publish evidence to S3-compatible storage and deliver Slack notifications.
  • Extend coverage within one framework. Add profiles, test sets, cases, APIs, clients and assertions while retaining consistent execution, evidence, comparison and reporting.

Animated overview: a profile defines the test plan; llmdv sends requests to the reachable gateway, router and engine, records verdicts and evidence, and publishes results and notifications.

Quick start: test a deployed llm-d guide

You need Python 3.10+, Git, a deployed endpoint and a profile matching its configuration. Clone the release tag for its profiles and shared parts, then install the matching tool from PyPI. From a clean machine:

git clone --branch v0.1.3 https://github.com/llm-d-incubation/llm-d-validate.git
cd llm-d-validate
python3 -m venv .venv
source .venv/bin/activate
python -m pip install 'llm-d-validate==0.1.3'

For the released container or a source installation, follow the linked instructions.

Choose your profile from the guide catalog. For example, if you have the optimized-baseline Qwen3-32B/vLLM deployment with parsers, set its URL and run smoke:

export P=profiles/llm-d/optimized-baseline/vllm-qwen3-32b-parsers-standalone.yaml
export LLMDV_ROUTER_URL='https://your-router.example'
llmdv plan --profile "$P" --test-set smoke
llmdv verify --profile "$P" --test-set smoke --analyze

Replace the example URL with your reachable router. Smoke checks discovery and basic generation on the declared APIs; it does not establish full correctness. The command prints the run folder, containing summary.md and dashboard.html. Follow Getting started to interpret the result and run the profile's default coverage.

Test your own stack

Have another gateway, router or engine? Start with the custom-stack walkthrough. It uses a minimal profile and your endpoint's model ID, URL and credential. One reachable endpoint is enough; additional layers are optional.

What it tests

The suite catalog describes the API, model behavior, error-path and change-detection checks, and the declarations that enable them. A profile selects applicable checks; a passing subset says nothing about checks it did not execute. Guide defaults focus on the guide’s promises. Users can extend profiles, select broader suites and add cases as their API and production requirements grow. Plan that progression; --full-suite covers the existing library, not every possible API or production requirement.

Coverage by suite: APIs, model behavior, failure paths, contracts and change detection.

Learn more

Metadata

Release files for llm-d-validate 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llm-d-validate 0.1.3
File Size Uploaded Provenance Actions
llm_d_validate-0.1.3.tar.gz 848.9 kB With provenance Details for llm_d_validate-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llm-d-validate 0.1.3
File Interpreter ABI Platform Actions
llm_d_validate-0.1.3-py3-none-any.whl Python 3 none any Details for llm_d_validate-0.1.3-py3-none-any.whl

Total release size: 1.5 MB

Release files / llm_d_validate-0.1.3.tar.gz

Download URL llm_d_validate-0.1.3.tar.gz
Size 848.9 kB
Tags Source
SHA-256 checksum
How to use checksums
347797488d9886ecc780d0ab1eab4ab3892877180820055c50a8e436bbf0e044
BLAKE2b-256 checksum
How to use checksums
937157d69d5501fe17e1e1498ab746b1b154f3b60bcd31e20d48e68dfe0fe26f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Release files / llm_d_validate-0.1.3-py3-none-any.whl

Download URL llm_d_validate-0.1.3-py3-none-any.whl
Size 647.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1df0d7ff6b30486a5ad84f613fbefd4fdff0b9f6b539d5858a5882068564c27
BLAKE2b-256 checksum
How to use checksums
6860ae4a146b1ce353df722e552dfe991a2d836abe8f61debfe8e0d74543b2a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

Security for llm-d-validate 0.1.3

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for llm_d_validate-0.1.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page