Skip to content

Conversation

@serayd61
Copy link

Summary

This PR adds a new Aave V3 Action Provider for lending and borrowing operations, addressing the "Aave integration" item from WISHLIST.md.

New Actions

Action Description
supply Supply assets as collateral to Aave
withdraw Withdraw supplied assets from Aave
borrow Borrow assets with variable/stable interest rates
repay Repay borrowed assets to Aave
get_user_data Get user's account summary including health factor

Supported Networks

  • ✅ Base Mainnet
  • ✅ Ethereum Mainnet

Supported Assets

  • WETH, USDC, cbETH, wstETH, DAI, USDT

Features

  • Variable and stable interest rate modes
  • Health factor monitoring with visual status indicators
  • Comprehensive input validation with Zod schemas
  • Full documentation and unit tests

Files Added

  • typescript/agentkit/src/action-providers/aave/aaveActionProvider.ts
  • typescript/agentkit/src/action-providers/aave/schemas.ts
  • typescript/agentkit/src/action-providers/aave/constants.ts
  • typescript/agentkit/src/action-providers/aave/index.ts
  • typescript/agentkit/src/action-providers/aave/README.md
  • typescript/agentkit/src/action-providers/aave/aaveActionProvider.test.ts

Related Issues

Addresses WISHLIST.md item:

  • ✅ DeFi Actions > Lending & Borrowing > Aave integration

Testing

All schemas and provider methods have unit tests.

This PR adds a new Aave V3 Action Provider with the following actions:

1. supply - Supply assets as collateral to Aave
2. withdraw - Withdraw supplied assets from Aave
3. borrow - Borrow assets against collateral with variable/stable rates
4. repay - Repay borrowed assets to Aave
5. get_user_data - Get user's account summary including health factor

Features:
- Support for Base Mainnet and Ethereum Mainnet
- Support for WETH, USDC, cbETH, wstETH, DAI, USDT
- Variable and stable interest rate modes
- Health factor monitoring with status indicators
- Comprehensive documentation and tests

Addresses WISHLIST.md item: Aave integration
@cb-heimdall
Copy link

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

@github-actions github-actions bot added documentation Improvements or additions to documentation action provider New action provider typescript labels Dec 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action provider New action provider documentation Improvements or additions to documentation typescript

Development

Successfully merging this pull request may close these issues.

2 participants