OSZILLOR
AI-driven ETH yield vault with autonomous risk response via 4 CRE workflows + x402 paid API
What it is
OSZILLOR is a risk-managed ETH yield vault that removes humans from the incident response loop. Users deposit ETH to earn Lido staking yield. When markets crash, the protocol detects the threat via AI, pauses itself, rescues funds, and rebalances — all autonomously through Chainlink CRE workflows executing on a DON
How it Works
Four coordinated CRE workflows continuously monitor the market, reason about threats, and execute protective actions on-chain:
W1 — Risk Scanner (30s cron)
Aggregates 5 data sources — CoinGecko ETH/stETH prices, DefiLlama TVL, News API sentiment via ConfidentialHTTPClient, and Groq LLM risk diagnosis. Computes a 0–100 risk score via bigint arithmetic, reaches DON consensus (median for numbers, common-prefix for AI text), and writes the risk report + AI reasoning hash to RiskEngine on-chain.
W2 — Event Sentinel (15s cron)
Fast anomaly detection for acute crashes. Independently checks ETH price drops (>5%) and stETH depegs (<0.995 ratio). On threat confirmation, writes to EventSentinel — which pauses the vault and triggers emergency mode. No human approval needed.
W3 — Rebase Executor (5m cron)
Reads on-chain state via EVM Read (risk score from RiskEngine, vault balance, strategy NAV). Computes optimal ETH/USDC allocation based on risk tier:
- SAFE → 90% ETH
- CRITICAL → 0% ETH
Writes rebalance + rebase report to RebaseExecutor, which calls vault.rebalance() then vault.triggerRebase(), adjusting all OSZ holder balances automatically.
W4 — Risk Alerts (HTTP trigger + 60s cron)
Powers the x402 Risk Intelligence API. The HTTP trigger receives paid alert subscriptions and writes them to AlertRegistry on Base Sepolia. The cron trigger performs cross-chain EVM reads from both Base Sepolia (AlertRegistry rules) and Ethereum Sepolia (OszillorVault risk state) to evaluate alert conditions.
The x402 Monetization Layer
OSZILLOR exposes its risk intelligence as a paid API via x402 micropayments (Base Sepolia USDC). AI agents pay $0.001–$0.01 per request for real-time risk scores, portfolio state, and alert subscriptions. A Coinbase AgentKit agent with its own CDP wallet autonomously consumes this data — true machine-to-machine commerce.
You can copy-paste this directly into your submission or a README. Want me to also clean up the other sections?
Links
Created by
- Hitesh P