Skip to main content

Etalon

License: Apache-2.0 pytest PyPI ghcr.io Python

Website: etalon.sh · Docs: docs.etalon.sh · Source: github.com/coyos-ai/etalon

Etalon is an open-source runner that produces qualification evidence for a specific self-hosted model deployment. It runs a versioned pack against an OpenAI-compatible endpoint on your network and writes an evidence bundle: deployment fingerprint, raw inputs and outputs, case results, coverage, a three-state decision (QUALIFIED, NOT_QUALIFIED, INDETERMINATE), and a self-contained HTML report. The runner sends no telemetry. Deterministic packs contact only the configured model endpoint. Judge packs also contact their declared judge transport, which is external TypeSafe Jev when a pack selects it; a local --judge-endpoint keeps judging on your network (see Judges).

Etalon does not determine that a regulation, contract, or internal control has been met. It records what was evaluated, under which configuration, and how the pack's own policy read the scores.

Install

Python 3.11 or newer.

pip install etalon

Or run the container from GitHub Container Registry:

docker run --rm -it \
  -v "$(pwd)/packs:/app/packs" \
  -v "$(pwd)/evidence:/app/evidence" \
  ghcr.io/coyos-ai/etalon:latest \
  --help

pip install 'etalon[typesafe]' adds the TypeSafe judge transport. An air-gapped install from a hashed wheelhouse is documented in Offline install.

Quick start

The repository ships a synthetic demo pack and a scripted local fixture, so you can produce a bundle with no model weights and no external service.

git clone https://github.com/coyos-ai/etalon.git && cd etalon
python3 -m venv .venv && source .venv/bin/activate
pip install -e .

# terminal A: fixture endpoint, listens on 127.0.0.1 only
python3 examples/mock_endpoint.py --port 8000

# terminal B
etalon pack validate examples/demo-pack

etalon qualify \
  --endpoint http://127.0.0.1:8000/v1 \
  --pack examples/demo-pack \
  --serving-config examples/demo-pack/serving.yaml \
  --system-prompt examples/demo-pack/system_prompt.txt \
  --model etalon-demo-baseline \
  --operator "Demo Operator" \
  --output runs/

# use the run directory that qualify printed
etalon inspect runs/<run-id>
etalon verify runs/<run-id>
etalon report runs/<run-id>

qualify exits 0 when a bundle was written, whatever the decision. Swap --model etalon-demo-quantized for a NOT_QUALIFIED run, or etalon-demo-error for INDETERMINATE; the full fixture table is in Packs.

Without a checkout, etalon pack init ./my-demo --from demo copies the bundled demo pack out of the installed package, ready to edit and point at your own endpoint.

No install at all: open examples/sample-run/report.html (QUALIFIED) or examples/sample-run-broken/report.html (NOT_QUALIFIED) in a browser.

Container

The image ghcr.io/coyos-ai/etalon is built from the Dockerfile in this repository. It runs as the non-root user etalon (uid 10001) with working directory /app, and declares two volumes: /app/packs for packs and /app/evidence for run output. The entrypoint is etalon, so arguments after the image name are CLI arguments. Tags follow releases (0.0.2, 0.0, latest); edge tracks main.

mkdir -p packs evidence

# copy the bundled demo pack into ./packs and validate it
docker run --rm -v "$(pwd)/packs:/app/packs" \
  ghcr.io/coyos-ai/etalon:latest pack init /app/packs/demo --from demo
docker run --rm -v "$(pwd)/packs:/app/packs" \
  ghcr.io/coyos-ai/etalon:latest pack validate /app/packs/demo

Qualifying through the container against the local fixture, and the notes on file ownership and host networking, are in Getting started. docker build -t etalon . builds the same image from a checkout.

What you get

A run directory is a verifiable bundle: manifest, deployment fingerprint, captured inputs and outputs, per-case results, metrics with confidence intervals, coverage, the decision, requalification triggers, the HTML report, and hashes.json over all of it. etalon verify recomputes the hashes and fails closed on any change. etalon check re-reads the deployment and tells you whether the recorded fingerprint is still current. etalon compare puts two bundles side by side.

Optional Ed25519 signing (etalon keygen, etalon sign, etalon verify --require-signature) and a GitHub Action that fails a deploy job on a missing or altered bundle are described in Signing.

Commands

etalon pack init <dir> --from demo
etalon pack validate <pack>
etalon qualify --endpoint URL --pack DIR --operator NAME --output DIR [--resume --run-id RUN_ID]
etalon inspect <run>
etalon verify <run> [--public-key KEY --require-signature]
etalon report <run> [--output FILE]
etalon check <run> --endpoint URL
etalon compare <run-a> <run-b>
etalon keygen | sign | export

Flags, exit codes, and the decision rules are in the CLI reference and How qualification works.

Documentation

The operator guide lives in docs/ and is published at docs.etalon.sh:

Development

pip install -e ".[dev]"
pytest

Direct dependencies are pinned in pyproject.toml; the hashed lock in requirements.txt is what CI and the offline install use. The packs checked in under examples/ are public synthetic fixtures.

Language

Say "qualified under pack X", "evaluated against methodology Y", "evidence generated by runner Z". Do not write that a run is a legal determination or that a regulation has been met.

License

Apache-2.0. Copyright Coyos d.o.o.

Metadata

Release files for etalon 0.0.2

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

Source distribution (sdist)

Source distribution for etalon 0.0.2
File Size Uploaded Provenance Actions
etalon-0.0.2.tar.gz 272.5 kB Without provenance Details for etalon-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for etalon 0.0.2
File Interpreter ABI Platform Actions
etalon-0.0.2-py3-none-any.whl Python 3 none any Details for etalon-0.0.2-py3-none-any.whl

Total release size: 420.9 kB

Release files / etalon-0.0.2.tar.gz

Download URL etalon-0.0.2.tar.gz
Size 272.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9c18c8191b1d492f3f82358ab7fee9beca1ae60e24a08f1c3f69fc8cc14e9129
BLAKE2b-256 checksum
How to use checksums
ab2ae3d0fc95c736c038850bae1e8a02b9cc87d5d8e170e24ea13efe3638d768
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / etalon-0.0.2-py3-none-any.whl

Download URL etalon-0.0.2-py3-none-any.whl
Size 148.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c060c43f4fa0996c1fa46c61ede09b52b397cd6696cc79122196b6ef90ce34c8
BLAKE2b-256 checksum
How to use checksums
2bb9314ab41a35ae6fc8ec54617454eb080b6e5d19b718981681d63ca38c044c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for etalon 0.0.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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