# AI-Based Liquidity Distribution and Intent Routing

Based on the user's cross-chain requests and the real-time status of liquidity pools on the source and target chains, Liqua uses AI algorithms and large model inference to meet user needs with optimal costs and time efficiency.Considering the user's cross-chain requirements—including token type, transaction volume, and user preferences (such as maximizing convertible amount or minimizing transaction fees)—the protocol evaluates the attributes of available liquidity pools, including depth, liquidity cost, and current real-time transaction status of each chain (including gas fees and on-chain congestion). Utilizing AI algorithms and intelligent dynamic planning capabilities, Liqua comprehensively compares the execution costs and efficiency of various candidate paths, devises the best plan and steps to meet user demands, and faithfully executes the user's cross-chain requests.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://liqua-1.gitbook.io/liqua-whitepaper/technical-highlights/ai-based-liquidity-distribution-and-intent-routing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
