Interactive Demo

xContinuity Playground

Explore cryptographic state continuity — serialize agent state, split into threshold shares, detect tampering, and apply incremental deltas — entirely in your browser.

Read the xContinuity whitepaper →

Step 1 Create Agent State

Build an agent state snapshot. Each key-value pair is serialized to binary TLV (type-length-value) format, then an HMAC-SHA256 checksum seals the entire payload.

Step 2 XorIDA Threshold Split

Split the serialized state into 3 shares using XOR-based information dispersal over GF(2). Any 2-of-3 shares can reconstruct the original. Each share alone reveals nothing.

Step 3 Threshold Reconstruction

Reconstruct the original state from any 2 shares. Drop one share entirely — the data survives.

Step 4 Tamper Detection

Flip a single byte in a share and attempt reconstruction. HMAC-SHA256 catches the corruption — fail-closed, no garbage returned.

Step 5 Incremental Delta Update

Change one field in the state. Compute the XOR delta between old and new serializations. Apply the delta to update shares without a full re-split.

How xContinuity works

01
Serialize
Agent state is serialized to compact binary TLV. HMAC-SHA256 seals each snapshot for integrity verification on every load.
02
Disperse
XorIDA splits state into n shares with threshold k. Any k shares reconstruct the original. Fewer than k reveal zero information.
03
Verify
Every reconstruction verifies HMAC integrity. Corrupted or tampered shares produce a typed error — fail-closed, never garbage.
04
Update
Incremental deltas compute XOR differences between states. Shares update in-place without a full re-split, bounded by compaction.