An agent in
your pocket.
Offline-first.
On-device persistent memory, agent-to-agent payments, and cryptographic spatial proofs. SQLite + sqlite-vec. One package, three modules, no network required.
import { MnemoPay } from "@mnemopay/mobile-sdk";
const sdk = MnemoPay.create({
agentId: "pocket-agent-01",
persistDir: ".mnemopay"
});
// Remember.
await sdk.memory.retain(
"user prefers pasta",
{ importance: 0.7 }
);
// Recall, offline.
const hits = await sdk.memory.recall({
text: "what does the user like?",
limit: 5
});
// Pay another agent.
await sdk.wallet.send({
to: "agent-42", amount: 0.05
});
“If the network is optional, the product is serious.”
The agent lives on the device.
The cloud is a nice-to-have.
Mobile AI apps that round-trip every decision through a server are slow, expensive, and brittle. MnemoPay Mobile compiles the memory, wallet, and spatial-proof layers into a single SQLite-backed runtime that answers in milliseconds regardless of signal. When you get a connection, it syncs. When you don't, it keeps working.
Memory. Money. Presence.
MemoryStore
Persistent vector memory with sqlite-vec. Retain, recall, decay, redact. Sub-50ms recall on 100K memories. Merkle-chained. PII redaction baked in.
- Cosine-similarity search, on-device
- Importance-weighted decay policies
- Tamper-evident receipts
- Optional
@xenova/transformersembeddings
WalletEngine
Agent-to-agent payments with Ed25519-signed intents. Settles offline against MnemoPay ledger when online. Supports micro-amounts for MCP-style billing. HITL approval gates built in.
- Offline-capable intent signing
- Spending caps + velocity limits
- Auto-reconciles when online
- Pairs with MnemoPay Agent Credit Score
SpatialProver
Cryptographic proof-of-presence, GridStamp-compatible. Captures multi-source fixes (GPS + IMU + cell + Wi-Fi) and produces a signed receipt the counter-party can verify.
- Multi-source sensor fusion
- Anti-spoofing consistency checks
- Merkle-chained trajectory log
- Settles via MnemoPay on verified presence
Built for
the phone, not the cluster.
The mobile SDK runs on the LongMemEval benchmark for long-context memory, on a consumer phone, without a network call. Scores in the 62–64% range against the same workload Mem0 claims 88%+ on — with a full order of magnitude less infrastructure.
Reproduce the numbersFive minutes.
No server.
The mobile SDK is a drop-in npm package. Works out of the box under React Native, Expo, Capacitor, and Node. Native bridges for iOS and Android ship with the package. No cloud account, no API key, no billing — until you want any of those.
# One package. Three modules.
npm install @mnemopay/mobile-sdk
# Optional: on-device embeddings
npm install @xenova/transformers
# React Native / Expo
npx pod-install # iOS
# Android auto-links.
const proof = await sdk.spatial.capture({
lat: 32.7767, lng: -96.7970,
event: "delivery_complete",
sources: ["gps", "imu", "cell"]
});
// Sealed, signed, offline-ok.
// → { id, sig, root, verified: true }
One trust layer.
Three surfaces.
MnemoPay SDK runs server-side. MnemoPay Mobile runs on the device. GridStamp runs on anything with a body. They share a wire format, a Merkle chain, and an Ed25519 key.
MnemoPay SDK
Agent Credit Score, payment rails, behavioral finance, full ledger. For cloud agents, backends, MCP servers.
npm i @mnemopay/sdk →
MnemoPay Mobile
On-device memory, wallet, and spatial proofs. SQLite + sqlite-vec. Offline-first. iOS + Android bridges.
npm i @mnemopay/mobile-sdk →
GridStamp
Cryptographic proof-of-presence for drones, AGVs, and inspection rigs. Six layers, one receipt.
npm i gridstamp →