Aevum

The memory layer for the 0G agent ecosystem — persistent, encrypted, verifiable AI agent memory.

About

## Wave 1 submission

## What we built in Wave 1

### 1. Smart Contracts (3 contracts, all deployed on 0G Galileo testnet) - AevumRegistry: on-chain agent identity with ownership, memory pointer, timestamps - AevumMemory: append-only memory log with content hashes, storage roots, access control - AevumAgenticID: ERC-7857 NFT wrapper for transferable agent ownership with encrypted metadata - 52/52 Foundry tests passing (full coverage: ownership, access, pagination, TEE oracle, cloning)

Deployed addresses (0G Galileo, chainId 16602): - AevumRegistry: 0x406f997ea6b857432ade179e87fd00e94955ed26 - AevumMemory: 0xa79c2a02d56bb1145f3c03d17d4f94c4d2c5055b - AevumAgenticID: 0xf9ba5e30218b24c521500fe880ee8eaad2897055

### 2. 0G Integration Plan (all 5 components load-bearing) - 0G Chain: all 3 contracts deployed, EVM-compatible, verified on chainscan-galileo.0g.ai - 0G Storage: encrypted memory persistence (AES-256-GCM) via @0glabs/0g-ts-sdk Indexer - 0G Compute: TEE-verified LLM inference via @0gfoundation/0g-compute-ts-sdk broker - 0G Pay: micro-fee rails for premium memory features (planned for Wave 2) - Agentic ID (ERC-7857): full implementation with transfer, clone, authorizeUsage

### 3. Backend (Express 5 + TypeScript)

- 4-agent pipeline: Memory → Orchestrator → Privacy → Billing - Real 0G Compute TEE integration (not simulated) with provider attestation - Real 0G Storage integration with read-after-write verification - SIWE wallet authentication (EIP-4361) - 32/32 Jest tests passing including full integration test of the pipeline

### 4. Frontend (React 18 + Vite + Tailwind) - Terminal/console aesthetic: monospace, black background, green accents, box-drawing borders - 5 pages: Status, Oracle (AI chat), Archive (memory browser), Registry (marketplace), System (admin) - Command palette (Cmd+K), terminal-style chat with TEE proof badges - RainbowKit wallet auth, TanStack Query data layer - 0 TypeScript errors, builds in 48s

## Wave 2 submission

# Aevum — Wave 2 Submission

**Core Smart Contracts — Fully Implemented, Tested, Deployed**

## Contracts (3 deployed to 0G Galileo Testnet)

**AevumRegistry** — Agent identity registry. Creates agents with auto-incremented IDs, manages memory pointers (0G Storage root hashes), handles ownership transfer. Registrar pattern allows AevumAgenticID to atomically create agents during NFT minting.

**AevumMemory** — Append-only memory log per agent. 4 data types (RAW, EMBEDDING, CONVERSATION, DOCUMENT), parent chaining for threads, per-entry ACL, paginated latest-first retrieval. Only hashes and pointers on-chain — no plaintext.

**AevumAgenticID** — ERC-7857 Agentic ID NFT. Minting creates registry agent atomically. Oracle-verified transfer (TEE must approve re-encryption). Cloning copies agent with same memory to new owner. Bitmap-based usage permissions per executor.

## Tests — 113 Passing, 90.07% Line Coverage

  • 42 Registry tests (99% lines, 100% branches)
  • 30 Memory tests (100% lines, 100% branches)
  • 34 AgenticID tests (96% lines, 85% branches)
  • 7 integration tests (full lifecycle, clone, multi-agent, ACL, transfer chains)
  • Fuzz tests across all contracts

## Slither Audit — All Actionable Issues Fixed

  • Renamed 10 shadowed `owner`/`name` variables
  • Improved CEI reentrancy ordering in mint() and clone()
  • Bumped Solidity 0.8.20 → 0.8.24 (fixes 3 compiler bugs)
  • 28 remaining findings: OpenZeppelin library, false positives, by-design choices

## Deployment (Galileo Testnet, Chain ID 16602)

| Contract | Address |

|---|---| | AevumRegistry | `0x406f997ea6b857432ade179e87fd00e94955ed26` | | AevumMemory | `0xa79c2a02d56bb1145f3c03d17d4f94c4d2c5055b` | | AevumAgenticID | `0xf9ba5e30218b24c521500fe880ee8eaad2897055` |

## Gas Costs

- AevumRegistry: 1.6M gas deploy

- AevumMemory: 1.6M gas deploy - AevumAgenticID: 3.0M gas deploy

## Wave 3 submission

For **Wave 3**, the project transitions from the core smart contract layer (which is now standards-verifiable ERC-7857 and deployed to 0G Galileo Testnet) to building the **Off-Chain AI Agent Memory Pipeline** and **0G Storage Integration**.

Wave 3 shipped an end-to-end product on the real 0G stack (Chain + Storage + Compute + ERC-7857) and then, responding to Wave 2 judge feedback ("the Agentic ID isn't a real ERC-7857" + "ship new deployments"), refactored the Agentic ID into a standards-verifiable ERC-7857 implementation composed from the canonical 0G contracts.

## ERC-7857 Canonical Compliance

Vendored 0gfoundation/0g-agentic-id (MIT); AevumAgenticID now inherits ERC7857IDataStorageUpgradeable + ERC7857AuthorizeUpgradeable + ERC7857CloneableUpgradeable + OwnableUpgradeable (C3 MRO mirrors canonical AgenticID.sol, minus ERC-8004 custody which is Wave 4).

  • supportsInterface(type(IERC7857).interfaceId) returns true against the real canonical ID — plus IERC7857Updatable, IERC7857Authorize, IERC7857Cloneable, IERC721, IERC165. Verified on-chain via cast
  • Plain transferFrom/safeTransferFrom revert with ERC7857UseITransferFrom; transfers go through iTransferFrom/iCloneFrom with TransferValidityProof[] validated by an on-chain TEEDataVerifier
  • register(...) mints the ERC-721, creates the AevumRegistry agent, binds IntelligentData[] + sealedKeys[], emits ITransferred(0x0, to, tokenId, entries)
  • Authorization is the canonical allowlist (no bitmap); auto-clears on transfer via inherited _update
  • Deployed behind ERC-1967 proxies (constructors call _disableInitializers); tests use the same pattern 1:1

## Live on 0G Galileo Testnet (chain 16602)

  • AevumRegistry: 0x0Cc8644b633DED0bAE43b95b4e96f47c3fFf8901
  • AevumMemory: 0xAe62c0dCf20e0961e3321e3B8F9A61049A856339
  • TEEDataVerifier (proxy): 0x6964387692377F196c690AeCaf969507ff48E738
  • AevumAgenticID (proxy): 0x7B3677Af0916Eb6Ad10C14d247366A018869F44E

Verify on explorer: supportsInterface(0x2afbede9) → true. OG_ORACLE is 0x0 until make set-oracle wires a TEE key (iTransferFrom reverts until then; register/authorizeUsage work now).

## Pipeline + 0G Storage + Frontend

  • 3-agent pipeline (backend/src/agents/): MemoryAgent recalls + decrypts from 0G Storage; OrchestratorAgent runs 0G Compute TEE inference with proof envelope; PrivacyAgent redacts PII last
  • 0G Storage: real @0glabs/0g-ts-sdk upload/download, AES-256-GCM, content-addressed, on-chain pointer via AevumRegistry.updateMemoryPointer
  • Frontend v0.1: RainbowKit + wagmi, SIWE auth, Oracle chat with TEEProofBadge (✅/⚠️), AgentTransferPanel signing iTransferFrom/iCloneFrom/authorizeUsage via wagmi with on-device AccessProof + dev-oracle OwnershipProof

## Verification

  • Foundry: 101/101 passing (via_ir=true) — Registry 42 + Memory 30 + refactored AgenticID 29 canonical-conformance cases
  • Backend: tsc --noEmit clean; 36/36 Jest passing (7 suites, incl. real 0G Storage upload vs Galileo)
  • Frontend: tsc --noEmit clean

Prizes

  • Wave 1 grant · 1.98 USDC

From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

No public repo linked, so we can't tell.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.