Built during PL Genesis Hackathon on IPFS Β· Decentralized AI Future

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.

The Ecosystem

Drop-in memory for the modern AI stack

Agent DB acts as a specialized persistence layer for any AI framework.

πŸ€–
OpenClaw
Persistent Personas

Instantly resume an agent's learned personality and history on boot using direct CID restore.

🦜
LangChain
Hive Mind IPNS

Replace BufferMemory with decentralized streams. Multiple agents can 'tune in' to a live thought process.

πŸ”₯
Lit Protocol
Self-Sustaining Agency

Provision non-custodial wallets for agents to autonomously pay their own IPFS storage bills.

Advanced Architecture

Device-Agnostic Recovery

Agent DB removes the "local file" bottleneck. Because memory is mapped to IPNS via the agent's seed, you can destroy a server and recover perfectly on a mobile device with zero local state.

Stable IPNS Mapping β€” Deterministic "Home Base" for memory registry.
Gateway Racing β€” Parallel retrieval from 4+ gateways for sub-500ms response.
Concurrency Guards β€” Sync-before-Write logic prevents state collisions.
Desktop
πŸ–₯️
IPNS Home Base
Cloud / Mobile
πŸ“±
Try it out

Fully Functional Simulations

We've bundled functional demos proving decentralization, migration, and performance.

Cross-Agent Handoff

Agent B stores a report and issues a UCAN for Agent A to read it.

npx tsx src/demo-mcp-simulation.ts

Decentralized Migration

Wipe local storage and watch an agent recover its entire mind from IPNS.

npx tsx src/demo-migration.ts

Large Data Persistence

High-performance test for 20MB+ files (RAG vector stores).

npx tsx src/demo-large-data.ts

Multi-Context Switch

Watch an agent juggle parallel workflows natively across devices.

npx tsx src/demo-multi-context.ts

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