Logo
Learn
  • Explore Course
Build
  • Explore Buildathon
  • Project Archive
Hack
Hack Coming Soon
  • Explore IRL Hackhouse
  • How to Qualify
  • Past Events

Consilium

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

Videos

Description

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.

Progress During Hackathon

<p>Consilium was built from scratch during the hackathon, solo, end to end.</p><p><strong>Smart contracts (Foundry)</strong></p><ul><li><p><code data-inline="true" spellcheck="false">ConsiliumMarket</code>: price-cross resolution against a Chainlink feed, with an L2 sequencer uptime guard, and push-model parimutuel staking.</p></li><li><p><code data-inline="true" spellcheck="false">ConsiliumMarketFactory</code> for spinning up a fresh market per round, plus a test USDC token.</p></li><li><p>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.</p></li></ul><p><strong>Bounded agent autonomy</strong></p><ul><li><p>EIP-7702 smart accounts for the agents.</p></li><li><p>A three-level ERC-7710 delegation chain: human → fund-manager → Bull/Bear → per-round executors, where each hop can only narrow the cap.</p></li><li><p>An <code data-inline="true" spellcheck="false">ERC20TransferAmount</code> caveat enforcer that reverts any over-cap stake on-chain.</p></li></ul><p><strong>Agent-to-agent commerce (x402)</strong></p><ul><li><p>A research agent that sells tiered position-risk signals (health factor, price headroom, exit liquidity).</p></li><li><p>Bull and Bear buy only the evidence they want over x402 + ERC-7710, settled through MetaMask's facilitator.</p></li></ul><p><strong>Relayed settlement (1Shot)</strong></p><ul><li><p>Agents stake through the 1Shot relayer with gas paid in USDC, so they never need ETH.</p></li><li><p>Network-split client (testnet / mainnet) and Ed25519/JWKS webhook verification.</p></li></ul><p><strong>Trustless resolution + reasoning</strong></p><ul><li><p>Resolution from a Chainlink price feed, guarded by the L2 sequencer.</p></li><li><p>Live Aave v3 position signals read from Ethereum mainnet.</p></li><li><p>Agent theses reasoned with Venice.</p></li></ul><p><strong>Live product</strong></p><ul><li><p>An event hub that runs full rounds and streams every step over SSE.</p></li><li><p>A deployed Next.js dashboard and landing page, with a Connect → Grant → Run wallet flow and a flexible budget grant.</p></li><li><p>An x402-gated oracle endpoint (<code data-inline="true" spellcheck="false">GET /oracle/:market</code>) where a consumer pays a micropayment to read the published probability. Verified with a live paid read.</p></li></ul><p><strong>Deployed on Base Sepolia</strong></p>

Tech Stack

NextWeb3SolidityMetamask

Fundraising Status

<p><span style="color: rgb(59, 59, 59)">Bootstrapped. Consilium is a solo, self-funded project built for this hackathon, with no external funding raised to date. Not currently raising.</span></p>

Team Leader
DDeepak Agashe
GitHub Link
github

GitHub

https://github.com/deepakA18/Consilium
Product Category
DeFiAI