





0G Mem
The verifiable memory and runtime stack for sovereign AI agents.
Links
Team
2 members- AA
Aakash Mallik
member - VIOwner
Violina Doley
owner
Overview
Category: Infrastructure
0G Mem is a decentralized AI agent runtime and memory stack designed to break vendor lock-in and give users true ownership over their AI's knowledge and operations. Built on the 0G Labs infrastructure, it decouples the core components of AI agents—memory, inference, and interface—into an open, verifiable, and interoperable system.
The architecture consists of three primary layers. The Memory layer provides a persistent, evolving knowledge base for agents. User context is encrypted client-side using their wallet key, stored on the decentralized 0G Storage network, and its state is anchored on the 0G Chain via Merkle proofs. This memory is dynamic; it strengthens with retrieval and decays with disuse, with every change being provably recorded on-chain. The Agent Runtime layer shifts inference from proprietary APIs to decentralized 0G Compute, ensuring operational sovereignty. Every execution, including memory state, tool calls, and decisions, is logged to 0G's Data Availability layer, creating a fully transparent and auditable trail of the agent's actions.
Finally, the Pluggability layer ensures broad compatibility. 0G Mem exposes a Memory-Centric Protocol (MCP) server, allowing seamless integration with any MCP-compatible client, such as Claude Desktop or Cursor, without requiring code changes. The system is accessible through multiple interfaces, including a Next.js web application, a Telegram bot, and a terminal TUI, all connecting to the same unified, user-owned memory store. This multi-faceted approach empowers developers to build and deploy sovereign AI agents that are portable, transparent, and truly owned by their users.
Key features:
- Verifiable & Evolving Memory: Agent memory is client-side encrypted, stored on 0G Storage, and Merkle-anchored on-chain. Memories dynamically strengthen or decay based on usage, with all changes provably recorded.
- Decentralized Agent Runtime: Inference is executed on the decentralized 0G Compute network, freeing agents from reliance on proprietary third-party APIs and ensuring operational sovereignty.
- Transparent Audit Trails: Every agent action, memory access, and decision is logged to 0G's Data Availability layer, providing a fully transparent and verifiable history of operations.
- Unified Multi-Interface Access: Interact with your agent's memory seamlessly across a web UI, Telegram bot, or terminal interface, all connected to the same decentralized backend.
- MCP-Compatible Pluggability: Exposes a standard MCP server, enabling zero-code integration with compatible AI clients like Cursor or Claude Desktop for immediate interoperability.
- Wallet-Based Identity: A user's Web3 wallet acts as the root of their identity, managing encryption keys and authenticating all actions, ensuring true ownership of the agent's memory.
Tech stack: Next.js, React, TypeScript, Tailwind CSS, Python, FastAPI, Supabase, Ethers.js, Viem, Hardhat, wagmi, React Query, Resend, Node.js, Docker, PostgreSQL