Aave-specific agent contracts for automated risk parameter updates via the Chaos Agents middleware.
This repository contains lightweight agent contracts that validate and inject automated risk parameter updates from the Chaos Risk Oracle into Aave protocol. Each agent handles specific risk parameter types and includes Aave-specific validation logic.
The agents require RISK_ADMIN role granted by Aave governance and are controlled through a single Aave agent hub.
The system operates through three components:
- Chaos Risk Oracle publishes automated risk parameter updates (caps, rates, ltv etc.) on-chain.
- Chaos Agents middleware pulls oracle payloads, runs protocol checks, forwards to agents.
- Aave Risk Agents validate payloads against Aave rules, execute protocol state changes.
This repository hosts the following Aave-specific agent implementations:
| Agent | Purpose | Contract |
|---|---|---|
| CAPO Agent | Validate/update CAPO feed parameters (snapshot ratio, maxGrowthPercent) | AaveCapoAgent.sol |
| Supply Cap Agent | Validate/update supply caps for assets | AaveSupplyCapAgent.sol |
| Borrow Cap Agent | Validate/update borrow caps for assets | AaveBorrowCapAgent.sol |
| Discount Rate Agent | Validate/update discount-rate on Pendle PT feeds | AaveDiscountRateAgent.sol |
| E-Mode Agent | Validate/update E-Mode category parameters | AaveEModeAgent.sol |
| Rates Agent | Validate/update interest rate strategy updates | AaveRatesAgent.sol |
Note: These agents require the RISK_ADMIN role from Aave governance and must be controlled by a single Aave agent hub.
forge installforge buildforge testThis project is released under the MIT license. Copyright © 2025, Aave DAO, represented by its governance smart contracts.