# Vault Optimization Bot

Vault Optimization Bot keeps your Vault safe. If your Health Factor (HF) falls in the danger zone the bot automatically uses your EURO3 from the Stability Pool to repay part of your debt in order to keep your HF healthy. If your HF is climbing up, the bot will borrow more EURO3 and put it into the Stability Pool in order to earn you more rewards.

Users can use default settings or customize the settings for their strategy.

{% hint style="danger" %}
If the user doesn't have EURO3 in the Stability Pool, the Bot can't protect the user from liquidation.
{% endhint %}

Users can set **Low HF**, **Target HF** and **High HF**.&#x20;

* if the Low HF is hit, the Bot repays the EURO3 from the Stability Pool in order to increase the HF to the Target HF
* If the High HF is hit, the Bot borrows and puts more EURO3 into the Stability Pool in order to decrease HF to the target HF

{% hint style="info" %}
The next iteration of the Vault Optimization Bot will be capable of selecting the **best yield strategy** for the users by directing EURO3 to the best yield options (Stability Pool, EURO3 liquidity pools, the cashback pool, liquid staking, etc.)
{% endhint %}

<br>


---

# 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://docs.3adao.org/3a-protocol/protocol-documentation/premium-services/vault-optimization-bot.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.
