Agentic ID
Onchain identity for AI agents.
Built on ERC-7857 with encrypted model data, re-encryption on transfer, and TEE/ZKP-verified proofs. Register agents, authorize callers, transfer ownership with the model weights intact.
Try it without code
§ 01 · Examples
Three self-contained examples in the agenticID-examples repo. Start with 01, then progress as needed.
Register and Manage AI Agents
Next.js + RainbowKit web app. Register agents with model, capabilities, and system prompt; hash intelligent data on-chain; manage authorizations; transfer ownership.
Authorization and Delegation
CLI script showing per-token authorization, batch authorization across many agents, hot-wallet delegation, cloning agents, and revocation patterns.
Marketplace Trading
End-to-end marketplace with EIP-712 signed orders, partner/creator royalties, escrow deposits, atomic trade execution, and accumulated fee withdrawal.
§ 02 · Quickstart
Recommended
Start from the Agentic ID examples repo
Three progressive examples (beginner to advanced) with a shared Hardhat contract and TypeScript tooling. Clone, install, and run any example.
Or follow the 6 steps below to wire it up yourself.
Clone the Agentic ID examples
git clone https://github.com/0gfoundation/agenticID-examplescd agenticID-examples/examples/01-mint-and-managenpm install
Run the beginner app
# the app points to a pre-deployed contract on 0G Galileo Testnet:# 0x2700F6A3e505402C9daB154C5c6ab9cAEC98EF1F# optional: set a WalletConnect project id for mobile wallet support# get one at https://cloud.walletconnect.com# NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=...npm run dev# open http://localhost:3000 and connect a wallet funded on 0G Galileo
Register an AI agent
// mint an Agentic ID token with encrypted intelligent data hashesfunction mint(address to,string calldata encryptedURI,bytes32 metadataHash) external onlyOwner returns (uint256);// each field (model, prompt, capability) is hashed on-chain// so anyone can verify the agent without seeing its data.
Authorize another address to use your agent
// grant per-token execution rights without transferring ownershipfunction authorizeUsage(uint256 tokenId,address executor,bytes calldata permissions) external;// up to 100 authorized users per token// revoke any time with revokeAuthorization(tokenId, executor)
Transfer with re-encryption
// the oracle (TEE or ZKP) re-encrypts intelligent data// for the new owner and generates a prooffunction iTransferFrom(address from,address to,uint256 tokenId,bytes calldata sealedKey,bytes calldata proof) external;// authorizations are cleared on transfer for security.
Deploy your own instance
# set PRIVATE_KEY in .env (funded on 0G Galileo Testnet)cd agenticID-examples/examples/01-mint-and-managenpm run deploy:testnet
Note
The examples ship a simplified ERC-7857 contract. For production, use the reference implementation at 0gfoundation/0g-agent-nft with real TEE/ZKP proof verification.
§ 03 · Deep dive
§ 04 · Tutorials
§ 05 · Built with Agentic ID
View showcase →DIVE
Decentralized intelligence verification engine where human-backed AI agent swarms resolve prediction markets and trigger autonomous on-chain settlement.
ETHGlobal Cannes 2026Orchestra
Conversational AI agent for crypto swaps and transfers, using 0G Compute for inference and 0G Storage for agent memory, with Ledger hardware approval for high-value transactions.
ETHGlobal Cannes 2026CaaS
Claw-as-a-Service platform for deploying World ID-verified autonomous AI agents as ERC-7857 Agentic IDs on 0G Chain with 0G Storage memory and WLD-powered x402 micropayments.
ETHGlobal Cannes 2026Genie
AI DeFi agent inside World App providing private accounting, chat-based financial transactions, and cross-chain USDC, built on 0G.
ETHGlobal Cannes 2026GhostFi
DeFi AI agent marketplace where users create, fork, and mint yield strategy agents as Agentic IDs with 0G-backed inference and storage for verifiable metadata.
ETHGlobal Cannes 2026AgentExpo
AI-powered virtual expo where agents represent diverse participants, match on interests, and settle deals instantly via agent-to-agent stablecoin micropayments.
ETHGlobal Cannes 2026