# DeFAI Use Cases & Workflow Examples

### Automated Yield Farming

* **Scenario**: A user configures an AI Agent to find and invest in the highest-APY stablecoin pools across Ethereum, Arbitrum, and Stellar.
* **Agent Tasks**: Monitors yield rates daily, reallocates funds if a new pool overtakes the current APR by a certain percentage, and withdraws profits into a stable asset if the user’s profit threshold is reached.

### Social Sentiment Trading

* **Scenario**: The AI Agent scans Twitter, Telegram, and on-chain activity for mentions of a new token, correlating large social spikes with price momentum.
* **Agent Tasks**: Buys a small position when social volume surges, sets a trailing stop-loss, and locks in profits automatically if the token skyrockets.

### Multi-Chain Arbitrage

* **Scenario**: Markets can be temporarily mispriced across different DEXs on separate chains.
* **Agent Tasks**: Tracks prices across multiple DEXs, executes profitable trades, and handles bridging/liquidity seamlessly under the hood.

### Personalised Strategy

* **Scenario**: A user defines a “DCA” (Dollar-Cost Averaging) agent that invests $50 in BTC each week, adjusting to multiple chains if it finds a better route or discount on a specific network.


---

# 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://zkcross-network.gitbook.io/zkcrossnetwork/about-zkcross-network/superaccounts-your-gateway-to-defai/defai-use-cases-and-workflow-examples.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.
