# Partritura AI/intent system

🔑 A pivotal component of our infrastructure is our Intent framework. We are converting integrations from various protocols like Sushiswap, Uniswap, Curve, into a Swap block. This enables user intents such as “I want to swap 100 USDT for ETH at the best price” without specifying the exact protocols. Another instance of such a block is the Earn block, catering to users who seek the highest APY for ETH on any chain. These blocks significantly enhance the capabilities of our AI assistance.

> 💻 **AI Agent**

Users formulate their intents, which are then transformed by the AI agent into Blockchain transactions.

> 🌐 **Intent Router**

Rather than users deciding alone which protocol to select, the Intent Router uses “swap blocks” to determine the most suitable protocol.

> 🔗 **Weiroll Solution**

It simulates potential outcomes, allowing users to preview results that would normally only be visible after executing the transaction.

<figure><img src="/files/dkULBqJETR9eI2xwvE6e" alt=""><figcaption></figcaption></figure>


---

# 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://partitura-1.gitbook.io/partitura-docs/product-overwiev/partritura-ai-intent-system.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.
