MeritScore

Experian for AI agents — on-chain credit scores that gate DeFi access across 0G + Base.

Visit Repo
MeritScore banner

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.

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?

DormantLast push 216 days ago

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.

Adapt.ai

A decentralized AI agent marketplace enabling users to autonomously execute financial strategies in DeFi with tailored AI agents, multisig security and AI-driven insights.