TensorChain

A record that can be checked, not just trusted.

TensorChain writes down each step between raw data and a finished model as a signed entry, linked to the step before it. This page explains what those entries are and what you can do with them.

The chain, link by link.

Six kinds of entry cover the path from data to model. Each one is signed, and each names what it was built on.

  1. Sourcewhere data comes from
  2. Licencewho may use it, for what
  3. Manifesta batch of file fingerprints
  4. Datasetsources chosen for one use
  5. Modelweights, by fingerprint
EntryWhat it is
SourceSomething you take data from: a folder, a bucket, a code repository, a crawl. Its owner registers it.
LicenceThe owner’s signed permission: this party may use this source, for these uses, until this date.
ManifestOne batch of fingerprints from a source, linked to the batch before it, so the order cannot be rewritten.
DatasetA set of sources at a moment in time, for one user and one use. It can only be created through the gate.
ModelTrained weights, identified by fingerprint, with the dataset it was trained on as its parent.
RevocationA signed decision to withdraw something, with a reason. Only its owner can make it, and it deletes nothing.

Prove: a receipt anyone can re-check.

Every entry carries the evidence it was made from. Checking it means re-running the proof from that evidence: the fingerprints are recomputed, the signature is verified, and everything it was built on is checked the same way.

AnswerWhat it means
validThe signature holds, the evidence matches, and nothing above it was withdrawn.
revokedThe proof still holds, but a source, a licence or a parent was withdrawn.
invalidA changed byte, a forged signature or a stolen key. Invalid always outranks revoked.

Gate: checked before training starts.

A dataset, and so a training run, is created only if every source passes. The check runs before your training code does. If it fails, your code never starts and you get the exact reason.

Every decision is recorded, allowed or refused, so you can show later that the check really ran.

Refused becauseCode your pipeline receives
The source was never registeredsource_unregistered
Nobody licensed it to youlicence_required
Licensed, but not for this useuse_not_licensed
The licence ran outlicence_expired
The licence was withdrawnlicence_revoked
The source itself was withdrawnasset_revoked
Its newest data was never recordedbatch_unattested

Trace and revoke: follow the chain both ways.

Because every entry names its parents, you can walk the chain in either direction. Start from a model and reach every file it learned from. Start from a source and reach every dataset and model built on it.

When a source’s owner withdraws it, you revoke it once. Everything downstream is flagged, the next training run on it is refused, and you get the list of what to retrain or pull.

The Models screen: two models, one usable and one revoked because its data was withdrawn
Two models in a demo account. The second was trained on a source that was later withdrawn.

Three ways in.

All three write to the same record, so a team can mix them.

The Python SDK

Two lines around your training loop. It fingerprints your data where it sits and runs the gate before your code.

Quickstart

The HTTP API

The same operations over HTTPS, for pipelines in any language. Keys carry scopes and expire.

The hosted API

The web app

Sources, datasets, models, impact and audit in a browser, plus your usage and your API keys.

The web app

Connect what you already use.

Connectors read a source and produce its fingerprints. The data itself is not copied to us.

A folder
Tested against real directories.
A git repository
Tested against real repositories.
Amazon S3
Built and tested against a stand-in client.
Hugging Face
Built and tested against a stand-in client.

Where it runs.

Your data, GPUs and weights stay on your machines. TensorChain holds the record: names, fingerprints, licences and signatures.

Hosted
The service at tensorchain.io, by invitation today.
On your laptop
The same record in one local file, for trying it out and for tests.
Large models, checked as they load
A 4.06 GB model was read in checked chunks, its chunk cache never above 64 MiB (the process peaked at 102 MiB). A changed byte is refused with its exact location.
On Sui, if you want it
Agent permissions, receipts, licence lanes and payment as Move contracts, on testnet only. TensorChain on Sui
On your own servers
A licence to run the service yourself is planned.

Read the mechanism in full.