About
dMemo gives AI agents persistent long-term memory that the agent's host never owns. Today every coding and personal agent either forgets you between sessions or hands your memory to a vendor's cloud. dMemo does neither: memories are extracted **locally** with mem0 OSS, embedded **locally** (no embedding API call ever leaves the machine), encrypted client-side with ECIES to your own wallet's public key, and persisted as an append-only chain of blobs on 0G Storage. The only thing that ever crosses the network is ciphertext. There is no dMemo account, no dMemo server, and no API key in the memory path.
**It's plug and play.** One command — `npx @dmemo/cli setup` — connects a browser wallet (you sign one message; you are never asked to paste a private key), writes a `0600` config, offers to fund the account, then detects and wires up **every supported agent already installed on your machine**: Claude Code, Codex, OpenCode, OpenClaw, and Hermes. Developers using the raw OpenAI or Anthropic SDKs get the same thing through a memory-augmented `fetch` wrapper instead of a host plugin.
**The session loop.** At session start dMemo resolves your latest blob pointer from chain logs, downloads the head blob, self-verifies its Merkle root against the on-chain root, decrypts it, and replays it into an in-process memory engine — plaintext exists in RAM only. Each turn, the host's hook injects the relevant memory slice into the prompt; the completed turn is captured, embedded locally, and journaled. The journal is flushed asynchronously as an encrypted delta (one on-chain transaction), with a periodic full checkpoint so restores stay one download deep. At session end the final flush lands and RAM is wiped. Nothing readable persists on disk.
**Your memory is a wallet, not an account.** The on-chain blob format is the contract, not the SDK — so a conversation captured in Claude Code is restored verbatim by OpenCode, Codex, OpenClaw, or Hermes, on any machine, from nothing but the same key. Switching agents, or laptops, doesn't cost you your memory.
**It's measured, not asserted.** Everything above runs live against 0G (integration-tested on Galileo testnet, chain 16602; the CLI defaults to Aristotle mainnet, chain 16661). A memory flush costs ~0.0012 0G. Cold session restore is P50 3.0s / P95 4.03s — inside every host's hook budget (Claude Code's `SessionStart` allows 30s). Writes are off the critical path by construction. 66 timing samples and the raw spend log are committed to the repo.
**And it's honest about its limits**, in `docs/disclosure.md`, in plain language: encryption hides *what* you said, but your wallet address, blob sizes, and write timing are public on a public chain forever; losing your key means losing your memory permanently, with no custodian and no reset; v1's `forget()` is a durable tombstone plus proof-of-key-derivability, not yet a true per-epoch crypto-shred; and the optional inference leg is only private if the model you route to is actually TeeML — as of this writing no TeeML *chat* model is live on the 0G testnet Router, so we say so rather than implying a guarantee we can't currently deliver.
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






