> 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.md).

# rootAI

## What is rootAI?

rootAI is an AI trading agent **(Beta stage)** that reads the same market context you see on Edge Dashboard: funding rates, spreads, signals, onchain data and acts on your behalf through a **secure, browser-local agent key**.

You communicate in natural language:

```
Long 0.001 BTC on HL
Show my open positions
Cancel all orders
What's the BTC funding rate on Hyperliquid?
```

{% hint style="info" %}
**Edge feeds rootAI context. rootAI trades on it.**
{% endhint %}

### Two ways to chat

#### Edge Cloud (recommended for new users)

Free inference hosted by rootAI. No API key. Log in with wallet or Google and you're ready.

Open the **Cloud** panel in the sidebar to pick a model.&#x20;

| Tier         | Models                                                                                                                                                    |
| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Cloud**    | Qwen3 Next 80B (default), Llama 3.3 70B, Nemotron Nano 9B v2, GPT-OSS 120B, ASI:Mini                                                                      |
| **Virtuals** | MiniMax M3, Claude Sonnet 4.6, Claude Opus 4.7, GPT-5.5, Grok 4.20, DeepSeek V4 Pro, GPT-5.4 Mini, Grok 4.3, DeepSeek V4 Flash, GLM 5.2, Gemini 3.5 Flash |

### How To: Bring Your Own Keys

{% stepper %}
{% step %}

#### Configure BYOK

<figure><img src="/files/uFYGFvErxNRvisaaxMoA" alt="" width="483"><figcaption></figcaption></figure>

1. Open the **BYOK** panel in Edge.
2. Set **Provider**
3. Paste your **API key**.
4. Choose a **tool-capable Model** (Claude 3.5 Sonnet, GPT-4o, GPT-4o-mini, …).
5. Click **Save**.
   {% endstep %}

{% step %}

#### Ask in the RootAI chat

<figure><img src="/files/TFHhsRjjSmZjh80hsS1N" alt="" width="365"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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.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.
