Integrate sovereign identity verification into any application. Five lines of code. Zero data stored. Real human presence.
git clone https://github.com/myshapeprotocol/sdk.git cd sdk && npm install
import { Pose } from "@mediapipe/pose";
const pose = new Pose({ locateFile: (f) => ... });
pose.onResults((results) => {
const frames = results.poseLandmarks;
// Each frame: 33 joints × { x, y, z, visibility }
});// 5 lines to integrate Presence import MyShape from "@/sdk"; const frames = [...]; // MediaPipe pose landmarks const timestamps = [...]; const receipt = MyShape.requestPresence(frames, timestamps); const isValid = MyShape.verifyReceipt(receipt); // Done. Your app now has presence verification.
curl https://www.myshape.com/api/health
{ "status": "healthy", "services": { "supabase": { "ok": true }, "wasm": { "ok": true } } }curl https://www.myshape.com/api/nodes/status
{ "total_nodes": 42, "genesis_nodes": 23, "genesis_remaining": 77, "active_nodes": 12 }curl https://www.myshape.com/api/identity?email=user@example.com
{ "handle": "SIG_XXXX", "status": "GENESIS_NODE", "pes": 0.87 }Full OpenAPI spec: openapi.json · Complete reference: /docs →
| Module | Method | Returns | Description |
|---|---|---|---|
| Presence | generatePresenceProof(frames, timestamps, opts?) | PresenceProofResult | Generate PoP + MP + EP + ZKP from MediaPipe frames |
| Presence | getEntropyScore(frames, timestamps) | number | null | Real-time PES for live UI feedback |
| Presence | requestPresence(frames, timestamps) | PresenceReceipt | Full flow: proof → submit → receipt |
| Proof | verifyLocalProof(proof, opts?) | VerificationResult | Verify ZKP locally with 5 checks |
| Proof | aggregateProofs(proofs[]) | AggregatedProof | Recursive proof aggregation over time windows |
| Proof | revokeDevice(reason?) | RevocationReceipt | Rotate device salt and revoke old identity |
| Verification | verifyPresenceProof(zkp, opts?) | VerificationResult | Full 6-rule verification (§9.4) |
| Verification | verifyPresenceReceipt(receipt) | boolean | Lightweight app-layer verification |
import MyShape from "@/sdk";
// MediaPipe pose landmarks from camera
const frames = [...];
const timestamps = [...];
const receipt = MyShape.requestPresence(frames, timestamps);
// → { zkp_hash, pes: 0.72, timestamp, session_id }
const valid = MyShape.verifyReceipt(receipt);
// → true if human presence confirmedimport { assessThreat } from "@/engine/threat-assessment";
import { computeFullPES } from "@/engine/presence-entropy";
const { pes, components } = computeFullPES(sstFrames, timestamps);
const threat = assessThreat(pes, components);
if (threat.overallVerdict === "human") {
// Allow access. Real human confirmed.
} else if (threat.overallVerdict === "suspicious") {
// Request additional verification
} else {
// Block. Likely synthetic.
}MyShape SDK is in active development. Join the Developer Cohort to get early access, influence the API design, and build the first wave of presence-verified applications.
Runtime engine output from myshape-demo CLI. Motion Signature Engine (128-dim, 4 feature groups) + Multi-Factor Scorer. All scores computed by the Rust core engine compiled to native binary.
{
"found": true,
"email": "protocol@myshape.com",
"node_handle": null,
"status": "GENESIS_NODE",
"registered_at": "2026-06-22T09:12:01.329Z"
}{
"total": 17,
"humans": 8,
"agents": 3,
"genesis_nodes": 4
}// Request
{ "email": "entity@protocol.io", "origin_domain": "myshape.com" }
// Response (201)
{
"node_token": "ms_a1b2c3d4e5f6...",
"node_handle": "SIG_4F7A2C1B",
"stage": "GENESIS_NODE_INITIALIZED"
}Choose a handle. Or leave it blank — we'll generate one.
This deploys a Protocol Anchor. Not an account. Not a user. A cryptographic node in the identity mesh.