# 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="https://387613160-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPWqf0Pp4LYxnVNlqCI2p%2Fuploads%2FYfOb2KKYl0zA9gW38ZoX%2Fimage.png?alt=media&#x26;token=b80c4fe8-f75b-4549-8dca-4a481328850f" alt=""><figcaption></figcaption></figure>
