HashLens
DeFI Agent that simplifies complex defi actions into NL commands for the Hedera Ecosystem.
Problem Statement
Imagine sending "hey swap 999 usdc to HBAR every month on the 1st" on chat and you get the swaps done before you could blink twice or even rebalance my portfolio 60/40 HBAR/USDC! YAsss! No more opening multiple tabs, worrying about slippage etc, or even forcing yourself to save for your DCA (Dollar cost averaging).Capabilities and Use CasesSimple: balance checks, transfers, bonzo finance markets.Multi-step strategies: AI sequences swaps, lending, and staking for optimal yield.Cross-chain insights: compare yields, monitor liquidity shifts, swap patterns.Cross-Chain Data Intelligence (via Model Context Protocol)Expands beyond Hedera with MCP adapters to access multi-chain data.The Graph Protocol Subgraphs → Indexed, real-time blockchain data (liquidity, token movement, protocol stats).The Graph Token APIs → Token details across ecosystems (pricing, volumes, cap, trends).Enables market analysis, arbitrage insights, and cross-chain strategy comparisons.Keeps Hedera at the center while giving users a broader DeFi view.Integration Highlights -Hedera: HashLens is based on Hedera's AI Agent Kit, it extends it further to support more protocols on the go. While keeping the original hedera experience untouchedThe Graph - HashLens uses The Graph Subgraph and Tokens API MCP servers to leverage the vast data available through The Graph protocol.Read more - https://github.com/pat176/ETHGlobal-Hackathon/blob/master/README.md
Solution
Key Innovation:Advanced Plugin ArchitectureBuilt on a modular plugin system for flexible integrations.Each plugin has a standardized schema and interface, making it easy to add new DeFi protocols.Bonzo Finance integration demonstrates lending, borrowing, and collateral management.Future-ready for Strader DEX (LSTs) and SaucerSwap (AMM, yield farming). Plugins maintain consistent interaction patterns so the AI can adapt to any protocol seamlessly.Advanced Transaction Management & SecurityWallet-first model: private keys never leave the user.Dual modes:Signature mode: AI prepares transactions, users sign via wallet.Autonomous mode: AI executes tasks while having the private key.Signature-based scheduling: automate tasks like DCA, rebalancing, conditional trading.Risk-controlled operations: transactions analyzed for cost, slippage, and security before execution.Server separation: backend never gains direct transaction control unless the user asks for it.Technical Arcitecture:Microservices design: separates frontend, AI, blockchain services, and data integrations.AI agent service: interprets intent, chooses best DeFi operations.Plugin system: modular and independent, integrated directly into hedera-agent-kit-js; each exposes schema for AI comprehension.Transaction management layer: handles gas, slippage, retries, deferred execution.MCP data adapters: standardized access to multi-chain market data.Frontend: conversational UI + wallet connection.Backend: orchestrates AI, blockchain ops, and different plugins.
Hackathon
ETHGlobal New Delhi
2025