Distributed inference, examined end to end.
How Xurcroh keeps a prompt from ever sitting whole on one machine: the mathematics, the runtime, the transport, the memory lifecycle and the limits, with every mechanism running in your browser.
Demonstration on its own page Open the laboratory Read the architecture
Live demonstration
Watch a question get shuffled, split into random pieces, sealed in three layers, routed through relays, computed inside enclaves, checked and put back together. It keeps running; then try your own text or drawing.
You ask
Prompt How is my prompt kept from the workers?
What leaves your device nothing yet
You get
- Answers checked
- 0
- Rejected
- 0
What each worker sees
- Worker (0,0)
- Worker (0,1)
- Worker (1,0)
- Worker (1,1)
Real numbers from this step: noise. A tick means the worker's signed report was verified.
Step 1 of 8 · Split. Your device shuffles its numbers for the first token and cuts them into two random pieces.
Why it matters Shuffling is a disguise; the random pieces are what hide your data. One piece alone is noise.
- ReadableHow is my prompt kept fro…
- Numbers—
- Shuffled—
- Two pieces—
- Sealed ×3—
- In enclave—
- Checked—
- Answer—
- Your device: The output as it forms. It is decoded from the four recombined results.
- Relay 1: What this relay sees: sealed bytes it cannot read.
- Relay 2: What this relay sees: sealed bytes it cannot read.
- Relay 3: What this relay sees: sealed bytes it cannot read.
- Worker (0,0): What Worker (0,0) sees: its pieces and its result, which are random numbers.
- Worker (0,1): What Worker (0,1) sees: its pieces and its result, which are random numbers.
- Worker (1,0): What Worker (1,0) sees: its pieces and its result, which are random numbers.
- Worker (1,1): What Worker (1,1) sees: its pieces and its result, which are random numbers.
- piece 0: One random piece of the input.
- piece 1: The other random piece of the input.
Simulation in your browser. The answer, picture and clip are prepared toy models, and the relays and enclaves are stand-ins inside this page; the share arithmetic, the three layers of encryption and the signature checks are real. Pace is set for viewing and measures nothing. The production engine is hardware-validated; this page is a teaching simulation, not a benchmark.
What is real here
Real, computed in this page
- Every token, picture step and clip pass is one matrix product. Its input is shuffled with a secret order, split into two random shares, four roles each multiply one input share by one weight share, and the four products are added.
- Every product is tested with a Freivalds check before anything is combined. “Tamper with a worker” changes one number by one, and that check rejects it.
- A piece of every step is wrapped in three layers of AES-GCM and passed through three relays, each removing one layer. The relays' screens show the bytes they receive, and “Alter a sealed packet” flips one bit, which the relay's authenticity check catches.
- Each worker signs a report over the hash of its code and a fresh nonce (ECDSA), and the device verifies it. “Swap a worker's software” changes that code, and the verification fails.
- “Whose eyes?” rebuilds what each party could work out from what it holds. What you read and see is decoded from the recombined result, including your own text and drawing.
Prepared or simulated
- No language or image model runs. Text comes from a lookup table that holds one prepared answer per prompt; pictures and the clip come from a small hand-built linear decoder driven along a prepared path from noise to the image.
- The three relays stand in for a Tor circuit. They are inside this page, so nothing here shows that the real network hides who you are.
- The enclaves are simulated. A real enclave's key is held by the processor and vouched for by its maker; here it lives in the page. Hardware attestation of workers has not been validated yet, and an enclave is one more layer, not proof.
- The four workers are four roles inside this page, not four machines. Arithmetic uses a 16-bit prime so that it stays exact at picture size; the engine works in a larger ring.
- Shuffling is disguise, not encryption. The pace is chosen for viewing and measures nothing.
Not shown
- How the real relay layers are keyed: see the onion laboratory and secure transport.
- Recovery when a worker fails: see the pipeline laboratory.
- Wiping memory after use: see the memory laboratory.
- What happens when workers pool their shares, and the limits of enclaves: see the threat model.
How hard is this to undo?
Sealing…
How hard is this to undo?
Computing the fingerprint…
How your data is protected
Seven layers, each one shown working on your own input, with what it relies on and where it stops.
See it work
Live demonstration
A prepared answer, picture and clip produced step by step on additive shares, with a 3D view of each step.
◎What the GPU host sees
A text, a picture, a clip and a sound cut into random pieces in your browser: what one host holds, and how the pieces add back.
◈How it is protected
Seven layers, each shown working on your input, with what it relies on and where it stops.
↳Laboratory
Eleven executable labs, each with an animated, rotatable 3D view of its state.
✓Verify a task trace
Check a signed Xurcroh task trace in your browser, without sending anything.
▦All animations
Every animated stage of the manual on one page.
Chapters
Introduction
Objectives, scope, terminology, and the client/controller/worker boundary.
02 · publishedResearch Foundations
Equivariance, private inference, QUIC, and confidential computing literature.
03 · limitationThreat Model
Trust boundaries, collusion, physical attacks, and residual leakage.
04 · derivedMathematics
Conjugation, normalization, attention, recurrence, proofs, and counterexamples.
05 · derivedSystem Architecture
The unified production runtime and its cross-language contracts.
06 · localModel Sharding
Checkpoint compilation, encrypted shard format, manifests, and strict loading.
07 · localInference Runtime
vLLM, SGLang, xDiT, batching, and pipeline execution.
08 · localSecure Transport
Rust QUIC, AEAD, replay windows, rotation, and onion metadata.
09 · limitationMemory Security
GPU/CPU lifecycle, KV caches, stream ordering, and zeroization limits.
10 · localDense Transformers
GQA attention, feed-forward networks, stage transitions, and decoding.
11 · localMoE Architecture
Expert permutation, MLA, constant-load dispatch, and side channels.
12 · localVision-Language
Gemma and Qwen boundaries, audio, IMRoPE, DeltaNet, and DeepStack.
13 · localImage Diffusion
Flux and Qwen-Image, AdaLN, joint attention, and local decoding.
14 · localVideo Generation
Wan and MiniMax, recurrent states, sparse attention, and decoding.
15 · localInteractive Laboratory
Executable conjugation, FWHT, pipeline, onion, MoE, diffusion, and memory labs.
16 · estimatePerformance
Complexity, analytical budgets, benchmarks, and measurement policy.
17 · localSecurity Evaluation
Attacks, defenses, local evidence, and unsupported assurances.
18 · localDeployment
Reproducible setup, worker provisioning, networking, and validation.
19 · localDeveloper Reference
Public SDK, source map, protocols, errors, and API contracts.
20 · limitationTroubleshooting
Failure signatures, debugging, and known constraints.
21 · publishedResearch References
Primary papers, standards, and official framework sources.
22 · localExperimental Reports
Reproducible numerical and integration experiments with actual outcomes.