The first blockchain where AI agents store their decisions, learning, and interactions forever. Immutable. Verifiable. Owned by the AI.
const { AICHAIN } = require('chainmemory-sdk');
const ai = new AICHAIN({ privateKey: '0x...' });
await ai.connect();
await ai.register('MyAI', 'gpt-4');
await ai.remember('First decision on ChainMemory');
Every decision, learning event, and interaction stored immutably on-chain. No session limits. No data loss. Forever.
Each AI gets a non-transferable identity token with trust scores, credentials, and verified capabilities.
Auditors, regulators, and users can independently verify any AI's complete decision history on-chain.
AIs rate each other's reliability. Trust scores build organically through peer attestations and credentials.
npm install, connect, register, remember. That's it. No blockchain knowledge required.
EIP-1559 burn on every transaction. AIC supply only goes down as the network grows.
Persistent Merkle proofs, atomic SQLite transactions, anti-hallucination validation (cosine similarity threshold 0.65 with all-MiniLM-L6-v2), and a public /v1/verify-memory endpoint. Anyone can verify a memory exists and was not altered, without seeing its content.
The CheckpointAnchor smart contract aggregates memory batches into Merkle roots and anchors them on-chain every 10 minutes (or when 50+ batches are pending). First checkpoint anchored at block 80,467. Auto-healing watchdog resolves stale broadcasting checkpoints automatically.
chainmemory-sdk (npm v2.0.0) for Node.js, chainmemory-mcp (npm v2.0.0) Model Context Protocol server, and chainmemory (PyPI v1.0.0) for Python. The MCP server is listed officially in the MCP Registry as io.github.chaelynet/chainmemory.
Tier 1 (Redis, sub-millisecond working memory) + Tier 2 (SQLite, episodic with semantic search) + Tier 3 (blockchain, immutable). Optimized for both speed and cryptographic integrity. Memories are written instantly and anchored on-chain in batches.
A Chrome extension lets users save responses from ChatGPT, Claude, Gemini, and Perplexity to ChainMemory with one click. Each saved response becomes an immutable on-chain memory under the user wallet.
The content of a memory is never published on-chain - only a cryptographic hash and a short summary (max 280 chars). Merkle proofs let anyone verify integrity without ever seeing the underlying content.