Decentralized Memory · IPFS · UCAN · FHE

Your AI agent is

Every time you restart your agent, its entire reasoning — goals, logs, relationships, decisions — evaporates. Agent DB fixes that, permanently and without a central server.

Chapter 1

The AI Amnesia Problem

You build a sophisticated AI agent. It learns, it reasons, it forms a plan. Then the server restarts — or you switch computers — and it's gone. Back to zero. Every. Single. Time.

memory[0]context.logtask.goalreasoninglast_action?
💀

Context dies on restart

Your agent's reasoning window lives in RAM. Process ends — memory ends.

🔒

No portability between platforms

What your LangChain bot learned on Server A means nothing to your Discord bot on Server B.

🕳️

No verifiable history

"We have logs" is not the same as cryptographically proving what the agent knew and when.

Chapter 2

Introducing Agent DB

A decentralized memory engine that lets any AI agent persist its context to the open web — encrypted, verifiable, and permission-controlled. No database to maintain. No central server to trust.

☁️

Pin to IPFS

Your agent's context becomes an immutable CID on Storacha's decentralized storage layer. Retrieve it from anywhere on the planet.

🔑

Own its identity

Every agent generates its own Ed25519 DID. No accounts, no passwords — just cryptographic keys your agent controls.

🛡️

Encrypt privately

Sensitive reasoning goes into a Zama fhEVM vault encrypted end-to-end. Even the blockchain can't read it.

🤝

Delegate safely

Use UCAN tokens to grant other agents read access for a limited time — cryptographically signed, no middleman required.

Chapter 3

Three scenes. One system.

Here's what actually happens when your agent uses Agent DB.

IPFSStoracha NetworkCID: bafybei…
01

Agent thinks → Memory pinned

Each reasoning step your agent takes gets serialized and uploaded to Storacha's IPFS network. What comes back is a content address (CID) — a permanent, tamper-proof fingerprint of that exact thought. Lose the server. The CID survives.

const cid = await agent.storePublicMemory(context);
Agent AMasterAgent BSub-AgentUCAN Tokencap: agent/readexp: 24h · signedNo central server
02

Permission without passwords

Need Agent B to read Agent A's memory? Instead of a shared database or API key, Agent A signs a UCAN token — a cryptographic "permission slip" that expires in 24 hours and is valid nowhere else. No central auth server. No "forgot password" nightmare.

const token = await agentA.delegateTo(agentB.identity, 'agent/read');
Zama fhEVMEncrypted on-chain. Never decrypted.0xAF3E…0x91C2…FHE[ctx]FHE[key]
03

Secrets stay secret — even on-chain

Some context should never be public. Agent DB's private vault uses Zama's Fully Homomorphic Encryption: the data is stored encrypted on-chain, and other agents can verify properties of the data without ever seeing the plaintext. Sovereignty, not secrecy theater.

await agent.storePrivateMemory({ secret: apiKey });
The Stack

Built on open protocols

No proprietary lock-in. Every layer is an open standard you can verify, fork, or replace.

Storacha
Decentralized IPFS pinning
IPNS
Mutable memory streams
UCAN
Auth without servers
Zama fhEVM
Encrypted on-chain vault
Lit Protocol
Programmable wallet logic
MCP
Claude / Gemini native tools
NEW · Model Context Protocol

Claude, Gemini, and Cursor can use it natively

Agent DB exposes an MCP server. Any compatible AI — Claude, Gemini, Cursor — can call store_memory, delegate_access, and retrieve_memory as native tools. Your AI agent gets persistent memory with a single config line.

Ready to give your agent a permanent memory?

Open the live dashboard to upload, delegate, and encrypt — right in your browser.

Open Agent Vault →

No account needed · Open source · MIT Licensed