Somnia Agentathon 2026
Gavel
The Onchain AI Court
Autonomous dispute resolution powered by Somnia agents, smart contracts & validator execution receipts. No lawyers. No trusted oracle backend.
1
Escrow contract
3
Live Somnia agents
100%
Validator receipts
Live on Somnia Testnet
Chain ID 50312
0xdc9A2ea119…138f6c5
Gavel
The Problem
Why Gavel exists
Disputes are slow,
expensive, and unverifiable.
⏳
Time-consuming
Disputes drag on for weeks or months waiting for human arbitrators to review evidence.
💸
Expensive
Legal fees, escrow agents, and arbitration costs eat into the disputed value substantially.
🔒
Off-chain & opaque
Evidence lives in emails and DMs — no verifiable, tamper-proof audit trail exists.
"Traditional escrow requires a human arbiter — someone users must blindly trust."
The Solution
Gavel turns dispute resolution into an on-chain workflow.
No lawyers. No trusted oracle backend.
✓
Smart contract escrow
✓
Somnia AI agents
✓
Auditable validator receipts
✓
Automatic fund release
How it works
01
🔒 Lock Escrow
Both parties deposit equal stakes into the Gavel smart contract on Somnia.
02
📎 Submit Evidence
Each party submits public evidence URLs — GitHub commits, invoices, screenshots.
03
🤖 Agents Deliberate
Somnia AI agents parse, validate, cross-check, and reason over all evidence autonomously.
04
⚖️ Verdict Enforced
Binding verdict triggers automatic fund release. Every step receipted on-chain.
Gavel
Somnia Integration
Built natively on Somnia's Agentic L1
Live agents, verified on-chain.
LLM Parse Website · Evidence Extraction
Parse Website Agent
ID: 12875401142070969085
Fetches and parses plaintiff & defendant evidence URLs, extracting factual claims, timestamps, and credibility scores on-chain.
LLM Inference · Final Judgment
Inference Agent
ID: 12847293847561029384
Generates structured verdict JSON containing winner, confidence score (0–100), and one-sentence reasoning based only on submitted evidence.
Platform Contract · Request Routing
SomniaAgents Contract
0x037Bb9C718F3f7fe5eCBDB0b600D607b52706776
Routes agent requests and delivers validator callbacks back to the Gavel DisputeEscrow contract.
Registry · Agent Metadata
AgentRegistry Contract
0x08D1Fc808f1983d2Ea7B63a28ECD4d8C885Cd02A
Registry layer for Somnia agents, providing explorer metadata and agent discovery information.
Deployed:
0xdc9A2ea119467AADcee21258A54138A8B138f6c5 · Shannon Testnet · Chain 50312
Gavel
Architecture
Full on-chain pipeline
From wallet to verdict — fully autonomous.
User
Wallet
→
Gavel
Dashboard
→
DisputeEscrow
.sol
→
Somnia
Agents
→
Verdict &
Payout
Agent pipeline stages
PlaintiffParse
LLM Parse Website
0.30 STT
DefendantParse
LLM Parse Website
0.30 STT
Judge
LLM Inference
0.30 STT
Tech stack
Solidity 0.8.24 · Hardhat
React + Vite · RainbowKit
Wagmi + Ethers v6
Vercel deployment
●
Current live arbitration budget: 1.38 STT · Read dynamically from the contract
Gavel
The AI Jury
Four agents. One verdict.
The jury deliberates autonomously.
AGENT 01
🔍 Research Agent
Fetches and parses all evidence URLs using Somnia's LLM Parse Website. Extracts factual claims, timestamps, and source credibility scores.
AGENT 02
✅ Validator Agent
Cross-checks extracted claims for consistency and source support. Flags unsupported, duplicated, contradictory, or ambiguous statements.
AGENT 03
⚠️ Skeptic Agent
Stress-tests both sides of the dispute. Surfaces weaknesses, missing evidence, and risk notes without deciding the final outcome.
AGENT 04
⚖️ Judge Agent
Synthesizes all outputs into a final structured verdict: winner, confidence (0–100), and one-sentence reasoning. Determines fund release.
Gavel
Use Cases
Built for the trustless economy
Anywhere value changes hands.
💼
Freelance work
→ Most common use case
Lock payment in escrow; agents verify deliverables against the brief automatically.
🛒
P2P marketplace
→ Zero platform liability
Goods, NFTs, digital assets — buyer and seller both protected autonomously.
🏛
DAO grants & bounties
→ Trustless governance
Release grant funds only when deliverables are verified on-chain by agents.
📋
B2B milestones
→ No escrow agent needed
Enterprise contracts with automated, milestone-based payment verification.
🎯
Prediction markets
→ Fully autonomous resolution
Agents parse official public sources to determine market outcomes reliably.
🔐
Insurance claims
→ Instant autonomous payout
Parametric insurance triggered by real-world events verified on-chain.
Gavel
Demo & Links
Try it live on Somnia Testnet
From wallet to verdict in minutes.
Demo flow
1
Connect wallet on the landing page
2
Switch to Somnia testnet (Chain ID 50312)
3
Create a dispute and lock escrow
4
Submit evidence URLs for both parties
5
Request arbitration with the live contract minimum (currently 1.38 STT)
6
Watch live hearing & open the Somnia receipt
Links
🌐 Live App
gavel-nine.vercel.app
⬡ GitHub
github.com/NikhilRaikwar/Gavel
📋 Contract
0xdc9A2ea119467AADcee21…8f6c5
🤖 Somnia Agents
agents.testnet.somnia.network
Gavel
The Onchain AI Court on Somnia
🌐 Live Demo
⬡ GitHub
📋 Contract
Built by Nikhil Raikwar · Somnia Agentathon 2026
←
1 / 9
→
⛶