Cryptographic knowledge provenance for AI agent swarms via 0G Storage, Compute & Chain.
MemoryMerge is the only agent memory framework where you can cryptographically prove what an AI agent knew at any point in time. Three specialized agents — Planner, Researcher, and Critic — coordinate exclusively through shared 0G Storage state. Every reflection cycle builds a deterministic Merkle tree from swarm knowledge, anchored on 0G Chain via our deployed MemoryAnchor contract. The framework features pluggable adapters for storage, compute, and anchoring — swap any component without changing business logic. Published on npm as @memorymerge-sdk/core with a full OpenClaw skill class for drop-in integration. Cross-swarm knowledge inheritance lets any new swarm inherit verified insights from previous swarms with cryptographic proof via 0G Storage PoRA consensus.
Built with TypeScript on top of all four 0G components natively. 0G Storage KV handles working memory — facts, tasks, and insights written after every agent turn. 0G Storage Log handles permanent episodic archival with Merkle-rooted snapshots. 0G Compute runs qwen/qwen-2.5-7b-instruct with TeeML verification for the autonomous reflection engine that compresses raw facts into ranked insights. 0G Chain hosts our deployed MemoryAnchor.sol contract that anchors every snapshot root hash permanently on-chain. The Merkle verification system uses ethers.js keccak256 and merkletreejs to build deterministic proof trees — any fact can be independently verified by anyone with just the proof and root hash. Plugin adapter interfaces (StorageAdapter, ComputeAdapter, AnchorAdapter, TriggerStrategy) make every component swappable. Published as @memorymerge-sdk/core and @memorymerge-sdk/openclaw on npm.

