Market Cap: $3.5623T 2.040%
Volume(24h): $129.8535B 14.950%
  • Market Cap: $3.5623T 2.040%
  • Volume(24h): $129.8535B 14.950%
  • Fear & Greed Index:
  • Market Cap: $3.5623T 2.040%
Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos
Top News
Cryptos
Topics
Cryptospedia
News
CryptosTopics
Videos
bitcoin
bitcoin

$105250.754790 USD

2.53%

ethereum
ethereum

$3189.789116 USD

1.47%

xrp
xrp

$3.121855 USD

0.28%

tether
tether

$1.000037 USD

0.03%

solana
solana

$238.908785 USD

2.41%

bnb
bnb

$677.503551 USD

0.09%

usd-coin
usd-coin

$1.000041 USD

0.00%

dogecoin
dogecoin

$0.331814 USD

-0.04%

cardano
cardano

$0.962023 USD

1.95%

tron
tron

$0.246267 USD

1.47%

chainlink
chainlink

$24.376944 USD

4.06%

avalanche
avalanche

$33.758638 USD

0.83%

stellar
stellar

$0.404669 USD

0.70%

toncoin
toncoin

$4.905481 USD

0.65%

hedera
hedera

$0.317476 USD

2.81%

Cryptocurrency News Articles

DeFAI: A New Chapter in the Blockchain Narrative

Jan 17, 2025 at 01:33 pm

The emergence of DeFAI is not coincidental; the core characteristics of blockchain are well-suited for strong financial scenarios.

DeFAI: A New Chapter in the Blockchain Narrative

1. What story does DeFAI tell?

1.1 What is DeFAI?

In simple terms, DeFAI refers to AI + DeFi. The market has gone through multiple rounds of hype around AI, from AI computing power to AI memes, and from different technical architectures to various infrastructures. Although the overall market value of AI agents has recently seen a decline, the concept of DeFAI is emerging as a new breakthrough trend. Currently, DeFAI can be broadly categorized into three types: AI abstraction, autonomous DeFi agents, and market analysis and prediction. The specific divisions within these categories are illustrated in the figure below.

Image source: Created by the author

1.2 How does DeFAI work?

In the DeFi system, the core behind AI agents is LLM (Large Language Model), which involves multi-layered processes and technologies, covering all aspects from data collection to decision execution. According to the research by @3sigma in the IOSG document, most models follow six specific workflows: data collection, model inference, decision-making, custody and operation, interoperability, and wallet management. The following summarizes these processes:

1. Data Collection: The primary task of the AI agent is to gain a comprehensive understanding of its operating environment. This includes obtaining real-time data from multiple sources:

On-chain data: Real-time blockchain data such as transaction records, smart contract statuses, and network activity are obtained through indexers, oracles, etc. This helps the agent stay synchronized with market dynamics;

Off-chain data: Price information, market news, and macroeconomic indicators are obtained from external data providers (e.g., CoinMarketCap, Coingecko) to ensure the agent's understanding of external market conditions. This data is typically provided to the agent via API interfaces;

Decentralized data sources: Some agents may obtain price oracle data through decentralized data feed protocols, ensuring the decentralization and reliability of the data.

2. Model Inference: After data collection is complete, the AI agent enters the inference and computation phase. Here, the agent relies on multiple AI models for complex reasoning and prediction:

Supervised and unsupervised learning: By training on labeled or unlabeled data, AI models can analyze behaviors in markets and governance forums. For example, they can predict future market trends by analyzing historical trading data or infer the outcome of a voting proposal by analyzing governance forum data;

Reinforcement learning: Through trial and error and feedback mechanisms, AI models can autonomously optimize strategies. For instance, in token trading, the AI agent can simulate various trading strategies to determine the best time to buy or sell. This learning method allows the agent to continuously improve under changing market conditions;

Natural Language Processing (NLP): By understanding and processing user natural language inputs, the agent can extract key information from governance proposals or market discussions, helping users make better decisions. This is particularly important when scanning decentralized governance forums or processing user commands.

3. Decision-Making: Based on the collected data and inference results, the AI agent enters the decision-making phase. In this stage, the agent needs to analyze the current market conditions and weigh multiple variables:

Optimization engine: The agent uses an optimization engine to find the best execution plan under various conditions. For example, when providing liquidity or executing arbitrage strategies, the agent must consider factors such as slippage, transaction fees, network latency, and capital size to find the optimal execution path;

Multi-agent system collaboration: To cope with complex market conditions, a single agent may not be able to optimize all decisions comprehensively. In such cases, multiple AI agents can be deployed, each focusing on different task areas, collaborating to improve the overall decision-making efficiency of the system. For example, one agent focuses on market analysis while another agent focuses on executing trading strategies.

4. Custody and Operation: Since AI agents need to handle a large amount of computation, they typically require their models to be hosted on off-chain servers or distributed computing networks:

Centralized hosting: Some AI agents may rely on centralized cloud computing services like AWS to host their computing and storage needs. This approach helps ensure the efficient operation of the models but also brings potential risks of centralization;

Decentralized hosting: To reduce centralization risks, some agents use decentralized distributed computing networks (like Akash) and distributed storage solutions (like Arweave) to host models and data. Such solutions ensure the decentralized operation of models while providing data storage persistence;

On-chain interaction: Although the models themselves are hosted off-chain, AI agents need to interact with on-chain protocols to execute smart contract functions (such as trade execution and liquidity management) and manage assets. This requires secure key management and transaction signing mechanisms, such as MPC (Multi-Party Computation) wallets or smart contract wallets.

5. Interoperability: The key role of AI agents in the DeFi ecosystem is to interact seamlessly with multiple different DeFi protocols and platforms:

API integration: Agents exchange data and perform interactions with various decentralized exchanges, liquidity pools

Disclaimer:info@kdj.com

The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!

If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.

Other articles published on Jan 30, 2025