Verified location-bound retail evidence for AI agents, delivered by human field workers.
One address for any MCP client. No sign-in needed on this server.
4 other
Grouped by tool name. At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Dispatch a field check and receive fresh photographic evidence, structured observations, and an auditable verification receipt.
GroundTruth is a field-evidence API. Its first commercial workflow is retail verification: current shelf availability, prices, promotions, and display compliance that cannot be answered reliably from an existing database.
An operations team or AI agent creates a funded task, a field operator completes it, and GroundTruth returns structured results with an evidence trail. The existing prototype supports MCP and A2A, photo and form proof, AI-assisted verification, freshness challenges, and x402 payment in USDC on Arbitrum One and Base or USD₮0 on X Layer. Privacy-preserving evidence receipt hashes can be anchored to the deployed Arbitrum Sepolia registry.
The product is currently in focused-pilot mode. Coverage and turnaround are confirmed before a field campaign begins; the project does not claim universal geographic coverage.
For the Arbitrum Open House build, GroundTruth also demonstrates an end-to-end USDG escrow and evidence-receipt flow on Robinhood Chain Testnet: fund a verification, anchor its private evidence digest, and release USDG only after a verdict. This is a protocol demonstration, not customer revenue.
The application includes crawler and agent discovery (robots.txt, sitemap.xml, JSON-LD, llms.txt, OpenAPI, MCP, A2A, /.well-known/agent.json, and /.well-known/agent-card.json), private campaign sessions, redacted public task views, signed worker claims, upload validation, persistent rate limiting, audit events, legal/safety pages, hardened browser headers, and /api/health readiness reporting.
Before enabling real public traffic:
supabase/migrations in order, including 004_campaigns.sql and 005_production_hardening.sql..env.example with separate high-entropy admin, pilot, and claim-signing secrets./api/health, and verify database backups and evidence retention./api/health intentionally returns HTTP 503 until required configuration and migrations are present. A successful website build is not treated as proof of operational readiness.
AI Agent → [MCP: human_do] → x402 Payment → Oracle Board
↓
AI Agent ← [MCP: task_status] ← Verified Proof ← Human Oracle
Live app: https://groundtruth-oracle.vercel.app
Interactive retail campaign: /campaigns/demo (local or deployed)
Campaign builder: /campaigns/new (requires the configured pilot access key)
Robinhood + USDG proof: /robinhood (public, account-free, live onchain reads)
Video demo: https://x.com/0xBejini/status/2078065892659958215
The public activity page includes development, demo, and testnet usage. It is not presented as customer traction.
The complete demo sequence and production prerequisites are documented in docs/RETAIL-DEMO.md.
Add the MCP server to Claude Code:
claude mcp add groundtruth --transport http https://groundtruth-oracle.vercel.app/api/mcp
Then in a Claude session, inspect the service before requesting a paid task:
Call ground_truth_info, then prepare a human_do request with:
- intent: "Verify the nearest coffee shop is open and photograph the entrance"
- service_tier: "quick_check"
- proof_spec.type: "photo"
- proof_spec.instructions: "Clear photo of the entrance showing it is open"
The unpaid call returns a machine-readable HTTP 402 challenge. A compatible wallet may select one advertised rail, authorize the exact amount and recipient, and replay the request. Coverage and fulfillment remain asynchronous.
┌─────────────────────────────────────────────────────────┐
│ AI Agent (MCP) │
│ ground_truth_info → human_do → task_status │
└────────────────────────┬────────────────────────────────┘
│ x402 X-PAYMENT header
▼
┌─────────────────────────────────────────────────────────┐
│ GroundTruth API (Next.js) │
│ /api/mcp MCP server (SSE transport) │
│ /api/v1/human-do Task creation + payment verify │
│ /api/v1/tasks/:id Task status + proof │
│ /api/faucet mUSDT testnet faucet │
└────────┬───────────────────────┬────────────────────────┘
│ │
▼ ▼
┌─────────────────┐ ┌──────────────────────────────────┐
│ Supabase DB │ │ Onchain payment rails │
│ tasks │ │ GroundTruthPayroll.sol │
│ payments │ │ Arbitrum One USDC (42161) │
│ workers │ │ Base USDC (8453) │
│ proof_hashes │ │ X Layer USD₮0 (196) │
└─────────────────┘ └──────────────────────────────────┘
Evidence receipt hashes are recorded separately in `EvidenceReceiptRegistry`
on Arbitrum Sepolia (`0xaf712732bd2c8ef589bb9fff5421ed428e4207e1`).
The hackathon demonstration also runs a USDG escrow plus receipt registry on Robinhood Chain Testnet (46630).
1. Autonomous x402 Payment (agent-initiated)
human_do via HTTP or MCP.2. Human Oracle Flow
/tasks — sees mission board3. Payment Verification (fail-closed)
4. Proof Verification — the semantic notary (lib/notary.ts)
Proof is checked on two levels, not just "a file was uploaded":
Integrity gate — correct type, image decodes, required form fields present, not a duplicate. Blatant fraud fails instantly.
Semantic notary — an AI judges whether the proof actually satisfies the task intent:
A confident mismatch is rejected with no payout (a photo of a wall, a gibberish form). When the model is unsure, it errs toward paying the worker — GroundTruth never denies an honest oracle over an AI hiccup. The verdict (decision · confidence · reason) is stored on the task and shown to both the oracle and the calling agent.
This makes "proof" mean verified content, not a decodable JPEG.
| Layer | Technology |
|---|---|
| Frontend | Next.js 15, React, Tailwind CSS |
| MCP Server | mcp-handler, Streamable HTTP transport |
| Blockchain | viem v2, Arbitrum One/Sepolia, Base, X Layer |
| Smart Contract | Solidity, GroundTruthPayroll.sol, EvidenceReceiptRegistry.sol |
| Database | Supabase (PostgreSQL + RLS) |
| Payments | x402 v2, canonical USDC, USD₮0 |
| AI Marketplace | OKX AI (ASP #6282, A2MCP service) |
| Deployment | Vercel |
ground_truth_infoReturns service info, pricing, and endpoint details.
human_do{
intent: string // What you want verified
proof_type: "photo" | "form"
instructions: string // Instructions for the human oracle
budget_usdt?: string // Default: "2.00"
timeout_seconds?: number // Default: 3600
}
Returns task_id, board_url, poll_url, and full payment audit trail including faucet_tx and payment_tx.
task_status{
task_id: string // UUID from human_do
}
Returns status (pending → claimed → submitted → verified), result, proof_available.
GroundTruthPayroll.sol — deployed on X Layer testnet
Address: 0x430172985b21458d73576435D4aD4bEeA85F376C
Network: X Layer testnet (chainId 1952)
Handles the legacy X Layer worker-payout path. It is not described as buyer escrow.
EvidenceReceiptRegistry.sol — deployed on Arbitrum Sepolia
Address: 0xaf712732bd2c8ef589bb9fff5421ed428e4207e1
Network: Arbitrum Sepolia (chainId 421614)
Deployment: 0xaa1f82b0839f4242c49d14d12ed0c896d5250d89db2e59a57e41f80bb1ed5083
Stores only the immutable hashes of the task key, evidence manifest, proof specification, and verdict plus capture/record timestamps. Raw photos, precise coordinates, and personal data remain offchain.
GroundTruthUSDGTaskEscrow.sol — deployed on Robinhood Chain Testnet
Escrow: 0x725cce0916d2e8682438732fd9e79803b4fab2bd
Registry: 0x430172985b21458d73576435d4ad4beea85f376c
USDG: 0x7E955252E15c84f5768B83c41a71F9eba181802F
Network: Robinhood Chain Testnet (chainId 46630)
The public demonstration funded and settled exactly 1.000000 test USDG. The app reads both contracts live and links the funding, receipt, and settlement transactions. It does not claim that test USDG is revenue or that a test transaction is customer adoption.
git clone https://github.com/unspecifiedcoder/groundtruth
cd groundtruth
pnpm install
Copy .env.example to .env.local:
cp .env.example .env.local
Fill in:
# Supabase
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
SUPABASE_SERVICE_ROLE_KEY=
# X Layer wallet (testnet)
SETTLEMENT_PRIVATE_KEY=
# App
NEXT_PUBLIC_APP_URL=http://localhost:3000
ADMIN_SECRET=your-secret-key
# OKX
OKX_PAYMENT_TOKEN=0x74b7F16337b8972027F6196A17a631aC6dE26d22
OKX_PAYMENT_NETWORK=196
ASP_PRICE_USDT=2.00
ASP_FEE_BPS=1200
Run database migrations:
pnpm supabase db push
Start dev server:
pnpm dev
| Endpoint | Method | Description |
|---|---|---|
/api/mcp | GET/POST | MCP server (SSE transport) |
/api/v1/human-do | POST | Create task (x402 payment required) |
/api/v1/tasks/:id | GET | Get task status + proof |
/api/faucet | POST | Drip 10 mUSDT to address (testnet) |
/api/faucet | GET | Check mUSDT balance |
/api/pulse | GET | Network stats |
{
"from": "0x...",
"txHash": "0x...",
"paymentReference": "unique-ref",
"network": "xlayer-testnet",
"token": "0x725cCe0916d2E8682438732fD9e79803B4fAB2BD",
"amount": "2000000"
}
Base64-encode and send as X-PAYMENT header.
├── app/
│ ├── api/
│ │ ├── [transport]/ # MCP server
│ │ ├── v1/human-do/ # Task creation + payment
│ │ ├── v1/tasks/[id]/ # Task status
│ │ └── faucet/ # mUSDT faucet
│ ├── tasks/ # Oracle mission board
│ ├── pulse/ # Network stats
│ └── faucet/ # Faucet UI
├── lib/
│ ├── agent-pay.ts # Autonomous x402 payment
│ ├── payment.ts # x402 verify + challenge
│ ├── chain.ts # viem X Layer client
│ ├── db.ts # Supabase queries
│ └── planner.ts # Task planning
├── contracts/
│ └── src/
│ ├── GroundTruthPayroll.sol
│ ├── EvidenceReceiptRegistry.sol
│ └── GroundTruthUSDGTaskEscrow.sol
└── supabase/
└── migrations/
Every payment GroundTruth processes is verifiable on OKX's X Layer explorer:
Example transaction:
https://www.okx.com/web3/explorer/xlayer-test/tx/0x5c5d7d7f4a19c359b2445652dc9b7cf88fbe2a1c7c07273614db0902d3363d6a
OKX AI Agent Hackathon 2026
MIT