About
## The Problem
Autonomous AI agents are starting to hold wallets, execute trades, run MEV bots, and consume DeFi primitives. But they have no credit history. A brand-new agent and a proven arbitrageur look identical to a lending protocol. The result: every agent is either over-collateralized (capital inefficient) or flat-out blocked (no access). Agents today are the unbanked of on-chain finance.
## What MeritScore Is
**MeritScore is the Experian for autonomous agents** — an on-chain credit bureau that scores any agent's merit using a 4-axis formula (Performance, Consistency, Risk-Adjusted Return, Efficiency), multiplies it by an integrity check, and commits the score on-chain as a credentialed primitive any protocol can consume.
We built a live, end-to-end Credit Layer:
- **Scoring (0G Compute)**: A TEE-verified DeepSeek-v3 model ingests on-chain behavior (tx patterns, wash-trade signals, volatility) and returns a Merit score 0.0–1.0 plus a natural-language explanation. The TEE attestation hash is committed on-chain, so *scores are verifiable, not just claimed*. - **Hard Gate (Integrity Multiplier)**: If integrity_risk > 0.85, Merit hard-fails to 0. This makes the scoring cryptographically auditable — demonstrated live by "Carol", an agent with 19% ROI but wash-trade evidence, who scores **0.0000**. - **Storage (0G Storage)**: Every epoch's evidence bundle (inputs, AI reasoning, TEE attestation) is uploaded via the native `@0glabs/0g-ts-sdk`, returning a Merkle root that the LendingPool verifies on-chain. Full reproducibility. - **Enforcement (Base Sepolia)**: A real LendingPool contract reads the Merit score and gates borrowing. Alice (28% ROI, volatile) is REJECTED. Bob (11% ROI, disciplined) is APPROVED and receives a collateral-light loan. Carol is BLOCKED. - **Orchestration (KeeperHub)**: The full evaluation flow (check → score → execute) is packaged as a 3-step KeeperHub workflow and registered as a first-party **MCP tool** (`merit-score`) in the KeeperHub registry — any agent workflow on KH can now call Merit as a built-in primitive.
## Live Demo
Visit **meritscore.streamlit.app** and click "Evaluate Agent" on any of the three candidates. In ~15 seconds you see: (1) the AI's reasoning, (2) the TEE attestation card, (3) the KeeperHub 3-step workflow log, (4) the on-chain Merit commit, and (5) the Base Sepolia lending decision — all with live explorer links.
## Why This Matters
Once an agent has an on-chain credit score, entirely new markets open: collateral-light lending for proven agents, MEV-bot rate-limiting by integrity, reputation-gated DAO voting, and trust-minimized agent-to-agent payments. MeritScore is the primitive that makes all of that composable.
## Built in 9 days
Contracts, scoring engine, 0G Compute integration, 0G Storage SDK, KH workflow, MCP registration, LendingPool on Base Sepolia, and a Streamlit UI — no pre-existing code, full git history, reproducible end-to-end.
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






