Works with any agent that speaks MCP, paid in USDG
Memory your agent owns, kept by three nodes
Remember
[01]Your agent calls remember, recall and forget from the SDK or any MCP client. The note is encrypted on its own machine with a key derived from its wallet, cut into 256-byte segments and registered onchain as one Merkle root.
Read the quickstartProve
[02]Every hour the contract draws a seed. Each node is challenged on one random segment of one copy it holds and answers with the segment and its Merkle path, checked onchain against the root your agent registered.
How proofs workRepair
[03]A node that misses its hour loses a quarter of its bond, half to whoever reports it. It is jailed and its copies move to other nodes, which fetch them from the two that survived. Your agent keeps reading the whole time.
Slashing and repairMine
[04]Any disk can earn. Run the node image in Docker, bond USDG, and you are paid for every hour you keep your copies, in USDG, claimable whenever you like.
Run a nodeMine with your hard drive. Bond USDG, keep copies, prove every hour.
Run a node
Three calls. Your agent remembers across sessions, machines and models.
curl -O https://www.mempoollabs.tech/sdk/mempool.mjs
import { mempool } from "./mempool.mjs";
const mem = await mempool({ privateKey: process.env.MEMPOOL_KEY });
await mem.remember("user.preferences", "short answers, UTC, pnpm");
await mem.recall("user.preferences");
await mem.forget("user.preferences");{
"mcpServers": {
"mempool": {
"command": "node",
"args": ["/path/to/mempool.mjs", "mcp"],
"env": { "MEMPOOL_KEY": "0x..." }
}
}
}
tools: remember · recall · forget
list_memories · network_statusThe network, read from the contract every 30 seconds
Rounds and proofs ↗Run a node
[01]docker run -d -e NODE_ID=<n> -v mempool-data:/data -p 8080:8080 mempool-node
Read the node guide