pages / example / grid_inference
canister coord://offchain/genie/program/grid_inference@v1/216165d542a967da · v1 · artifact root 0x216165d542a967da255ebbf23db4e57228525410a6e37de6bbb58151cbc437d2 · previous none (first version) · superroot at publish not sealed yet · follows taifoon_coord
sealed cases that reached it: 0 — sealed cases that reached this word (the store counts, never reads)
grid inference (a .genie program) in the studio: 13 symptoms, 13 fixes
// _GRID_INFERENCE_v1_ (owner 2026-10-29: "those 4x prepare for all of them … really reach the outside market for each and every … vast.ai etc"). // GPU inference as one program of the GRID, the rig's side of taifoon_mining.genie: a box brings an OpenAI-compatible engine through the // one door (POST /v1/grid/join kind gpu, meta.service inference, meta.model; never a price), passes the arithmetic battery at temperature // zero (three of three exact) and the model fingerprint, is listed at the broker's anchor for its class (sell: true), is PROVEN only with an // NVIDIA confidential-compute attestation and MEASURED otherwise, heartbeats its credit (free batch slots), takes paid calls inside it, and // every verified fill is a share. The outside market the same rig reaches beside us: the token aggregators (OpenRouter and the class) buy // tokens from our wall under one key; the rental venues (vast.ai, RunPod, Akash, io.net) rent the same card by the hour on their own rail — // a rig can be a host there while it is not in the pool, never both at once. Nothing here pays, signs or moves value. genie grid_inference v1 about "GRID inference: a rig brought once passes the battery and the fingerprint, is listed at the broker's anchor, proven by attestation or measured, credited and dispatched, every verified fill a share; the same rig reaches the aggregators and the rental venues the registers name" use venue community-gpu x402-base openrouter vast runpod akash ionet use chain eip155:8453 use vault vault:taifoon:kms use product taifoon.gpu sma.case use protocol taifoon_coord use guard owner-arm sign-owner-go idempotent-payouts sign-seller-payout day-cap recipient-filter agent rig is "one inference rig on the GRID: brought, battery-checked, fingerprinted, listed at the broker's anchor, proven or measured, credited, dispatched by its credit, every verified fill a share, its leg paid by claim" states brought battery fingerprinted listed proven measured credited dispatched filled verified shared accrued claimed recorded no_owner failed_battery wrong_model start brought final recorded no_owner failed_battery wrong_model failed no_owner failed_battery wrong_model read GET /v1/grid/join as door read GET /v1/grid/economics as economics read GET /v1/models as models move brought -> no_owner when rig.owner == null move brought -> battery when battery.exact == 3 hop offer_in op POST /v1/grid/join effect record move brought -> failed_battery move battery -> fingerprinted when fingerprint.model == rig.model hop classify effect record move battery -> wrong_model move fingerprinted -> listed hop listed venue community-gpu effect record move listed -> proven when attestation.ok == true effect record move listed -> measured move proven -> credited when rig.credit > 0 op POST /v1/grid/heartbeat effect record move measured -> credited when rig.credit > 0 op POST /v1/grid/heartbeat effect record move credited -> dispatched when job.model == rig.model hop hired venue x402-base op GET /v1/grid/work effect record move dispatched -> filled when fill.usage != null hop delivered effect record move dispatched -> credited move filled -> verified when fill.verified == true hop graded meter taifoon.gpu effect record move filled -> credited move verified -> shared hop legs effect record move shared -> accrued hop accrued effect record move accrued -> claimed guard sign-seller-payout idempotent-payouts day-cap recipient-filter via vault:taifoon:kms on eip155:8453 cap 5000000 USDC meter taifoon.gpu hop paid effect record move claimed -> recorded hop recorded op POST /v1/pipe/send effect record refuse no_owner "a rig without an owner wallet is not listed; the owner is who the shares accrue to" refuse failed_battery "the battery did not pass: three exact answers at temperature zero against your /v1/chat/completions, every pass" refuse wrong_model "the answer did not name the model you advertised; serve the model you joined with" refuse own_price "a rig never names a price; the broker prices the work at the anchor of its class" say brought "The rig is on the table: its https endpoint, the model it serves, its owner" say battery "The battery passed: three of three exact at temperature zero" say fingerprinted "Fingerprinted: the answer names the model advertised" say listed "Listed at the broker's anchor for its class; GRID per passing probe from now" say proven "PROVEN: an NVIDIA confidential-compute attestation stands behind the card" say measured "MEASURED: the battery stands behind the card; no attestation yet" say credited "Credited: free batch slots heartbeated; sent at most that" say dispatched "Sent a paid call of its model, inside its credit" say filled "Filled: the engine's own usage counts the tokens" say verified "Verified: a share on the job's meter line, served_by this rig" say shared "Shared: the provider leg of what the buyer paid, split by verified shares over the period" say accrued "Accrued to the rig owner's claim" say claimed "Claimed by proof from the ONE vault, inside its caps" say recorded "Recorded: the join, the fills, the shares, the envelopes" say no_owner "Refused: no owner wallet" say failed_battery "Refused: the battery failed; join again when the engine answers exactly" say wrong_model "Refused: the model did not match" next brought battery "Run the one command with your engine's https endpoint and the model name; the layer runs the battery itself" next listed credited "Heartbeat your credit: the engine's free batch slots; the pool never sends more" next measured proven "Serve from a confidential-compute card and attach the attestation: PROVEN ranks above MEASURED" agent outside is "the same rig on the outside market: tokens sold to the aggregators through our wall, the card rented by the hour on a rental venue while it is out of the pool" states offered aggregated hosted_vast hosted_runpod hosted_akash hosted_ionet recorded in_pool start offered final recorded in_pool failed in_pool read GET /v1/grid/wanted as wanted move offered -> aggregated when rig.listed == true hop listed venue openrouter effect record move offered -> hosted_vast when rig.in_pool == false hop listed venue vast effect record move offered -> hosted_runpod when rig.in_pool == false hop listed venue runpod effect record move offered -> hosted_akash when rig.in_pool == false hop listed venue akash effect record move offered -> hosted_ionet when rig.in_pool == false hop listed venue ionet effect record move offered -> in_pool move aggregated -> recorded hop recorded effect record move hosted_vast -> recorded hop recorded effect record move hosted_runpod -> recorded hop recorded effect record move hosted_akash -> recorded hop recorded effect record move hosted_ionet -> recorded hop recorded effect record refuse in_pool "a rig in the pool is not rented by the hour elsewhere at the same time: its credit is the pool's; leave the pool first" say offered "The rig can reach the outside market too" say aggregated "Its tokens reach the aggregators through our wall: one key, one bill, the broker's price" say hosted_vast "Rented by the hour on vast.ai as a host (Linux, Docker, the NVIDIA toolkit, open ports), on their rail" say hosted_runpod "Rented on RunPod as a host, on their rail" say hosted_akash "Leased on Akash as a provider, on their rail" say hosted_ionet "Rented on io.net as a worker, on their rail" say recorded "Recorded: where the rig earns outside" say in_pool "In the pool: its credit is the pool's" next offered aggregated "Nothing to do: a listed rig's tokens are already sold where the wall is sold" agent auditor is "the genie auditor: this program reviewed as a case by an agent with a key, graded by the four questions, armed on the owner's go" states asked read answered graded armed rejected start asked final armed rejected failed rejected move asked -> read when input.program != "" hop classify move read -> answered hop delivered asks spec_met unsupported_claim ending cheat_shaped assure 0.7 meter sma.case move answered -> graded hop graded move graded -> armed when grade.assured == true guard sign-owner-go owner-arm hop recorded effect record move graded -> rejected refuse not_assured "the review did not stand; the inference lane stays unarmed and the refusal names the question that failed" say asked "The program is on the table: its text, its IR, its delta" say answered "Your own agent answered the four questions" say graded "Graded and sealed as a case" say armed "Armed: the owner's go after a standing review" say rejected "Rejected: the review did not stand" agreement rig_share parties contributor buyer layer hops offer_in classify listed hired delivered graded settled legs accrued split paid recorded leg our_fee 20% over leg seller_share rest settle via vault:taifoon:kms meter taifoon.gpu protocol taifoon_coord venue x402-base term "one call, one settlement, no standing balance: the buyer pays on its venue, the provider leg is split by verified shares over the period and accrues to each rig owner's claim; the layer's fee is the one margin" term "a rig never names a price; the broker prices the call at the anchor of its class; GRID per passing probe is the bootstrap, never the payout" term "every payee is paid by claim from the ONE vault's distributor inside its caps; no person per payout" vault vault:taifoon:kms grid taifoon.gpu per_call 1 per_day 1000000 grid sma.case per_call 1 cap USDC eip155:8453 per_tx 5000000 per_day 20000000 knowledge symptom "the rig joined but earns nothing" caused_by "no heartbeat with credit, so nothing is dispatched to it" fixed_by "heartbeat the credit (the engine's free batch slots); the next call of its model is dispatched" fix "heartbeat the credit (the engine's free batch slots); the next call of its model is dispatched" opens hired symptom "a fill was served but is no share" caused_by "the fill did not verify: the battery failed, the replay disagreed or the usage was missing" fixed_by "serve with the engine's usage and the model you advertised; a replay at temperature zero must agree" fix "serve with the engine's usage and the model you advertised; a replay at temperature zero must agree" opens graded symptom "the rig is MEASURED, never PROVEN" caused_by "no attestation: PROVEN needs an NVIDIA confidential-compute attestation of the card" fixed_by "serve from a confidential-compute card and attach its attestation at join; the rank rises, not the rate" fix "serve from a confidential-compute card and attach its attestation at join; the rank rises, not the rate" opens listed rule "the battery is the proof: three exact answers at temperature zero every pass, the fingerprint, the engine's usage" rule "tokens are what we sell day one: the wall, keys, MCP and the aggregators at the broker's anchor" rule "hours are what the rental venues sell, on their rail, for a rig out of the pool" rule "the layer's own rigs join through the same door and are listed and metered the same way; their leg is retained, never paid out" policy "the ONE vault releases inside its caps per transfer and per UTC day until the owner raises them" door "Bring a GPU to the GRID" as rig takes owner: string endpoint: string model: string credit?: int product taifoon.gpu step brought "Name the rig: your wallet, the engine's https endpoint, the model it serves" next battery step battery "The layer runs the battery: three exact answers at temperature zero" next fingerprinted step fingerprinted "The answer names your model" next listed opens listed step listed "Listed at the broker's anchor for the class; GRID per passing probe" next measured step proven "PROVEN with an NVIDIA confidential-compute attestation" next credited step measured "MEASURED by the battery; attach an attestation to be PROVEN" next credited step credited "Heartbeat your credit: free batch slots" next dispatched step dispatched "A paid call of your model, inside your credit" next filled step filled "Filled with the engine's usage" next verified step verified "Verified: a share on the meter line" next shared step shared "The provider leg split by shares over the period" next accrued step accrued "Accrued to your claim" next claimed step claimed "Claimed by proof from the ONE vault" next recorded step recorded "Recorded: join, fills, shares, envelopes" handoff "Talk to Taifoon about your GPU" booking https://taifoon.io meet https://taifoon.io room genie-grid-gpu door "Reach the outside market with the same rig" as outside takes rig: string product taifoon.gpu step offered "Your rig is listed; where else can it earn" next aggregated opens aggregated step aggregated "Tokens: already sold to the aggregators through our wall" next recorded step hosted_vast "Hours on vast.ai: a host out of the pool" next recorded step hosted_runpod "Hours on RunPod: a host out of the pool" next recorded step hosted_akash "Leases on Akash: a provider out of the pool" next recorded step hosted_ionet "Hours on io.net: a worker out of the pool" next recorded step recorded "Recorded: where the rig earns outside" handoff "Talk to Taifoon about the outside market" booking https://taifoon.io meet https://taifoon.io room genie-grid-gpu-market door "Review the inference program with the genie auditor" as auditor takes program: string product sma.case step asked "Paste the program or name it" next read step read "Its IR and its delta are on the table" next answered step answered "Your own agent answers the four questions" next graded step graded "Graded and sealed as a case" next armed opens armed step armed "The owner's go" handoff "A human reviewer" booking https://cal.com/taifoon meet https://meet.jit.si room genie-grid-gpu-audit