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. From a clean machine:

git clone https://github.com/llm-d-incubation/llm-d-validate.git
cd llm-d-validate
./install.sh
source .venv/bin/activate

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.1

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.1
File Size Uploaded Provenance Actions
llm_d_validate-0.1.1.tar.gz 842.8 kB With provenance Details for llm_d_validate-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 1.5 MB

Release files / llm_d_validate-0.1.1.tar.gz

Download URL llm_d_validate-0.1.1.tar.gz
Size 842.8 kB
Tags Source
SHA-256 checksum
How to use checksums
94f4ef96788298d665a88efe22b30f96c33c2be8ad5344278b088f29df175d07
BLAKE2b-256 checksum
How to use checksums
15cee611ffb71741a11574bf60d159124f8f824b648e9b59d7caeba9c8722886
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 26, 2026.

Transparency log

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

Download URL llm_d_validate-0.1.1-py3-none-any.whl
Size 646.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f2d86f5f75b178fc07fbffed08ad5810438927b7106dd46f90dfd9febdca671
BLAKE2b-256 checksum
How to use checksums
82e120f0b8ced84da5bd31fb454c28ec627504d2ac561769b8dd9b0a3c9bc097
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 26, 2026.

Transparency log

Security for llm-d-validate 0.1.1

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.1.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 26, 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