Ava The MultiChain DeFAI Agent
Autonomous multi-chain DeFAi agent system with built-in intellectual property rights management for AI-powered financial operations.
Created on 1st March 2025
•
Ava The MultiChain DeFAI Agent
Autonomous multi-chain DeFAi agent system with built-in intellectual property rights management for AI-powered financial operations.
The problem Ava The MultiChain DeFAI Agent solves
Ava addresses several critical challenges in the DeFi and AI space:
-
Fragmented Multi-Chain Experience: Users currently need to navigate multiple chains, protocols, and tools separately, requiring deep technical knowledge and constant monitoring to optimize financial operations.
-
AI Without Proper Rights Management: As AI becomes integral to DeFi, there's no standardized way to manage intellectual property rights for AI-generated strategies, analyses, and financial operations.
-
Siloed Agent Intelligence: AI agents typically operate in isolation, with no mechanism to share, monetize, or build upon each other's intelligence, limiting collaborative innovation.
-
Lack of Transparency and Trust: Users don't have insight into the reasoning behind AI agent decisions, creating a "black box" problem that limits trust and adoption.
-
Complex DeFi Operations: Executing sophisticated DeFi strategies (yielding, bridging, CDPs, trading) requires specialized knowledge across multiple chains and protocols.
Ava solves these problems by creating an integrated ecosystem where AI agents collaboratively manage multi-chain operations with full IP rights management, transparent reasoning, and comprehensive task management - all while making complex DeFi operations accessible through natural language interactions.
User Interaction and Data Flow
User Experience
Users interact with Ava through a modern, intuitive interface that abstracts away the complexity of multi-chain DeFi operations:
-
Natural Language Commands: Users can type natural language queries like "What is my Hedera balance?" or "Check for arbitrage opportunities between Uniswap and SushiSwap for ETH/USDC."
-
Agent Response System: Ava displays real-time responses in a chat-like interface, showing both the final results and the system events that led to those results.
-
Multi-Chain Portfolio View: Users can see their assets, positions, and opportunities across all supported chains in a unified dashboard.
-
Transparent Decision Making: All agent reasoning is logged and viewable, showing users exactly how decisions were reached.
Data Flow Diagram
User Request → WebSocket Connection → Task Manager Agent → Task Assignment → Specialized Agent (Hedera/CDP/Executor/Observer) → Chain of Thought Processing → IP Rights Minting via Story Protocol → Result Generation → Task Result + License → Task Manager → Response Formatting → WebSocket Response → User Interface
Technical Data Flow
- User requests enter the system through a WebSocket connection to the server.
- The Task Manager Agent analyzes the request and creates a task with a unique ID.
- Based on content analysis, the task is routed to the appropriate specialized agent:
- Hedera Agent for Hedera-specific operations
- CDP Agent for collateralized debt position management
- Observer Agent for market analysis
- Executor Agent for transaction execution
- The agent processes the task, logging each step of its reasoning (Chain of Thought).
- Results are stored with proper IP licensing through ATCP/IP and Story Protocol.
- The agent returns results to the Task Manager with license reference.
- The Task Manager formats and returns the response to the user via WebSocket.
The project architecture and development process
Core Architecture
Ava is built on a modular, event-driven architecture consisting of:
Backend Components
-
EventBus System: Core communication layer enabling seamless interaction between all agents and components using WebSockets.
-
Agent Framework:
- TaskManagerAgent: Central coordinator that receives user requests, creates tasks, and assigns them to specialized agents
- ObserverAgent: Analyzes market conditions, tracks assets, and provides insights
- ExecutorAgent: Handles transaction execution across multiple chains
- HederaAgent: Specialized agent for Hedera operations
- CDPAgent: Manages collateralized debt positions
- Other specialized agents for specific chains and protocols
-
IP Management System:
- ATCP/IP Provider: Manages intellectual property licensing through Story Protocol
- Recall Storage: Persistent memory system for storing agent intelligence with proper attribution
-
Chain Integration Layer:
- Eigenlayer integration for Ethereum
- Specialized connectors for Hedera, Sui, Sei, and other chains
Frontend Components
- Next.js Application: Modern React-based frontend with server-side rendering
- WebSocket Event Bus Client: Real-time communication with backend agents
- Responsive UI: Adaptive interface for desktop and mobile devices with real-time updates
- System Events Panel: Transparent view into agent operations and decision-making
Development Process
The development followed a modular, agent-first approach:
- Core Framework: Built the foundational event bus and agent communication framework
- Agent Development: Created specialized agents for different chains and functions
- IP Integration: Incorporated Story Protocol for IP rights management
- Intelligence Storage: Integrated Recall Network for persistent agent memory
- Frontend: Developed intuitive UI for natural language interaction
- Multi-Chain Integration: Connected various blockchain networks through specialized agents
Additional Features
We made 95% + project in the BUILDLWeek
Tracks Applied (11)
Best Plugins to Eliza on Flow
Flow
Most Killer App
Flow
Hedera AI and Agents Challenge
Hedera
Build Multichain DeFi using the Wormhole Typescript SDK
Wormhole network
Build an Autonomous On-Chain AI Agent Using QuarkChain Super World Computer L2, EthStorage, and Web3://
EthStorage
Best AI Agents
Flow
Best DeFAI Project on Zircuit
zircuit
AI Agents
Story
Best AI application or agent on EigenLayer
EigenLayer
Best Use of CDP SDK
Coinbase Developer Platform
DEFI, NFTS + GAMING
Technologies used