What You’re Seeing
The live demo runs entirely in your browser - no API keys, no backend, no install. Left panel (Agent Feed): A simulated AI agent processes a stream of events - user preferences, news headlines, system events, and agent observations. Every 1.2 seconds, the agent generates a mock embedding and writes it to an in-memory Recall instance running in the browser. Right panel (Memory Inspector): The Inspector updates live as the agent writes. You’ll see:- Stats bar ticking up as memories are added
- Memory list with the latest memory appearing at the top
- Merkle Timeline growing with each write
- Verify badge showing the integrity state
Interacting with the Demo
Add Your Own Memory
Type any text in the input bar and click Send (or press Enter). The text gets embedded using a deterministic mock embedder and written to the collection. Your memory appears in the feed with a distinct marker.Query Mode
Click Query to toggle query mode. In this mode, typing text runs a similarity search against all stored memories and shows the top-5 results with their cosine similarity scores.The Tamper Demo
This is the most powerful demonstration of why cryptographic verification matters:- Click Tamper - this corrupts the most recent memory vector with garbage values
- Watch the Verify badge flip from ”✓ verified” to ”! unsynced”
- Click Restore - the original vector is restored
- The badge flips back to ”✓ verified”
Export
Click Export to download the full inspection state as a JSON file. This includes all memories, stats, and the complete Merkle history.Technical Details
- No WASM dependency - the demo uses a pure JS cosine similarity engine for maximum browser compatibility
- Mock embeddings - deterministic 64-dimensional vectors generated from text (same text = same vector)
- 50 pre-written events - cycled through by the agent loop
- Everything is ephemeral - refresh the page to start fresh