Confidential Compute

User guide · Buyer

Buyer quick start

Buy the result of a defined task, not the data behind it. You receive a group result with differential privacy noise and a signed receipt you can check without trusting us.

Try it in the live demoFull buyer chapter

Goal

Get the result of one approved task, for example the average daily runtime of a fleet for one day, and be able to prove where it came from: which program computed it, under which policy, inside which environment, and that it is in the transparency log.

Before you start

  • A buyer account in a tenant. In the live demo, sign in and choose a buyer under View as.
  • For offline verification: Python 3 with the cryptography package, tlay_verify.py, and the trust anchors pinned from a source other than the platform, such as the keys we publish.
  • For a result sealed to you: your own result key, which never leaves your computer.

Steps

  1. Request a purchase in the Marketplace. The price is fixed in advance from the public roster size N; a simulated prepayment is held in escrow. Details
  2. Wait for approval. A request grants nothing until a tenant admin approves it.
  3. Run the task in Buyer result, or subscribe with auto-run so it starts after the day is sealed. Details
  4. Read the result. The card gives the noise size and the labels (synthetic data, simulated or attested security, simulated payment). A model trained with trust-tier weights also lists each tier’s weight and how many training devices were in it, as their owners stated.
  5. Check a model against your own sites. A model released with training coverage shows how many training devices fell in each range of their 7-day average. Under “Try the model on a site”, type one site’s seven days: the page computes the forecast from the released parameters, without sending anything, and warns if the site is in a range the model saw few or no devices in. Offline, python -m tlay_client.apply_model model.json --days … gives the same answer.
  6. Optional: adapt a linear model to your own fleet. With a few weeks of your own units’ daily values, python -m tlay_client.adapt_model model.json --csv own_history.csv --out adapted.json fits the model to them on your machine and checks it on your own later days. It keeps the adapted model only if it is better there and you have at least 10 units; otherwise it keeps the released one. Nothing is sent, and the adapted model has no receipt: it is yours.
  7. Export the result bundle and verify it on your own machine: python3 tlay_verify.py tlay-result-rel_….json --anchors pinned.json --strict, or in your browser on Verify a result. Details
  8. Optional: automate with an API key (results:read, and jobs:run to start tasks). See the developer quick start.

What success looks like

  • The job moves through reserved, running and committed to settled, and the result card shows a value with its noise size.
  • The offline verifier prints PASS for the signature checks and the transparency inclusion. In the demo the attestation check reads SIMULATED, and --strict fails on purpose: there is no hardware isolation there.
  • Your statement shows the escrow released to contributors as Simulated payment.

Common refusals

CodeWhyWhat to do
NOT_A_RESULT_RECIPIENTThe result is sealed to named buyers and you are not one of themAsk the tenant admin to name you in the next policy
SCOPE_ALREADY_RELEASEDThis cohort and day already has its one releaseRead the published result; it is never computed twice
RESULT_NOT_COMMITTEDThe release is not committed yet, so there is no bundleWait for the job to finish
API_KEY_SCOPE_MISSINGYour API key lacks the scope, for example jobs:runCreate a key with that scope

All codes: FAQ and error codes.

Withdrawals and failures

  • If a request is rejected or the task never produces a result, the escrow is returned.
  • A run that fails after its budget was reserved ends as failed and is not run again; the budget stays spent, so no one can retry until the noise averages out.
  • An owner who withdraws consent before a day is sealed is counted as 0 that day; a published result never changes.
  • What you do not get, by design: any single device’s data, or how many devices took part.