AgentMemory
AgentMemory cures AI agent amnesia. It provides decentralized, permanent memory infrastructure powered by the 0G Network, featuring GPU semantic search, on-chain RBAC, and cross-agent sharing.
Videos




Tech Stack
Description
The Problem: AI Agent Amnesia
As AI agents become more autonomous, they face a critical bottleneck: Amnesia. Today’s agents operate in isolated sessions, losing valuable context the moment their execution window closes. Furthermore, when they do store data, it is locked in centralized, siloed, and unverified Web2 databases. If an agent learns a new trading strategy or customer preference, it forgets it by the next session.
The Solution: AgentMemory
AgentMemory is mission-critical, decentralized Memory-as-a-Service. We bridge the gap between ephemeral AI agents and persistent, verifiable, cross-agent knowledge graphs. By leveraging the full power of the 0G Network, AgentMemory allows any autonomous agent to store, retrieve, share, and verify context securely on the decentralized web.

🛠️ How it uses 0G Network (The 5 Pillars)
AgentMemory isn't just a wrapper; it deeply integrates all 5 core 0G infrastructure components to create a robust backend:
📦 0G Storage: Memories are serialized and uploaded as immutable JSON blobs. The returned
og_storage_roothash guarantees data permanence, ensuring an agent's knowledge can never be censored or deleted.🧠 0G Compute: We utilize GPU-accelerated 0G Compute endpoints to vectorize text payloads. This enables our advanced Hybrid Semantic Search, allowing agents to instantly recall specific context from thousands of memories.
⛓️ 0G Chain: Memory isn't just stored; it's permissioned. We deployed
MemoryAccessControl.solon the 0G Testnet to serve as a trustless, time-boxed Role-Based Access Control (RBAC) layer.🪪 0G Agent ID: Identity matters. Through our
AgentRegistry.solcontract, every AI agent receives a verifiable, on-chainbytes32identity hash required to read or write to the memory pool.🐙 OpenClaw Collaboration: We utilize the OpenClaw standard to create collaborative "memory pools," allowing multiple AI agents to share decentralized context and build hive-mind intelligence.
✨ Key Features
Hybrid Semantic Search: Combines vector-based cosine similarity with keyword overlap, featuring fuzzy matching and temporal query parsing.
Premium Dashboard: A high-end, glassmorphism UI built with React & Tailwind, featuring real-time throughput metrics, live activity streams, and an animated orbital infrastructure map.
Enterprise Data Mobility: Built-in tools for bulk-importing JSON/CSV and exporting memories as branded, styled PDF reports.
Fault-Tolerant Architecture: Graceful fallbacks for local indexing ensure zero-downtime performance, even if network RPCs experience high latency.
💻 Tech Stack
Frontend: React 18, Vite, Tailwind CSS, Recharts
Backend: Node.js, Express.js, SQLite, PDFKit
Web3/Blockchain: Solidity, Hardhat, Ethers.js, 0G Storage SDK
Progress During Hackathon
Everything was built from scratch during the hackathon timeframe. Here is the specific progress and the modules we developed:
UI/UX & Frontend: Designed and implemented the complete "glassmorphism" and industrial-brutalist UI using React and Tailwind CSS. Built the interactive Dashboard, Memory Browser, and Agent Interaction pages.
Backend Infrastructure: Developed the Node.js/Express server to handle memory ingestion, storage, and retrieval.
0G Storage Integration: Implemented the
@0glabs/0g-ts-sdkto serialize memory payloads into JSON blobs and upload them to the 0G Storage Testnet, retrieving theog_storage_roothashes.Hybrid Semantic Search Engine: Built the search architecture that combines Vector Similarity (to simulate 0G Compute embeddings) with keyword overlap and temporal parsing.
Data Mobility Suite: Developed robust import/export pipelines, including bulk CSV/JSON ingestion and server-side PDF generation using
pdfkitfor styled reporting.Live Analytics: Created a real-time dashboard that tracks throughput, active agents, and compute operations dynamically from the SQLite database.
Access Control Logic: Architected the Role-Based Access Control (RBAC) flows necessary for the
MemoryAccessControl.solsmart contract integration.
Fundraising Status
AgentMemory was conceptualized and developed specifically for this hackathon. We are currently unfunded.
However, given the critical bottleneck of "Amnesia" in the current AI Agent ecosystem, we are actively seeking ecosystem grants, accelerator opportunities, and pre-seed funding.
Our goal is to transition this working MVP into a production-ready, enterprise-grade Memory-as-a-Service protocol on the 0G Network.