LendingKit

Aotomatically onchain payment and borrowing functionality with AgentKit and AAVE. Not only onchain payment, but also provide natural language borrowing experience while being advised by your financial AI assistance.

LendingKit

Created At

Agentic Ethereum

Winner of

Coinbase Developer Platform - AgentKit Pool Prize

Prize Pool

Project Description

This is a DeFi Agent which enables you to interact with AAVE using natural language and delivers easy-to-understand analytics after your operations. Instead of navigating complex interfaces or deciphering obscure data, you can now manage your DeFi activities effortlessly and make informed decisions with clarity.

Key functionalities include managing AAVE transactions such as deposits, borrowings, repayments, and withdraws as well as providing detailed analysis of user account positions before and after each action. Additionally, the agent offers utility features like fetching ETH from faucets when balances are insufficient, ensuring uninterrupted operations and instead of return hard to read error message directly, it would analysis error response and provide human readable error information.

By combining intuitive language processing with actionable insights and automatical assistance from AI, the DeFi Agent makes decentralized finance accessible, efficient, and user-friendly.

How it's Made

The DeFi Agent combines OpenAI GPT-4o-mini, AgentKit, AAVE and CDP to enable natural language interaction, autonomous onchain DeFi operations and financial analysis assistance. The implementation focuses on:

Customized AAVE Actions:

  • Developped customized AAVE actions including deposit, withdraw, borrow, repay and get account data functionalities and descriptions with customActionProvider for agent to execute and provide tunned responses after action executed.
  • Leverage CDP SDK for each action to interact with AAVE protocol.

Create React Agent with AgentKit:

  • Integrated OpenAI GPT-4o-mini, customized actions with AgentKit to create a react agent.
  • Configure the agent to automatically retrieves user account overviews before and after each action, delivering clear financial analysis and handling errors gracefully.

The agent was configured to act as a financial assistant, prioritizing concise and helpful responses. It ensures users are informed about their AAVE account status and the impact of their actions, while handling errors gracefully and autonomously resolving issues like insufficient gas fees.

background image mobile

Join the mailing list

Get the latest news and updates