Traceability and verification of language model generations

ReproBox records every generation in a signed, chained JSON manifest. The manifest describes the prompt, the output, the model, the runtime environment, the hardware and the parameters used. Independent tools can then verify data integrity and compare runs.

{
  "model_id": "HuggingFaceTB/SmolLM2-135M-Instruct",
  "input_sha256": "61d0388a4e3f385d…",
  "output_sha256": "7fa50bf4adb8b7f0…",
  "generation": { "do_sample": true, "sampling_seed": 42, "device": "cpu" },
  "runtime": { "torch": "2.7.1+cpu", "transformers": "4.52.4" },
  "hardware": {
    "model_name": "AMD EPYC 7763 64-Core Processor",
    "architecture": "x86_64",
    "logical_cores": 8,
    "torch_num_threads": 1,
    "relevant_flags": { "avx2": true, "fma": true, "avx512f": false },
    "gpu": null,
    "environment_control": "operator-owned"
  },
  "signing": {
    "backend": "vault",
    "key_id": "vault:transit/reprobox:v2",
    "algorithm": "ECDSA-P256-SHA256",
    "signed_at": "2026-09-27T08:12:45.318204Z"
  },
  "chain": {
    "index": 1,
    "prev_chain_hash": "0f9273cb4ecd1984…",
    "chain_hash": "5cd473caa298507c…",
    "algorithm": "ECDSA-P256-SHA256"
  }
}

How it works

01

Generation

The prompt is processed by a local model (Hugging Face, CPU or GPU) or by an OpenAI-compatible server: vLLM, Ollama, llama.cpp server.

02

Recording

A manifest is produced for each generation. It is added to a chain of SHA-256 hashes and signed with the instance key (ECDSA P-256 by default, or Ed25519).

03

Verification

The bundled tools check chain integrity and the signer's identity, compare two manifests and check compliance with internal rules.

Key features

Local or remote generation

Runs a Hugging Face model built into the image (CPU or GPU), or calls an OpenAI-compatible server (vLLM, Ollama, llama.cpp server).

Three generation modes

Greedy decoding, unseeded sampling or fixed-seed sampling. Each mode has its own expected level of reproducibility, which is stated in the manifest.

One JSON manifest per generation

Each generation produces a manifest describing the prompt, the output, the model, the runtime environment, the hardware and the parameters used.

Chaining and signing

Each manifest references the hash of the previous one and carries an ECDSA P-256 (default) or Ed25519 signature. Any later modification is detectable.

Manifest comparison

Compares two manifests by category: model, dependencies, code, runtime, hardware, reproducibility, parameters, remote backend and signing key.

Compliance checks

Checks manifests against rules defined by the organization in a YAML file, with a severity level for each rule.

See all 19 features

Generation modes

ReproBox distinguishes three generation modes. Each manifest states the level of reproducibility expected for the mode used.

ReproBox does not guarantee absolute reproducibility. It reduces and measures sources of variation in a given environment, and records the execution conditions so that they can be verified.

Reproducibility
Reproducible in an identical environment
Configuration
DO_SAMPLE=0

Default mode. The most probable token is selected at each step. With the same model, prompt and environment, the output is identical.

Corresponding manifest field:

"reproducibility_note": "greedy decoding: reproducible given identical model, runtime and hardware"

Use cases

Regulated industries

A verifiable record of AI processing, including the model and parameters used.

MLOps teams

Identification of changes (dependencies, hardware, runtime, parameters) between two runs whose outputs differ.

Audit and compliance

Verification of manifest integrity and origin, then of compliance with the organization's rules.

Self-hosting

Deployment on the organization's own infrastructure, with no dependency on an external service. Content can be encrypted.

Frequently asked questions

It depends on the mode. With greedy decoding, the output is reproducible in an identical environment. With a fixed seed, it is reproducible as long as the model, libraries and hardware are unchanged. With unseeded sampling, no reproducibility is claimed. The manifest states which case applies.

Locally, any Hugging Face model pinned to a specific revision. Remotely, any OpenAI-compatible server (vLLM, Ollama, llama.cpp server). In that case ReproBox records the endpoint and the model reported by the server; remote weights are not hashed.

By default, yes. When MANIFEST_ENCRYPTION_KEY is set, prompts and outputs are encrypted before signing. Hashes remain in plain text, so the chain can be verified without decryption.

No. ECDSA P-256 and Ed25519 signatures use standard formats and can be verified with OpenSSL 3 or libraries such as cryptography (the OpenSSL commands are documented and tested in the ReproBox repository). The chain verification tool only depends on the Python standard library and cryptography.

Partly. Locally, AMD (ROCm) is supported and has been validated on one architecture; CUDA requires rebuilding the image and has not been tested locally. With NVIDIA, the validated route is a remote OpenAI-compatible server (vLLM): ReproBox then records the endpoint, not the weights. GPU reproducibility is only declared in manifests after it has been measured on the target hardware.

Evaluate ReproBox in your environment

We can arrange a demonstration on your models and infrastructure.

Contact us