A

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

A

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:

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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:

  1. 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."

  2. 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.

  3. Multi-Chain Portfolio View: Users can see their assets, positions, and opportunities across all supported chains in a unified dashboard.

  4. 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

  1. User requests enter the system through a WebSocket connection to the server.
  2. The Task Manager Agent analyzes the request and creates a task with a unique ID.
  3. 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
  4. The agent processes the task, logging each step of its reasoning (Chain of Thought).
  5. Results are stored with proper IP licensing through ATCP/IP and Story Protocol.
  6. The agent returns results to the Task Manager with license reference.
  7. 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

  1. EventBus System: Core communication layer enabling seamless interaction between all agents and components using WebSockets.

  2. 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
  3. 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
  4. Chain Integration Layer:

    • Eigenlayer integration for Ethereum
    • Specialized connectors for Hedera, Sui, Sei, and other chains

Frontend Components

  1. Next.js Application: Modern React-based frontend with server-side rendering
  2. WebSocket Event Bus Client: Real-time communication with backend agents
  3. Responsive UI: Adaptive interface for desktop and mobile devices with real-time updates
  4. System Events Panel: Transparent view into agent operations and decision-making

Development Process

The development followed a modular, agent-first approach:

  1. Core Framework: Built the foundational event bus and agent communication framework
  2. Agent Development: Created specialized agents for different chains and functions
  3. IP Integration: Incorporated Story Protocol for IP rights management
  4. Intelligence Storage: Integrated Recall Network for persistent agent memory
  5. Frontend: Developed intuitive UI for natural language interaction
  6. 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

My AVA Portfolio Manager redefines AI agent capabilities on Flow through its sophisticated multi-agent architecture. The...Read More

Flow

Most Killer App

Ava is the perfect candidate for the Flow "Most Killer App" track as it directly addresses real user pain points in DeFi...Read More

Flow

Hedera AI and Agents Challenge

Ava is perfectly aligned with the Hedera AI and Agents Challenge, having already implemented a comprehensive Hedera agen...Read More

Hedera

Build Multichain DeFi using the Wormhole Typescript SDK

My AVA Portfolio Manager showcases the power of Wormhole's cross-chain messaging through our robust integration of the W...Read More

Wormhole network

Build an Autonomous On-Chain AI Agent Using QuarkChain Super World Computer L2, EthStorage, and Web3://

We are utilising the EthStorage on QuarkChain for storage and retrieval of our agentic data onchain and licenses of the ...Read More

EthStorage

Best AI Agents

My AVA Portfolio Manager redefines AI agent capabilities on Flow through its sophisticated multi-agent architecture. The...Read More

Flow

Best DeFAI Project on Zircuit

AI-DeFi Integration: Ava's AI agents analyze market conditions, identify opportunities, and execute trades on zircuit. ...Read More

zircuit

AI Agents

Ava's implementation of the ATCP/IP (Agent-to-Agent Collaborative IP Protocol) makes it an ideal candidate for the Story...Read More

Story

Best AI application or agent on EigenLayer

EigenLayer Portfolio Task AVS: We've developed a specialized AVS for portfolio management tasks: Verifiable AI Inferenc...Read More

EigenLayer

Best Use of CDP SDK

AVA Portfolio Manager demonstrates exceptional use of the Coinbase Developer Platform SDK through our comprehensive CdpA...Read More

Coinbase Developer Platform

DEFI, NFTS + GAMING

Ava revolutionizes how users interact with blockchain technology by: Removing Technical Barriers: Users can manage comp...Read More

Discussion

Builders also viewed

See more projects on Devfolio