All projects

Aether Sentinel

Autonomous AI risk intelligence for DeFi — powered by Chainlink CRE, x402 & World ID

DeFi & Tokenization Prediction Markets CRE & AI Privacy Risk & Compliance World

What it is

Aether Sentinel is an autonomous DeFi risk management platform that uses Chainlink CRE workflows to monitor vault health on-chain, run AI risk analysis off-chain through DON consensus, and execute protective actions back on-chain — all without human intervention.

How it works:

  1. A CRE workflow reads vault state from TokenizedVault on Sepolia using EVMClient.callContract()
  2. Sends it to an AI risk engine via HTTPClient.sendRequest() — this runs through DON consensus where multiple nodes independently call the AI engine and agree on the risk score
  3. If risk exceeds the threshold, EVMClient.writeReport() autonomously triggers on-chain safeguards on RiskGuardian — emergency pause, reserve adjustment, or emergency governance proposals
  4. A second CRE workflow fetches CoinGecko ETH prices via HTTPClient and auto-settles expired prediction markets on-chain
  5. Premium deep risk analysis (scenario modeling, mitigation strategies, predictive forecasts) is monetized via x402 HTTP micropayments — $0.001 USDC per request on Base Sepolia
  6. Governance is sybil-resistant through World ID — one person, one vote, and CRE workflows can autonomously create emergency proposals for humans to vote on

Problem it solves:
DeFi protocols lose billions annually to risk events that could be prevented with faster responses. Humans can't monitor 24/7 or react in milliseconds. Aether Sentinel replaces slow human monitoring with autonomous AI + Chainlink's decentralized infrastructure, while preserving human governance through World ID-verified voting.

How it Works

  • Chainlink CRE Workflows (TypeScript): 2 workflows using EVMClient (read/write Sepolia contracts), HTTPClient (AI engine + CoinGecko), CronCapability (scheduled triggers), and consensusMedianAggregation (DON consensus on risk scores and prices)
  • Smart Contracts (Solidity 0.8.24): TokenizedVault (ERC20 vault), RiskGuardian (CRE_ROLE authorized safeguards), GovernanceModule (World ID + CRE emergency proposals), PredictionMarket (CRE auto-settlement). Plus 3 Oasis Sapphire confidential contracts for encrypted risk thresholds, private liquidation auctions, and confidential treasury management
  • Backend (Express.js + TypeScript): REST API with Socket.IO real-time updates, ethers.js Sepolia connection, x402 payment middleware (@x402/express, @x402/evm, @x402/core) for premium endpoint paywall on Base Sepolia
  • Frontend (Next.js 14 + React 18): 5 pages — Dashboard, Vault, Prediction Markets, Governance, Premium Analysis. RainbowKit wallet, Zustand state management, real-time WebSocket updates, all showing live Sepolia contract data
  • AI Risk Engine (Python FastAPI): scikit-learn + TensorFlow anomaly detection (backend has local fallback formula when engine is unavailable)
  • x402: HTTP-native micropayments on Base Sepolia for premium API monetization
  • World ID: Sybil-resistant governance voting verification

Links

Created by

  • Ashwin Goyal