Getting started
The demonstration install for this checkout is the sequence below. It is the same sequence as Quickstart. The live site etalon.sh/get-started still documentspip install etalon==0.0.2, no clone, and a pack init that does not write
mock_endpoint.py. These pages match the website after this release, with
etalon-www#11. The fixture is a script, not model weights. An air-gapped
install is a different procedure: Offline install.
Python 3.11 or newer. Create a virtual environment and install this checkout:
etalon --version prints etalon 0.0.2. PyPI etalon==0.0.2 prints the same version and does not contain mock_endpoint.py. Install this checkout with pip install -e ., or build a wheel from this branch and install that file (python3 -m build, then pip install dist/etalon-0.0.2-*.whl). etalon pack init --from demo from that install writes the pack and mock_endpoint.py into ./demo-pack.
127.0.0.1 only and prints listening on http://127.0.0.1:8000/v1. Leave it running.
qualify prints the run directory. Exit 0 means a bundle was written. The decision on this model is QUALIFIED. Replace <run-id> with the directory name it printed.
verify prints bundle hashes match. report prints the path to report.html. Open that file in a browser.
pip install -e ".[dev]" adds pytest. pip install 'etalon[typesafe]' adds the
TypeSafe SDK. The demonstration pack does not declare a judge, so the base
install is enough here. python3 -m etalon is the same entry point when the
etalon script is not on PATH.
Coverage printed by qualify is value-presence. It is not a cross-product of
coverage cells. Exit 0 means the capture finished and a bundle was written.
The decision may still be NOT_QUALIFIED or INDETERMINATE. Exit 2 means
the endpoint did not complete the capture. A bundle is still written, and the
decision is INDETERMINATE.
inspect prints the pack, the decision, coverage, critical-event count,
valid_until, hash integrity, and each requirement row. verify checks the
bundle bytes. report with no --output prints the existing report.html
path and does not rewrite the bundle.
Open a report without installing
The repository includes two finished bundles. Open either file in a browser:- examples/sample-run/report.html —
QUALIFIED - examples/sample-run-broken/report.html —
NOT_QUALIFIED
etalon verify examples/sample-run recomputes that bundle’s
hashes. The command prints bundle hashes match and signature: unsigned.
Check whether the fingerprint is still current
check re-reads the endpoint and the inputs you pass. It does not re-score
the corpus.
Re-supply every recorded input. Exit 0 means each captured trigger value was
supplied again and matches:
etalon check ./evidence/<run-id> --endpoint http://127.0.0.1:8000/v1 alone does not
exit 0. Recorded trigger values that were not supplied again are not
re-observed, and that changes the exit by the trigger’s severity. Exit codes
and the other flags are in the CLI reference.
Other fixture models
--model selects a scripted profile. Packs lists each model
id and the decision it produces. Examples:
Your own endpoint
Keep the quickstart install. Change--endpoint and --model to the
deployment you intend to test, and choose --max-tokens and any --extra-body
for that deployment. serving.yaml in the demo describes the local fixture
(engine: etalon-mock). Passing it as the serving description of Ollama or
another stack records the wrong engine. Omit --serving-config, or pass a file
that describes the stack you ran. Missing weight identity stays unavailable
unless you pass --model-index. The demonstration pack declares no judge.
Contact-routing example
examples/contact-routing is the public routing fixture used by
Customer test packs. It is not the commercial
contact-routing pack. It declares a TypeSafe judge. Without
TYPESAFE_API_KEY the capture can still finish and the decision is
INDETERMINATE. See Packs and
TypeSafe judge.
Run the container
The Dockerfile builds an image that runs as the non-root useretalon
(uid 10001). The working directory is /app, and two volumes are declared:
/app/packs for packs and /app/evidence for run output. Nothing else in
the image is writable. The entrypoint is etalon, so arguments after the
image name are CLI arguments.
Published tags ghcr.io/coyos-ai/etalon:latest and
ghcr.io/coyos-ai/etalon:0.0.2 are the current release. This branch does not
publish those tags. Their pack init does not write mock_endpoint.py. The
fixture steps below use an image you build from this checkout, not those tags.
- On Linux the container writes as uid 10001. If the host
evidencedirectory is not writable by that uid, add--user "$(id -u):$(id -g)"so files are created as you. Docker Desktop on macOS and Windows maps file ownership for you. --network hostis a Linux Docker feature. On Docker Desktop, start the fixture with--host 0.0.0.0and point--endpointathttp://host.docker.internal:8000/v1instead.
mock_endpoint.py. Copy it
into the mounted packs directory, then validate it:
pack init writes packs/demo/mock_endpoint.py. Start it on the host:
127.0.0.1, so the container needs the host network to
reach it:
./evidence/<run-id> on the host. Against a real
deployment, drop --network host and pass the endpoint URL the container can
reach. The runner sends no telemetry. The demo pack declares no judge, so
this run contacts only the model endpoint. A judge pack also contacts its
declared judge transport; see Judges.
ghcr.io/coyos-ai/etalon:latest and :0.0.2 remain the published 0.0.2
images. They can run qualify against an endpoint you already have. They are
not the image built above, and their pack init does not write
mock_endpoint.py.
Progress and interrupted captures
During capture, the CLI prints progress at least every five seconds, including elapsed time and an approximate ETA once responses arrive. A slow first request still produces a heartbeat. A separateRUN_ID.inprogress/ directory contains
a fingerprint, state, and an fsynced captures.jsonl journal. Each completed
response is appended before progress advances, with the existing secret scrubber.
The journal contains case data and belongs inside your deployment boundary.
It is a recovery checkpoint, not finalized qualification evidence. On success,
RUN_ID/ contains the normal verifiable bundle and the journal is marked finalized.
Interrupted checkpoints are retained. Continue one with the same output
directory, run id, pack, endpoint, and other qualify flags:
captures.jsonl and continues the rest.
A missing checkpoint, a finished run directory, a finalized checkpoint, a
mismatched pack or invocation, or a corrupt journal is refused. A journaled
transport error is not retried. See CLI reference for the
exact flags and failure messages. Do not combine captures across configurations.