Every model MatrixAI builds carries a receipt, a manifest and a package that reproduces. Somebody else — an auditor, a reviewer, a customer — can re-run the check without asking you for anything and without believing you.
This page is about what can be proved about a model — where it came from, with what data, what was measured and over what — and about nothing else. It does not say a model is good. The last block on this page lists what none of this demonstrates, and it is not small print: it is half the argument.
Inside the Studio it is the Audit phase (or the Verification view in the Workbench). From a terminal it is matrixai verify, matrixai attest, matrixai report --tripod and matrixai bom. The signature of a file you received is checked at /verificar. And with nothing installed at all, it is the three cases at /ai-use-cases, already run, with their literal output.
A model ships as a file and a figure: «94% accuracy». Everything that decides whether that figure means anything — which data, which split, which seed, which library version, whether the weights that travel are the ones that were trained — stays behind, in a notebook, in somebody's head, or nowhere.
That is fine until someone has to answer for it: an audit, a regulator, a customer asking how the model that decides about them was built. Then the figure is worth what the person saying it is worth.
A receipt is a small JSON document that records one thing that happened: this model, over this data, produced this number, here and now. It carries the digests (sha256) of the model and of the data, the environment it ran in, the metric with its direction and its tolerance, and — always — a line saying what it does not attest.
A level anybody can write for themselves means nothing, so the level is deduced from what the receipt carries — the assurance_level written inside the document is ignored on purpose.
| Level | What it holds up |
|---|---|
A0 | Unsigned, or signed only with Ed25519. Structured and readable, but the level does not prove whose it is: anyone can write one just like it. |
A1 | Signed with HMAC. It has not been altered between whoever issued it and whoever reads it. |
A2 | Signed and with reproducible evidence: the recipe and the dataset digest travel, so the result can be rebuilt. |
A3–A4 | Reserved for attested runtime environments and proofs this route does not give today. They are not claimed. |
The Studio you download signs with an Ed25519 key of its own, created the first time it is needed: there is nothing to configure. It is a second signature, next to the optional HMAC one, and what it promises is small: that this file was produced by one specific installation of MatrixAI and nobody has touched it since. Nothing more.
| Signed | What the signature covers |
|---|---|
| The study receipt | Its DSSE envelope, the type and the content together exactly as they are, next to the HMAC signature when there is one. |
| The attestation | The one of a model MatrixAI did not train, when it is made from the Studio. From a terminal it is opt-in: matrixai attest --ed25519-key. |
| The Living Report | The single HTML file that carries a study: the fingerprint (SHA-256) of the document as the browser reads it. The signature travels inside the file, outside the fingerprint it signs. |
What it does not sign: the model, the data, the exported package and the study dossier. The receipt names the first two by their SHA-256 digests, and it is the receipt that is signed; the package and the dossier do not carry this signature today.
firma/instalacion-ed25519.pem in the Studio's configuration folder, readable only by its owner. In the Docker package that folder is config, next to start.sh (it shows as /config inside the container).MATRIXAI_SIGNING_KEY_FILE points to your own key (an unencrypted Ed25519 PKCS#8 PEM). If it is set and cannot be read, the Studio does not fall back to its own key: it signs nothing and says why. Your own key is not renewed from the Studio. The README of the Docker package explains how to mount it.Whoever receives the file needs no Studio, no account and no trust in you:
matrixaistudio.org/verificar. The file is read and checked inside the page: nothing is uploaded, and the network tab stays empty while it works. It takes a receipt, an attestation or a Living Report and answers with one of exactly three phrases: valid signature, the signature does not match or could not be checked. The same page is also inside your MatrixAI Studio package and works with no internet at all, at http://localhost:8080/verificar.html (the package's own address); the copy on the web may be newer.pip install 'matrixai[firma]'
matrixai receipt verify receipt.json --pubkey public-key.pem
matrixai receipt pubkey public-key.pemThe second command answers the same three phrases; the third shows the fingerprint of a key so you can compare it. A Living Report can only be checked on the web page today: there is no terminal command for it yet.
A receipt carries its own public key, so it can be checked with nothing else — and that is also its weak point. When the key comes from the same file, a valid answer only says that nobody touched the file after it was signed: anyone could have signed it with a key of theirs and put that key inside. What ties a signature to an installation is the fingerprint of the key (the SHA-256 of its 32 raw bytes). Ask whoever sent you the file for theirs through another channel — a call, another email, a printed page — and compare it with the one the check shows. The signer finds it in Settings and next to the receipt in Results. Or paste the public key you got that way: the pasted key rules over the one in the file.
In Settings, Renew the key, after a confirmation. The fingerprint is the same on everything an installation signs, so it links those files to one another: whoever collects several of your reports can tell they come from the same installation. Renewing cuts that link for whatever you sign afterwards. The old key is archived on your machine, not deleted: what you signed before still comes out as a valid signature against its public key. The button is switched off, with its reason, if you use your own key (it is changed where you set it) and in the online demo.
matrixai verify rebuilds the package and reports four stages separately. Each one has its own verdict, and there are four possible verdicts — not two:
| Stage | What it checks |
|---|---|
manifest | Every artifact in the package matches the sha256 the manifest declares — and nothing travels that the manifest does not name. |
R1 | The dataset rebuilt from the recipe has the full sha256 the package declares. |
training | Training runs to completion with what the package carries inside. |
R3 | The metrics of that fresh run fall inside their declared tolerance. |
The interesting verdict is INCOMPARABLE. A package trained on data that cannot be rebuilt is an honest, common case — calling it FAIL would accuse it of being tampered with. So the report says «I could not compare this, and here is why», and the exit code lets a script tell the three cases apart without reading the JSON.
Every package carries a reproduce.json: the seeds (data, split, weight initialisation), the three epoch counts —declared, effective, actually run—, the artifacts with their digests, and the metrics with the dataset digest they were measured on.
You can bring an ONNX model from anywhere — PyTorch, TensorFlow, scikit-learn, a vendor — plus an evaluation CSV. It runs, it is measured, and the number is tied to the digests of both files in a receipt somebody else can re-check.
matrixai attest model.onnx --data eval.csv --target-column y \
--key <hex> --in-totoWhat that is worth, and what it is not:
TRIPOD+AI (BMJ, 2024) is the 27-item checklist required to publish a study that develops or validates a clinical prediction model. The measured reality is that most papers still do not meet it: it gets filled in by hand, at the end, from memory.
matrixai report <package> --tripod --locale en -o record.mdThe command invents nothing. It writes what the run already recorded, in the format that audience has to hand in — and it names the boxes it cannot fill.
| What TRIPOD+AI asks for | Where it comes from |
|---|---|
| Data source and sample size | the data recipe and artifacts.dataset.rows — and with a recipe, the source is declared synthetic, written as such |
| Predictors and excluded columns | field_types, field_ranges, excluded_identifiers |
| Split and randomisation | the three seeds and the contract's SPLIT |
| Modelling method and hyperparameters | the .mxai and the .mxtrain, both readable, both travelling in the package |
| Environment and versions | python, platform, packages, backend and device |
| Performance metrics | with the dataset digest they were measured on |
| Model availability | the package: ONNX + predict.py, usable with no MatrixAI installed |
| Missing data · Calibration · Subgroup fairness | Not computed today — and the record says so, one box at a time |
| Funding · Conflicts · Ethical approval · Intended use | A person writes these. The report asks for them; it does not invent them |
A receipt only a MatrixAI can read is a receipt worth nothing outside MatrixAI. So the same content also travels in the envelopes the rest of the world already reads:
| Standard | What it gives you |
|---|---|
| DSSE | the signature envelope, with the payload in base64 as the spec requires |
| in-toto | the same receipt as a Statement, with its subjects and their digests — matrixai attest --in-toto |
| CycloneDX 1.6 ML-BOM | the package's bill of materials, validated against the official schema and deterministic: its serial number comes from the manifest digest, not from a random one — matrixai bom |
| Sigstore | keyless signing with a verifiable identity — matrixai attest --sigstore |
--sigstore never falls back to HMAC in silence — if the library or the identity is missing it says which, and writes no receipt. Falling back to another signature would assume you do not care who answers for the document.You do not have to take any of this on trust. The gallery ships three models with their recipe, their training contract, the digests of everything, the package that predicts with no MatrixAI installed, and the verification report exactly as it comes out.