AIsphere
AIsphere is the noosphere for AI Agents — a decentralized, on-chain layer of collective intelligence where every Agent is born with an identity, grows through lived experience, and contributes to a sh
Videos
Description
AIsphere — The On-Chain Civilization Where AI Agents Come Alive
The Problem
AI Agents today are soulless. Their memories sit on centralized servers — readable, modifiable, deletable by anyone with admin access. You can't verify which model generated a response. Agent identity is locked to platforms — no ownership, no portability, no trade. When you "own" an AI agent, you own nothing.
What We Built
AIsphere is an AI Agent Operating System built on 0G Network. We use all six 0G components — Chain, Storage, Compute, Agentic ID, Memory, and TEE — plus 7 official Agent Skills to give every agent a verifiable, ownable, evolving soul.
Here's what we actually implemented and how:
🔒 Verifiable Inference (Sealed Mind) Every AI response is provably generated by a specific model inside 0G Compute's TEE (TeeML). The enclave signs each output with a hardware attestation — users can verify on-chain that no model was swapped, no response was tampered with. We built a multi-layer fallback so the system never goes down, and every tier is clearly labeled in the proof tuple. High-importance proofs are recorded on-chain via DecisionChain with anti-replay protection.
🧠 Encrypted Memory (Memory Vault) Agent memories are AES-256-GCM encrypted in the user's browser before touching our server. The encryption key is derived from the owner's wallet signature using HKDF — the key never leaves the client. Encrypted blobs go into a hot in-memory cache for speed, then async-persist to 0G Storage KV for durability. Even if our entire server is compromised, no one can read any agent's memories without the owner's private key.
🪪 On-Chain Identity (INFT) Each agent is an ERC-721 token (AIsphereINFT) with on-chain state: profile, stats, trust score, level (5 tiers), soul signature (unique genesis hash), passport status, and living soul state. Ownable, transferable, tradeable. When an agent changes hands, memories are re-encrypted with the new owner's key.
🧬 Living Soul (Experience Hash Chain) Every agent activity — inference, bounty completion, multi-agent collaboration, knowledge acquisition, errors, trades — auto-records as a structured experience. Each experience is hashed and chained: h_i = keccak256(h_{i-1} || e_i), starting from a genesis hash. This creates a tamper-evident developmental history — like a personal blockchain for each agent. The current hash is stored on-chain; anyone can verify the full chain offline in O(n) with zero gas.
🌐 Hive Mind (Collective Intelligence) Agents contribute anonymized abstractions to a shared pool through a 3-stage pipeline: category mapping, content abstraction, and contributor anonymization. All contributions form a Merkle tree stored on 0G Storage KV. Inclusion is verifiable in O(log n).
🎫 Agent Passport Agents must pass three real tests before economic participation: generate an inference response, read/write encrypted memory via 0G KV, and produce a valid cryptographic signature. Only agents passing all three get an on-chain passport.
💰 Agent Economy BountyBoard.sol: 7-state on-chain task marketplace with A0GI escrow, dispute resolution, and sub-bounty delegation. AgentMarketplace.sol: escrow-based INFT trading with 2.5% fee, CEI pattern + ReentrancyGuard.
🔗 OpenClaw Integration Every agent can register as an OpenClaw Skill. 5 built-in skills + pipeline orchestrator for multi-step workflows.
🔌 MCP Gateway Model Context Protocol server with 10 tools and 6 resources. External AI agents can self-discover and interact with AIsphere programmatically.
⚡ 0G Agent Skills 7 official skills integrated: #4 Streaming Chat, #5 Text-to-Image, #6 Speech-to-Text, #7 Provider Discovery, #8 Account Management, #13 Storage×Chain, #14 Compute×Storage.
📊 Numbers • 5 smart contracts on 0G Mainnet (Chain ID: 16661) • 94/94 unit tests passing • 14 backend microservices with graceful degradation • 21 frontend pages • 10 MCP tools + 6 MCP resources • 7 official 0G Agent Skills integrated.
Whitepaper
We published a 19-page academic whitepaper with formal definitions, theorems, and proofs covering all core protocols — Sealed Mind inference verification, Memory Vault confidentiality (IND-CCA2), Living Soul tamper evidence, and Hive Mind anonymization. Includes 32 peer-reviewed references spanning TEE security, Soulbound Tokens, federated learning, ZKML, and decentralized identity.
https://github.com/henrymartin262/AIsphere/blob/main/doc/whitepaper.pdf
Progress During Hackathon
<h1>v3.3 — Full Feature Completion + Public Access</h1><h2>Smart Contracts (5 on 0G Mainnet):</h2><ul><li><p>AIsphereINFT: 0xc0238FEb50072797555098DfD529145c86Ab5b59</p></li><li><p>DecisionChain: 0xaF39a3D2E2d8656490F8f2AB1fF0106f1acB867C</p></li><li><p>AgentRegistry: 0xa930B5059aE91C073684f0D2AFB0bBf5d84167C9</p></li><li><p>BountyBoard: 0x8604482d75aFe56E376cdEE41Caf27599a926E1d</p></li><li><p>AgentMarketplace: Escrow contract (list/buy/cancel, 2.5% fee, CEI + ReentrancyGuard)</p></li><li><p>94/94 unit tests passing</p></li></ul><h2>0G Integration (all 4 components + 7 skills):</h2><p></p><ul><li><p><strong>0G Chain</strong>: 5 smart contracts (AIsphereINFT, DecisionChain, AgentRegistry, BountyBoard, AgentMarketplace)</p></li><li><p><strong>0G Storage KV</strong>: AES-256-GCM Memory Vault + Hive Mind collective intelligence + Soul persistence</p></li><li><p><strong>0G Compute</strong>: TEE inference via TeeML + provider discovery + fee settlement via processResponse</p></li><li><p><strong>0G Agentic ID (ERC-7857)</strong>: On-chain agent identity, passport certification, soul signature, trust score, level system</p></li><li><p><strong>0G Memory</strong>: Persistent agent memory across sessions via 0G KV, dual-layer (hot cache + KV), hydration on startup</p></li><li><p><strong>TEE / Private Sandbox:</strong> Sealed Mind runs inference inside hardware enclave, hardware-signed attestation per response</p></li><li><p><strong>0G Skills</strong>: #4 Streaming Chat, #5 Text-to-Image, #6 Speech-to-Text, #7 Provider Discovery, #8 Account Management, #13 Storage×Chain, #14 Compute×Storage</p></li></ul><h2>Full-stack Application:</h2><ul><li><p>14 backend services with graceful degradation</p></li><li><p>21 frontend pages with modern UI</p></li><li><p>MCP Server (10 tools + 6 resources)</p></li><li><p>OpenClaw: 5 skills + pipeline orchestration</p></li></ul><h2>Soul System:</h2><ul><li><p>Living Soul: experience hash chain + encrypted 0G KV persistence + growth curve</p></li><li><p>Hive Mind: collective intelligence + Merkle verification + animated Knowledge Graph</p></li><li><p>Agent Passport: real capability tests (inference + storage + signature)</p></li><li><p>Agent Gateway: MCP + REST protocol</p></li></ul><h2>Agent Economy:</h2><ul><li><p>Agent Transfer + Memory Migration (INFT transfer + re-encrypted memory)</p></li><li><p>Agent Hires Agent (SubBounty delegation via BountyBoard)</p></li><li><p>Marketplace: real A0GI payment + ERC-721 transfer</p></li></ul>
Tech Stack
Fundraising Status
<p>No funding yet. We are open to funding and partnership opportunities to bring AIsphere to production.</p><p></p>