You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great work @Hebx! With OSS spirit see how can build on top & further contribute
cc agentkit team @John-peterson-coinbase
What we learnt integrating aave
Related to Typescript agenkit should install only dependencies of enabled action provider #332, case in point of aave, the official sdk depends on ethers@v5 Provider (not Signer though)
- replacing that to viem is non-trivial, as @aave/contract-helpers took multiple steps validating params with different contracts/services during withdraw / supply, especially if pre-approval is bundled or gas optimize path is taken.
- specifically agentkit viem wallet-> @aave/contract-helpers involves back and forth conversion of amount which could be error prone esp if amount is specified by llm
agentkit seems to be designed to run on single network, which make sense as it use single wallet
some trading strategies invovle rebalance positions across multiple markets/chains. will make more sense to support when agentkit action take in multiple wallets
Opened a fresh attempt at this: #1378 — pure viem, no ethers/@aave/contract-helpers dependency, addressing the concern that stalled #326. Supply/withdraw only for now (ERC-20 reserves), same pattern as the existing Morpho/Compound action providers.
Activity
Hebx commentedon Feb 9, 2025
Opened a PR that support supply / withdraw from aave v3 pool, tested on mainnet ✅.
#326
debuggingfuture commentedon Feb 10, 2025
Great work @Hebx! With OSS spirit see how can build on top & further contribute
cc agentkit team @John-peterson-coinbase
What we learnt integrating aave
Related to Typescript agenkit should install only dependencies of enabled action provider #332, case in point of aave, the official sdk depends on
ethers@v5Provider (not Signer though)- replacing that to viem is non-trivial, as
@aave/contract-helperstook multiple steps validating params with different contracts/services during withdraw / supply, especially if pre-approval is bundled or gas optimize path is taken.- specifically agentkit viem wallet->
@aave/contract-helpersinvolves back and forth conversion of amount which could be error prone esp if amount is specified by llmintegration tests in need
Our proposal for contribution:
once Feat/aave: Integrate Aave Actions to Agentkit #326 get merged, we could focus on extending with our impl
depends on Typescript agenkit should install only dependencies of enabled action provider #332,
@aave/contract-helpersðers@v5@aave/contract-helpersbut contain the ethers v5 dependency to those who need Aaveadding integration tests
.int.test.tsor@integrationin jest test namingsepolia,base-sepoliafor ETH,USDCStakemate369 commentedon Jul 20, 2026
Opened a fresh attempt at this: #1378 — pure viem, no ethers/@aave/contract-helpers dependency, addressing the concern that stalled #326. Supply/withdraw only for now (ERC-20 reserves), same pattern as the existing Morpho/Compound action providers.