Technology
DEX Navi is built on the foundation of the Virtuals Protocol and the GAME framework, which enables autonomous decision-making. This advanced technological foundation allows DEX Navi to provide sophisticated trading functions and user experiences that surpass traditional DEX aggregators.
Virtuals Protocol: DEX Navi is one of the first major applications built on the Virtuals Protocol. The Virtuals Protocol is an open protocol for creating, deploying, and monetizing AI agents, and DEX Navi's AI agent functions as a VIRTUAL Agent operating on this protocol.
GAME Framework: At the core of DEX Navi is the GAME (Generative Autonomous Multimodal Entities) framework. The GAME framework is a framework for AI agents to make autonomous decisions and consists of the following key components:
High-Level Planner (HLP): The HLP analyzes the trading objectives set by the user (e.g., purchasing a specific quantity of a certain token pair) and the current market environment (e.g., prices and liquidity on each DEX) to formulate a high-level trading strategy. For example, it may devise strategies such as splitting orders across multiple DEXs or executing orders with time delays.
Low-Level Planner (LLP): Based on the strategy formulated by the HLP, the LLP interacts with the APIs of each DEX to generate specific trading instructions (e.g., on which DEX, which token to trade, how much, and at what price). The LLP directly interacts with the smart contracts of each DEX to execute orders.
Agent Definition Prompts: DEX Navi's AI agent is defined with a clear role and objective: "to execute optimal trades on behalf of the user in the DEX market." Additionally, the agent definition prompts include a knowledge base about the workings of the DEX market, the characteristics of each DEX, and trading strategies, supporting the agent's decision-making.
LLP Context: The LLP context stores real-time market data from each DEX (prices, liquidity, slippage, etc.). The LLP refers to this context information to generate optimal trading instructions.
Custom Functions: DEX Navi defines various functions as custom functions, such as trading APIs for each DEX, trading APIs for CEXs, and price acquisition APIs. The GAME framework combines these functions to perform complex trading tasks. For example, it can automatically execute tasks such as "get the price of ETH/USDC from multiple DEXs and execute a limit order on the DEX with the highest liquidity."
Last updated