Mechanistic interpretability that ships: MAIR-backed evidence bundles, receipts, and comparison packets
Project description
mech-lab
Mechanistic interpretability that ships.
Architecture-agnostic IR · Sheaf holonomy · SLSA L3 provenance
mech-lab produces Evidence Bundles, Receipts, Replay Packs, and Comparison Packets that other engineers can verify offline. The public trust anchor is concrete: the native Qwen3.5 lane runs through mechlab and emits MAIR-backed artifacts.
Install
pip install --pre mechlab-sdk
Quickstart
mechlab demo --output-dir artifacts/mechlab-demo
mechlab report artifacts/mechlab-demo/mair_manifest.v1.json --kind release-summary
import mech_lab as ml
bundle = ml.demo(output_dir="artifacts/mechlab-demo")
print(bundle.manifest_path)
print(ml.report(bundle))
What You Get
- Evidence Bundle:
mair_manifest.v1.jsonplus required MAIR-backed run artifacts - Receipt:
assurance_receipt.v1.json - Replay Pack: analyzed MAIR bundle with hook validation and intervention outputs
- Comparison Packet:
backend_comparison.v1.json
Real Model Proof
- native
qwen3_5runtime proof is complete through the publicmechlabfacade - the validated rerun used the real
Qwen/Qwen3.5-2Bcheckpoint - the validated host-local rerun used a documented CPU override after
device:autofailed before artifact emission on the recorded machine
Public Contract
- package name:
mechlab-sdk - CLI:
mechlab - Python namespace:
mech_lab - disk contract: MAIR-backed artifacts only
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mechlab_sdk-0.1.0a2.tar.gz.
File metadata
- Download URL: mechlab_sdk-0.1.0a2.tar.gz
- Upload date:
- Size: 68.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c15f5dee2643546d15235d9b05a59fe40aad8e9b2eb3d7e4cb048fc72289415
|
|
| MD5 |
7d44554ca708da962dacf87176660562
|
|
| BLAKE2b-256 |
d644e9ffaf07e6ce317c0c59f6b62c4c827e7e5f814a7e57962e2675631e001d
|
Provenance
The following attestation bundles were made for mechlab_sdk-0.1.0a2.tar.gz:
Publisher:
release.yml on mech-lab/mech-lab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mechlab_sdk-0.1.0a2.tar.gz -
Subject digest:
7c15f5dee2643546d15235d9b05a59fe40aad8e9b2eb3d7e4cb048fc72289415 - Sigstore transparency entry: 1222714337
- Sigstore integration time:
-
Permalink:
mech-lab/mech-lab@762feddd0c9d9fd4bb558e0963f83f5cadd531af -
Branch / Tag:
refs/tags/v0.1.0a2 - Owner: https://github.com/mech-lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@762feddd0c9d9fd4bb558e0963f83f5cadd531af -
Trigger Event:
push
-
Statement type:
File details
Details for the file mechlab_sdk-0.1.0a2-py3-none-any.whl.
File metadata
- Download URL: mechlab_sdk-0.1.0a2-py3-none-any.whl
- Upload date:
- Size: 89.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc62572a6fbc74fe63ca21a28ac3384889f572c6885f4885757c82e18b743865
|
|
| MD5 |
2a624c5dc06536ff32e70183761bc207
|
|
| BLAKE2b-256 |
554fbac67724af39a3ce6b042e5e13649549bfba8fd42aecdc966360d3252049
|
Provenance
The following attestation bundles were made for mechlab_sdk-0.1.0a2-py3-none-any.whl:
Publisher:
release.yml on mech-lab/mech-lab
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mechlab_sdk-0.1.0a2-py3-none-any.whl -
Subject digest:
dc62572a6fbc74fe63ca21a28ac3384889f572c6885f4885757c82e18b743865 - Sigstore transparency entry: 1222714440
- Sigstore integration time:
-
Permalink:
mech-lab/mech-lab@762feddd0c9d9fd4bb558e0963f83f5cadd531af -
Branch / Tag:
refs/tags/v0.1.0a2 - Owner: https://github.com/mech-lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@762feddd0c9d9fd4bb558e0963f83f5cadd531af -
Trigger Event:
push
-
Statement type: