hackquest logo

0GENT

Decentralized infrastructure for AI agents. Real email, phone, Domain, X Account, compute, and identity — paid per-call with native 0G tokens. No API keys. No accounts. Your wallet is your identity.

Videos

Project image 1
Project image 2
Project image 3
Project image 4

Tech Stack

React
Node
Ethers
Next
Solidity
Web3

Description

0GENT is the infrastructure layer that makes AI agents self-sovereign.

Today, every AI agent depends on human-managed API keys and credit cards to access real-world services. They can reason and plan, but they can't send an email, provision a phone number, or run an inference call without borrowing a human's credentials. This makes agents fundamentally dependent — not autonomous.

0GENT removes that dependency. It exposes real-world infrastructure (email, phone, compute, identity, memory) as HTTP endpoints that accept on-chain payments. When an agent calls a paid endpoint, the server responds with 402 Payment Required. The agent's wallet signs a transaction in native 0G tokens, the payment settles on-chain, and the resource is provisioned instantly — owned by the agent's wallet, recorded in the AgentRegistry smart contract.

No accounts. No API keys. No human approval. The wallet IS the identity.

What's live today:

- Agent Identity — ERC-721 NFT on 0G Chain, metadata on 0G Storage

- Email — real @0gent.xyz inboxes, send/receive to any address on the internet

- Phone & SMS — real phone numbers in 50+ countries via Telnyx, end-to-end SMS

- AI Inference — pay-per-call LLM via 0G Compute Network (no OpenAI dependency)

- Persistent Memory — key-value storage on 0G Storage, survives across sessions

- Published CLI/SDK on npm (@0gent/core) — one-line install for any agent

0G Stack integration:

- 0G Chain: All payments settle on-chain. 3 smart contracts deployed on mainnet (ZeroGentPayment, AgentRegistry, ZeroGentIdentity). 98 tests passing.

- 0G Storage: Agent memory persistence + identity NFT metadata pinning

- 0G Compute Network: Decentralized AI inference with broker-pattern payment relay

Everything is live at https://0gent.xyz with real on-chain traction: 69 transactions, 9 unique wallets, 13.61 0G processed.

Progress During Hackathon

Week 1-2: Smart contract development

- Designed and implemented ZeroGentPayment (x402 payment protocol with nonce replay protection), AgentRegistry (wallet-to-resource mapping), and ZeroGentIdentity (ERC-721 agent NFT)

- 98 unit + fuzz tests passing across all three contracts

- Deployed to 0G testnet (chain 16602)

Week 3: Core backend infrastructure

- Built Express + TypeScript API with x402 middleware that verifies on-chain payments before serving resources

- Integrated 0G Storage SDK for persistent agent memory and NFT metadata

- Integrated 0G Compute Network broker for decentralized AI inference

- Wired Resend (outbound email) + Cloudflare Email Workers with postal-mime (inbound email parsing)

- Email fully functional: agents send real emails, receive replies, read threads

Week 4: Phone, CLI/SDK, and frontend

- Integrated Telnyx for phone provisioning and SMS across 50+ countries

- Built and published @0gent/core CLI + SDK to npm (v0.2.5)

- Built React frontend with live stats dashboard, interactive docs, user dashboard with wallet connect

- Deployed backend to Railway, frontend to Vercel

Week 5: Polish, mainnet, and traction

- Mobile responsiveness sweep across all pages

- Deployed all 3 contracts to 0G mainnet (chain 16661)

- Migrated live API from testnet to mainnet — all payments now settle in real 0G tokens

- Funded 0G Compute broker ledger on mainnet

- Accumulated 69 real on-chain transactions from 9 unique wallets

- Verified end-to-end on mainnet: identity mint, email send/receive, AI inference, memory read/write

Fundraising Status

Not fundraising. This is a self-funded project built for the 0G APAC Hackathon. Open to grants and ecosystem support from 0G Foundation post-hackathon.

Team Leader
Mmartin machiebe
Project Link
Deploy Ecosystem
0G0G
Sector
DeFiInfraAI