Quickstart
Run your first private inference on Omyra and read its receipt.
This walkthrough runs a single confidential inference and prints the receipt that proves what ran.
Pre-launch
APIs below illustrate the intended developer experience. Names and signatures are targets, not a stable release.
1. Install the SDK
npm install @omyra/sdk
2. Run a confidential inference
import { Omyra } from "@omyra/sdk";
const omyra = new Omyra({ network: "devnet" });
const result = await omyra.compute.run({
model: "omyra/base-1",
input: "Summarize my notes from this week.",
});
console.log(result.output); // the model's answer
console.log(result.receipt); // chained, verifiable proof
3. Inspect the receipt
Every inference returns a receipt binding the model, input hash, output hash, TEE attestation, and a signature. See Verify a receipt to check it independently.
| Field | Meaning |
|---|---|
model | Which model ran |
inputHash | Commitment to the input |
outputHash | Commitment to the output |
attestation | TEE enclave measurement |
signature | Provider signature over the above |