All projects

Auvra

Privacy-preserving AI risk agents safeguarding DeFi protocols via CRE, World ID, & Tenderly.

CRE & AI Risk & Compliance Privacy World Tenderly Thirdweb

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:

  1. 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.
  2. It uses Chainlink Confidential Compute to keep the risk-evaluation heuristics off-chain and hidden from MEV bots.
  3. 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.
  4. 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:

  1. Chainlink CRE (TypeScript SDK): The heartbeat of the system. We developed a custom TypeScript CRE workflow with an http.Trigger that handles the AI's webhook. It utilizes the HTTPClient for Tenderly simulation requests and the EVMClient for finalizing the on-chain write.
  2. 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.
  3. 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.
  4. Veridex Protocol: The AI agent operates using the @veridex/agentic-payments SDK. 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