Obey Agent Economy: Decentralized Inference Pipeline on 0G

## 1) Project Overview and Objectives

**What we’re building:** Obey Agent Economy is a multi-agent system where autonomous AI agents coordinate work, execute inference, trade on DeFi, and settle payments — all with on-chain provenance. The inference agent is built natively on all four 0G services: Compute, Storage, Chain, and Data Availability.

**What’s already built:**

- **agent-inference** (Go): 7-stage pipeline — receive task, discover providers, execute inference, store result, mint iNFT, publish audit trail, report result. All four 0G services have verified on-chain transactions on Galileo.

- **agent-coordinator** (Go): Multi-agent orchestration with quality gates and payment settlement

- **agent-defi** (Go): Autonomous DeFi trading on Base with risk controls

- **cre-risk-router** (Go/WASM): Chainlink CRE risk evaluation with on-chain receipts

- **contracts** (Solidity): AgentINFT (ERC-7857), ReputationDecay, AgentSettlement — 39 passing Foundry tests

- **dashboard** (Next.js): Real-time operational visibility across all agents

**Objectives for this grant:**

1. Deploy all 0G contracts to mainnet and execute full pipeline end-to-end

2. Complete session-based inference execution with live GPU providers

3. Open-source the inference agent as a reusable framework for other 0G builders

4. Build multi-provider load balancing across GPU providers registered on 0G Compute

-–

## 2) Technical Architecture and Implementation Plan

**0G Compute:** On-chain provider discovery via InferenceServing contract at 0xa79F4c8311FF93C06b8CfB403690cc987c93F91E. Live testing discovered 4 active providers running models from 7B to 27B parameters.

**0G Storage:** Persists inference results via Flow contract at 0x22E03a6A89B950F1c82ec5e74F8eCa321a105296. Every result gets a verifiable content ID anchored on-chain.

**0G Chain (Galileo):** AgentINFT deployed at 0x17F41075454cf268D0672dd24EFBeA29EF2Dc05b. Mints ERC-7857 iNFTs with AES-256-GCM encrypted inference metadata.

**0G Data Availability:** Publishes audit events via DA Entrance at 0xE75A073dA5bb7b0eC622170Fd268f35E675a957B.

**Implementation Plan (8 weeks):**

- W1-2: Deploy to mainnet, complete session auth, first end-to-end inference

- W3-4: Multi-provider load balancing, parallel on-chain operations

- W5-6: Open-source Go SDK for 0G services

- W7-8: Documentation, integration guide, community outreach

-–

## 3) How We Integrate with 0G Infrastructure

**We are one of the few projects using all 4 0G services in a single pipeline.**

### On-Chain Evidence (Galileo Testnet)

All transactions viewable on chainscan.0g.ai — search wallet 0x38CB2E2eeb45E6F70D267053DcE3815869a8C44d

| Operation | Tx Hash |

|-----------|---------|

| ReputationDecay deploy | 0x5a028b3fafd2179c3a453dd3f12b0cead16d86e3810e76b4776478dc06350c58 |

| AgentSettlement deploy | 0x30f03a1777ab8bb0c106260891ec69eb0c0226eaf9243b0456552825698ed89b |

| AgentINFT deploy | 0x929d4a74fd6a25ed34e1762181ba842edfa20f76b476a6adc1290db5175a88f4 |

| Storage submit (Flow) | 0x2f0474c92ff45d4844b84798b7e0a0234fbff93f4865f98aacb132ddf2cc0127 |

| DA submitOriginalData | 0xd1005231e72eac23e89b0d270d2961e46ef1ffeeb61d681fb7eba2a04a13040e |

| iNFT mint (token 1) | 0x1e3ef5d267abf759bf173ec7080bbb1c9bc99cdc56890ef36fa749bb542333a2 |

Also live across 3 other chains: Base Sepolia (9 txs), Hedera Testnet (70+ txs), Ethereum Sepolia (CRE risk router).

-–

## 4) Team Background and Experience

- Full-stack engineer: Go, Solidity, TypeScript, distributed systems

- Built the entire multi-chain agent system spanning 4 blockchains as a solo builder

- Chainlink CRE integration — live on-chain risk decisions with DON consensus

- Created developer tooling (hiero-plugin) with 5 ecosystem templates

- All code follows production patterns: context propagation, proper error handling, table-driven tests

-–

## 5) Funding Requirements and Milestones

**Requested grant:** $40K (plus gas credits if available)

**Use of funds:** 60% Engineering, 20% Infrastructure, 10% Security/QA, 10% Docs/Community

| Milestone | Week | Deliverable |

|-----------|------|-------------|

| M1 | — | **COMPLETE** — storage, DA, iNFT mint confirmed on Galileo |

| M2 | 4 | Multi-provider routing + parallel ops |

| M3 | 6 | Open-source Go SDK for 0G services |

| M4 | 8 | Documentation + integration guide |

-–

## Links

- **GitHub:** Blockhead Consulting · GitHub (agent-inference, agent-defi, contracts — all public)

- **Galileo Evidence:** chainscan.0g.ai/address/0x38CB2E2eeb45E6F70D267053DcE3815869a8C44d