hackquest logo

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

视频

项目图片 1
项目图片 2
项目图片 3
项目图片 4

技术栈

React
Next
Web3
Ethers
Node
Solidity

描述

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

本次黑客松进展

v3.3 — Full Feature Completion + Public Access

Smart Contracts (5 on 0G Mainnet):

  • AIsphereINFT: 0xc0238FEb50072797555098DfD529145c86Ab5b59

  • DecisionChain: 0xaF39a3D2E2d8656490F8f2AB1fF0106f1acB867C

  • AgentRegistry: 0xa930B5059aE91C073684f0D2AFB0bBf5d84167C9

  • BountyBoard: 0x8604482d75aFe56E376cdEE41Caf27599a926E1d

  • AgentMarketplace: Escrow contract (list/buy/cancel, 2.5% fee, CEI + ReentrancyGuard)

  • 94/94 unit tests passing

0G Integration (all 4 components + 7 skills):

  • 0G Chain: 5 smart contracts (AIsphereINFT, DecisionChain, AgentRegistry, BountyBoard, AgentMarketplace)

  • 0G Storage KV: AES-256-GCM Memory Vault + Hive Mind collective intelligence + Soul persistence

  • 0G Compute: TEE inference via TeeML + provider discovery + fee settlement via processResponse

  • 0G Agentic ID (ERC-7857): On-chain agent identity, passport certification, soul signature, trust score, level system

  • 0G Memory: Persistent agent memory across sessions via 0G KV, dual-layer (hot cache + KV), hydration on startup

  • TEE / Private Sandbox: Sealed Mind runs inference inside hardware enclave, hardware-signed attestation per response

  • 0G Skills: #4 Streaming Chat, #5 Text-to-Image, #6 Speech-to-Text, #7 Provider Discovery, #8 Account Management, #13 Storage×Chain, #14 Compute×Storage

Full-stack Application:

  • 14 backend services with graceful degradation

  • 21 frontend pages with modern UI

  • MCP Server (10 tools + 6 resources)

  • OpenClaw: 5 skills + pipeline orchestration

Soul System:

  • Living Soul: experience hash chain + encrypted 0G KV persistence + growth curve

  • Hive Mind: collective intelligence + Merkle verification + animated Knowledge Graph

  • Agent Passport: real capability tests (inference + storage + signature)

  • Agent Gateway: MCP + REST protocol

Agent Economy:

  • Agent Transfer + Memory Migration (INFT transfer + re-encrypted memory)

  • Agent Hires Agent (SubBounty delegation via BountyBoard)

  • Marketplace: real A0GI payment + ERC-721 transfer

融资状态

No funding yet. We are open to funding and partnership opportunities to bring AIsphere to production.

队长
HHenry Martin
项目链接
部署生态
0G0G
赛道
AINFTInfra