> For the complete documentation index, see [llms.txt](https://rootai.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rootai.gitbook.io/docs/rootai/auto.md).

# Auto

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

When AUTO is on, rootAI can monitor markets, review your Hyperliquid account, manage open positions and place in-policy Hyperliquid trades during the selected session window.

{% hint style="warning" %}
AUTO is experimental. By starting an AUTO session, you acknowledge the risk of allowing rootAI to operate on your behalf during the selected period. Trading can lose money. Execution can fail or be delayed. Only enable AUTO with funds and risk settings you are comfortable with.
{% endhint %}

### What AUTO can do

* Read your Hyperliquid account state, available margin, open positions and open orders.
* Review existing positions before looking for new trades.
* Check rootAI signals and shortlist trade candidates.
* Open, close, or manage Hyperliquid positions when policy allows.
* Attach or verify TP/SL protection where supported.
* Auto currently supports max 3 authorized agents on HL.

### What AUTO does not do

* It does not withdraw funds.
* **It does not guarantee profit.**
* It does not cancel existing positions or TP/SL orders just because AUTO is stopped.

### start rootAI AUTO

1. Open the **rootAI** panel.

<figure><img src="/files/5TxyCcL9ZqgZ6B7mSuLR" alt=""><figcaption></figcaption></figure>

1. Click **AUTO**.
2. Choose the session end time. Sessions can run up to 24 hours.

<figure><img src="/files/GBJglnrlhVprxgTKX7Rf" alt="" width="318"><figcaption></figcaption></figure>

1. Review the risk controls:
   * max session loss
   * max open positions
   * capital cap
2. Connect or enable **Hyperliquid** if you want execution.

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

1. Approve the Hyperliquid agent request in your wallet.
2. Wait for rootAI to confirm that the session started.

Startup usually looks like:

```
AUTO 20:21:41 UTC: session started. Backend cycles are running.
AUTO 20:21:41 UTC: booting session
AUTO 20:21:41 UTC: ready - first backend cycle queued
```

**Monitor your positions using Hyperliquid tab**

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

### Revoke

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

Simply revoke rootAI's access straight on Hyperliquid dashboard by removing active/inactive agents. Head to <https://app.hyperliquid.xyz/API> and remove the desired agent.

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://rootai.gitbook.io/docs/rootai/auto.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
