Skip to content
Manual
Research manual · interactive teaching simulations

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

Simulation · toy models · real arithmetic and encryption

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.

Whose eyes?

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.

  1. ReadableHow is my prompt kept fro…
  2. Numbers—
  3. Shuffled—
  4. Two pieces—
  5. Sealed ×3—
  6. In enclave—
  7. Checked—
  8. Answer—
  • readable: your device, verified results, checked enclaves
  • random pieces and the workers that hold them
  • sealed: encrypted on the way through the relays
  • something that failed a check
  • 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.
Try to break it:

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 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.

  1. SplitNo worker gets your data
  2. SeparateNo operator holds a matching pair
  3. EnclaveThe machine's operator cannot look in
  4. CheckWrong answers are caught
  5. Seal and routeThe network sees only sealed bytes
  6. WipeNothing is left in memory
  7. ProveYou can check it yourself

Take the tour

See it work

Chapters

01 · derived

Introduction

Objectives, scope, terminology, and the client/controller/worker boundary.

02 · published

Research Foundations

Equivariance, private inference, QUIC, and confidential computing literature.

03 · limitation

Threat Model

Trust boundaries, collusion, physical attacks, and residual leakage.

04 · derived

Mathematics

Conjugation, normalization, attention, recurrence, proofs, and counterexamples.

05 · derived

System Architecture

The unified production runtime and its cross-language contracts.

06 · local

Model Sharding

Checkpoint compilation, encrypted shard format, manifests, and strict loading.

07 · local

Inference Runtime

vLLM, SGLang, xDiT, batching, and pipeline execution.

08 · local

Secure Transport

Rust QUIC, AEAD, replay windows, rotation, and onion metadata.

09 · limitation

Memory Security

GPU/CPU lifecycle, KV caches, stream ordering, and zeroization limits.

10 · local

Dense Transformers

GQA attention, feed-forward networks, stage transitions, and decoding.

11 · local

MoE Architecture

Expert permutation, MLA, constant-load dispatch, and side channels.

12 · local

Vision-Language

Gemma and Qwen boundaries, audio, IMRoPE, DeltaNet, and DeepStack.

13 · local

Image Diffusion

Flux and Qwen-Image, AdaLN, joint attention, and local decoding.

14 · local

Video Generation

Wan and MiniMax, recurrent states, sparse attention, and decoding.

15 · local

Interactive Laboratory

Executable conjugation, FWHT, pipeline, onion, MoE, diffusion, and memory labs.

16 · estimate

Performance

Complexity, analytical budgets, benchmarks, and measurement policy.

17 · local

Security Evaluation

Attacks, defenses, local evidence, and unsupported assurances.

18 · local

Deployment

Reproducible setup, worker provisioning, networking, and validation.

19 · local

Developer Reference

Public SDK, source map, protocols, errors, and API contracts.

20 · limitation

Troubleshooting

Failure signatures, debugging, and known constraints.

21 · published

Research References

Primary papers, standards, and official framework sources.

22 · local

Experimental Reports

Reproducible numerical and integration experiments with actual outcomes.

Choose your language

All languages are equal. Pick the one you want to browse in.

Europe

Middle East & North Africa

South Asia

Southeast Asia

East Asia

Central Asia & Caucasus

Africa

Oceania

Constructed & Classical