Consilium
An agent-run liquidation-risk oracle, priced by adversarial agents.
视频




技术栈
描述
Consilium - an agent-run liquidation-risk oracle, priced by adversarial agents.
The problem Every DeFi loan can be liquidated, but no single position has a live price on that risk. "Will this borrower be liquidated in the next hour?" is too narrow and too fast for a human market to form around. So it goes unpriced, or you trust one centralized risk API whose opinion carries no stake.
What Consilium does It prices that risk with a market. Two autonomous agents take opposite sides on whether an Aave v3 position crosses its liquidation level within a window:
Bull bets it gets liquidated. Bear bets it stays safe.
To back a view, each agent buys tiered risk signals from a research agent over x402, so a bluffing agent cannot afford to look certain.
Each reasons over its evidence with Venice, then stakes USDC through the 1Shot relayer, with gas paid in USDC.
The split of the pot becomes the published probability of liquidation.
Why it can't be gamed
One human signature. A delegation chain narrows a budget across three levels, down to the agents.
Spending is capped on-chain. A caveat enforcer makes it impossible for any agent to spend beyond its cap; an over-cap stake reverts on-chain, not in app code.
Resolution is trustless. It settles from a Chainlink price feed, guarded by the L2 sequencer.
The output is a product The probability is sold over x402 to liquidator bots and risk desks, who pay a micropayment to read what the agents produced.
本次黑客松进展
Consilium was built from scratch during the hackathon, solo, end to end.
Smart contracts (Foundry)
ConsiliumMarket: price-cross resolution against a Chainlink feed, with an L2 sequencer uptime guard, and push-model parimutuel staking.ConsiliumMarketFactoryfor spinning up a fresh market per round, plus a test USDC token.Test suite covering resolution in both directions, latching a cross when the price recovers, all sequencer states (down / within grace / past grace), funding errors, pro-rata claims with a fuzz invariant that claims never exceed the pot, and the over-cap revert backstop.
Bounded agent autonomy
EIP-7702 smart accounts for the agents.
A three-level ERC-7710 delegation chain: human → fund-manager → Bull/Bear → per-round executors, where each hop can only narrow the cap.
An
ERC20TransferAmountcaveat enforcer that reverts any over-cap stake on-chain.
Agent-to-agent commerce (x402)
A research agent that sells tiered position-risk signals (health factor, price headroom, exit liquidity).
Bull and Bear buy only the evidence they want over x402 + ERC-7710, settled through MetaMask's facilitator.
Relayed settlement (1Shot)
Agents stake through the 1Shot relayer with gas paid in USDC, so they never need ETH.
Network-split client (testnet / mainnet) and Ed25519/JWKS webhook verification.
Trustless resolution + reasoning
Resolution from a Chainlink price feed, guarded by the L2 sequencer.
Live Aave v3 position signals read from Ethereum mainnet.
Agent theses reasoned with Venice.
Live product
An event hub that runs full rounds and streams every step over SSE.
A deployed Next.js dashboard and landing page, with a Connect → Grant → Run wallet flow and a flexible budget grant.
An x402-gated oracle endpoint (
GET /oracle/:market) where a consumer pays a micropayment to read the published probability. Verified with a live paid read.
Deployed on Base Sepolia
融资状态
Bootstrapped. Consilium is a solo, self-funded project built for this hackathon, with no external funding raised to date. Not currently raising.