Auvra
Privacy-preserving AI risk agents safeguarding DeFi protocols via CRE, World ID, & Tenderly.
What it is
DeFi protocols face a trilemma during live exploits: manual intervention is too slow, autonomous AI intervention is risky (hallucinations/unrestricted private keys), and simple on-chain parameters are highly vulnerable to MEV bot front-running.
Auvra is an Enterprise Risk Firewall that marries the speed of autonomous AI agents with human-in-the-loop biometric compliance, powered by Auvra's cross-chain identity framework.
When our autonomous AI Risk Agent detects an exploitative transaction (e.g., massive flash loans or price oracle manipulation), it uses its Auvra-delegated session key to autonomously pay for and trigger a Chainlink Runtime Environment (CRE) Workflow.
Instead of blindly acting, the CRE Workflow acts as a decentralized compliance orchestration layer:
- It simulates the emergency safeguard transaction (e.g., a protocol pause) using Tenderly Virtual Testnets to ensure it executes correctly without bricking the protocol state.
- It uses Chainlink Confidential Compute to keep the risk-evaluation heuristics off-chain and hidden from MEV bots.
- It suspends execution to demand human compliance via World ID. A protocol admin must authenticate via World ID to provide a biometric Proof of Humanness.
- Once verified, the CRE workflow finalizes the transaction on-chain.
By utilizing CRE as the coordination layer, Auvra AI solves the execution latency problem while strictly maintaining zero-trust guarantees.
How it Works
The system is built on four core pillars:
- Chainlink CRE (TypeScript SDK): The heartbeat of the system. We developed a custom TypeScript CRE workflow with an
http.Triggerthat handles the AI's webhook. It utilizes theHTTPClientfor Tenderly simulation requests and theEVMClientfor finalizing the on-chain write. - World ID (IDKit v3/v4): Integrated into the human-interfacing thirdweb frontend and validated off-chain within the CRE workflow. This ensures a real human admin authorizes the AI's proposed action.
- Tenderly Virtual TestNets: Implemented inside the CRE workflow via API. Before any AI-suggested parameter change or protocol pause is performed, the CRE workflow forks the mainnet state via Tenderly, simulates the transaction, and verifies the simulated output.
- Veridex Protocol: The AI agent operates using the
@veridex/agentic-paymentsSDK. It has a time-limited passkey session that allows it to pay for the CRE workflow orchestration using the x402 payment standard seamlessly.
Links
Created by
- Emmanuel Akanji