Feature/pond action provider #740
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds the Pond action provider integration to AgentKit (Typescript), enabling access to Pond's comprehensive on-chain analytics and data services. The integration includes:
A new
PondActionProvider
class that provides the following actions:get_wallet_risk_score
(WalletRiskScoreSchema): Assesses wallet risk based on activity patternsget_wallet_summary
(WalletSummarySchema): Provides detailed wallet activity analyticsget_sybil_prediction
(SybilPredictionSchema): Detects potential Sybil wallet behaviorget_token_price_prediction
(TokenPricePredictionSchema): Predicts token price movementsget_token_risk_scores
(TokenRiskScoreSchema): Comprehensive token risk assessmentget_top_solana_meme_coins
(TopSolanaMemeCoinsSchema): Analyzes trending Solana meme coinsget_base_data_analysis
(BaseDataAnalystSchema): Advanced LLM-powered analysis of Base chain dataget_eth_data_analysis
(EthereumDataAnalystSchema): Advanced LLM-powered analysis of Ethereum chain dataget_pump_fun_price_prediction
(PumpFunPricePredictionSchema): Specialized price prediction modelget_zora_nft_recommendations
(ZoraNFTRecommendationSchema): Personalized NFT recommendationsget_security_assessment
(SecurityModelSchema): Comprehensive security analysisIntegration with the example chatbot to demonstrate usage
Simplified error handling and date formatting for better maintainability
Raw score outputs for LLM interpretation instead of hardcoded classifications
Tests
Chatbot: typescript/examples/langchain-cdp-chatbot/chatbot.ts
Network: Base/Ethereum
Setup: Using Pond API for on-chain analytics (ive put the general user API for testing, the number of request is limited)
for Eth and Base data analyst API setup, let me know if you need me to share via secure approaches.
Test Cases:
Checklist