Price Feed Plugin
Chainlink Price Feed Plugin for Hedera enabling AI agents to automate on-chain transactions.
Problem Statement
We developed a plugin for the Hedera Agent Kit that integrates Chainlink Price Feeds to enable real-time, oracle-based DeFi automation. This is the first plugin that connects Chainlink's decentralized price data directly with Hedera's agent framework, unlocking automated DeFi activities.How it works: The plugin queries Chainlink Price Feeds and executes automated actions on Hedera based on programmed logic and real-time real-world data.Users can create price-conditional commands and strategies using natural language, such as:Risk Management (Stop-loss/Take-profit): "Sell 50% of HBAR holdings when price reaches USD $0.10"Treasury Management for corporates: "Buy $50 of HBAR when ETH drops below USD $2,700"Dollar-Cost Averaging as DeFi Strategy: "Buy $1,000 of HBAR daily when ETH is below USD $2,500 for dollar-cost averaging strategy"Automated Payments: "Send 100 HBAR to 0.0.b794f5ea0ba39494ce839613fffba74279579268 when BTC reaches USD $90,000"Token Management: "Mint 500 tokens of 0.0.67890 when ETH exceeds USD $3,000"Value for Chainlink: Expands Chainlink oracle usage beyond smart contracts into AI agent workflows, creating a new use case for Price Feeds. Every automated strategy generates oracle queries, increasing Chainlink network activity and demonstrating oracle utility in autonomous agent systems.Value for Hedera: Adds oracle-based DeFi automation to the ecosystem, enabling sophisticated trading strategies on Hedera's fast (10,000+ TPS), low-cost network with EVM compatibility (supporting both native Hedera accounts like 0.0.12345 and EVM addresses).Potential impact: This plug in could serve hundreds of users executing thousands of automated operations daily.
Solution
Backend & Runtime: Node.js; TypeScriptArtificial Intelligence: GroqHedera L1 Blockchain We leverage the Hedera Agent Kit and its autonomous wallet capabilities. The autonomous wallet executes actions automatically on the Hedera network: transfers, scheduled payments, recurring purchases, etc. Our plugin integrates as an extension of the agent, allowing direct access to external pricing data.Oracles - Chainlink Price Feeds: We use Chainlink Price Feeds directly as a trusted source for real-time price data (ETH, BTC, etc.). The plugin retrieves these price feeds, compares them to user-defined conditions, and decides whether or not to trigger the action.How All These Technologies Work Together:The user writes instructions in natural language Groq interprets the command and transforms it into an operational logic (condition + action).The agent processes this logic using Node.js and TypeScript It imports our plugin to access Chainlink Price Feeds.The plugin fetches the Chainlink Price Feeds Retrieves the latest price. Evaluates whether the user’s condition is met.The agent triggers the autonomous wallet on Hedera To execute actions such as: token transfers HBAR purchases scheduled payments strategies like dollar-cost averaging or stop-loss triggersEverything runs on Hedera L1
Hackathon
ETHGlobal Buenos Aires
2025
Prizes
- 🏆
Best Plug - In for Hedera Agent Kit
Hedera
Contributors
- Celiz
13 contributions
- BMPaiba
11 contributions
- LATAMBuilders
1 contributions