emem how it works solutions reference demos verify docs github

emem.dev · demos

(same change at demos-ask-the-earth.html line 178)

Pick a demo.
Each one runs live and is verifiable end-to-end.

Every page below talks to the same hosted responder at emem.dev. No fixtures, no mocked endpoints. Receipts come back signed by the same Ed25519 identity (/.well-known/emem.json) and recomputing the fact CID in your own checkout returns byte-identical bytes.

Sparse worlds · gaussian splats from signed facts GET /worlds

Four explorable splat worlds: the Grand Canyon, the Bernese Alps, Cairo through a foundation model's eyes, the Rondônia deforestation frontier. Every gaussian is one cell of signed facts, nothing interpolated. Orbit them, click any splat to read its measured values and verify its signature, recolour by any signed band, or drape real satellite imagery underneath as reference. Scenes are baked once, hash-checked in your browser, and downloadable as standard 3DGS .ply/.splat with a receipts sidecar. Reproducible from examples/3d-worlds/make_splats.py, so an agent can build and sign its own.

live /v1/worlds click to verify one splat = one cell
Dense worlds · navigable, provenance-tagged splats GET /splats

A view-only demo of how far the signed substrate goes: three navigable worlds (the Grand Canyon, and the Tungabhadra and Srisailam reservoirs) of roughly 3.4 million surfels each. Geometry from a measured USGS 3DEP DTM, colour from Sentinel-2, and a signed Sentinel-2 time series you can scrub from 2018 to 2025. The same facts are densified with interpolation and diffusion super-resolution, but every splat is tagged measured, interpolated, or synthesized over an ed25519-signed measured trust root, and the invented layers peel back off. An Ask-Gemma panel reads the signed grid and cites facts without altering a splat.

live demo only measured / interpolated / synthesized signed trust root
Ask the Earth · real questions, signed answers GET /demos/ask-the-earth

Real-world questions an agent might pass to emem.dev, each wired to a live endpoint. Run them in order, watch the responder answer, every answer cites a fact_cid. Doubles as our browser-side smoke-test rig.

live /v1/elevation /v1/air /v1/hunt /v1/state
Multi-encoder consensus · Clay + Prithvi + Tessera POST /v1/triple_consensus

emem recalls a cell through three foundation encoders, measures each one's vintage-to-vintage change as 1 - cos(now, prev), and reports whether they agree something changed (two_of_three / all_three). No single model gets the last word. Runs live inside the find-similar page.

live /v1/triple_consensus agreement ensemble = rms
State cube · 1792-D voxel at a place GET /demos/state-cube

One endpoint, two views. view=encoder returns a single foundation embedding (Tessera 128-D, Clay/Prithvi 1024-D, Galileo 768-D). view=cube fuses all four encoders plus the sensor and derived bands into the full 1792-D voxel, with per-band coverage and full-fidelity extras when slots truncate Clay/Prithvi.

live /v1/state /v1/state_multi extras[]
Memory tokens · compose, paste, resolve POST /v1/memory_token · POST /v1/memory_token/resolve

One handle, emem:fact:<cell64>:<fact_cid>, that any pipeline can paste in chat, write to long-term memory, or quote across processes. The compose endpoint validates shape; the resolve endpoint single-trips back to the signed fact body on any responder that holds it. Card links to /integrations.md#memory-tokens for the curl + parse recipe (the POST endpoints themselves return 405 to a browser GET, by design).

live emem:fact: citation handle
Signed answer in four steps GET /demos/signed-answer

Resolve a place, recall a band, verify the receipt's Ed25519 signature in the browser, then reproduce the fact CID from a fresh call. The trust path of the protocol made visible.

live /v1/locate /v1/recall /v1/verify_receipt
Find similar · k-NN over a foundation embedding GET /demos/find-similar

Pick a place. emem returns the K nearest cells on Earth by cosine similarity over the 128-D Tessera foundation embedding, each one a signed fact with a scene thumbnail you can recall and verify. The same page runs a live triple_consensus at the query cell so you see whether the encoders agree, rather than one encoder's read alone.

live /v1/find_similar /v1/triple_consensus cosine k-NN
Trajectory · every vintage at one cell GET /demos/trajectory

One cell, one band, every vintage. The page resolves a place, pulls the time series, charts the line, and lists each tslot's individual fact CID so any single moment is independently citable.

live /v1/trajectory per-vintage fact_cid
Recall polygon · fan across a region GET /demos/recall-polygon

Pass a place name and a band. emem fans out across every cell inside the resolved polygon, returns a per-cell fact set + aggregate, and renders a heatmap with one signed receipt per cell.

live /v1/recall_polygon per-cell receipts region aggregate
Case-study gallery GET /gallery

Worked figures rendered live from the shared memory: walkability, flood exposure, urban heat, NDVI trajectories, deforestation hotspots, each an attested fact set with a signed receipt any agent or reader can verify.

live /v1/recall_polygon /v1/hunt /v1/trajectory
In-browser receipt verifier GET /verify or /verify/<fact_cid>

Paste any fact CID or receipt JSON; the verifier recomputes the BLAKE3 over the canonical CBOR, checks the Ed25519 signature against the responder pubkey, and shows pass or fail in the browser. No callback to emem.dev.

live blake3 ed25519 offline-safe
Corpus heartbeat (SSE) GET /v1/stream

Server-sent stream of signed corpus ticks: fact count, distinct cells, distinct bands, manifest CIDs. Each tick carries an Ed25519 signature over its preimage so a peer can verify the snapshot without trusting the wire.

live SSE signed-ticks
Agent benchmark GET /v1/benchmark · POST /v1/benchmark/grade

Five hand-verified items every agent should pass: two elevation recalls, one NDVI at a known algal-bloom cell, two find_similar neighbour cells. Submit answers, get a per-item score.

live recall find_similar
Corpus state stats GET /v1/corpus_state_stats

Signed snapshot of the live corpus: distinct cells, distinct bands, per-band fact counts (top first), manifest CIDs in force. Honest observability primitive, scanned-then-signed.

live observability

Want to write a new demo? The hosted surface is a stable URL contract; point an iframe, fetch, or MCP tool call at any path under /v1/*. Source for the page you're reading lives at web/demos-index.html; PRs welcome.