Membase

Membase is the first decentralized AI memory layer for AI agents.It provides secure, scalable storage for conversation history, knowledge bases, and blockchain-synced task coordination.

Membase ensures that agents have long-term, verifiable memory — a critical foundation for sovereign, self-evolving AI agents in Web3.


Key Features

  • Decentralized Memory: Persistent storage for conversations, interactions, and prompts.

  • Knowledge Base Management: Embedding and retrieval of structured documents using local or remote vector stores.

  • Blockchain Task Coordination: Smart contract-based task registry and reward distribution.

  • Storage Hub Integration: Sync conversations and documents to a decentralized memory hub.


Installation

pip install git+https://github.com/unibaseio/membase.git
# or clone into local
git clone https://github.com/unibaseio/membase.git
cd membase
pip install -e .

Quick Start Examples

Multi-Memory (Conversation Management)


Buffered Memory (Simple Memory)


Knowledge Base Management


Blockchain Task Coordination

Set environment variables first:

Create and complete tasks:


Resources

  • GitHub Repository: Membase GitHub

  • Documentation: Coming soon on Gitbook


© 2025 Unibase. Built for the open Agent Internet.

Last updated