# AI assistant

## Opening the AI assistant

Select via the  <picture><source srcset="/files/yR6SUbCOOyBoUdLOe3It" media="(prefers-color-scheme: dark)"><img src="/files/lGIC0j5hVyDoBiiw5Hnu" alt="Sparkle icon for the AI assistant that appears int he Left Bar" data-size="line"></picture> icon in the Left Bar to open the AI assistant. You can reposition the chat to either side of the editor using the option at the top of the panel.

<figure><picture><source srcset="/files/wvYOg4rO0sJinShRJs7t" media="(prefers-color-scheme: dark)"><img src="/files/eVtxLyKz7UuGe8Fg5X2p" alt="Image of the top of the AI assitant pane indicating the position of the left/right switcher icon between the new chat and close icons." width="375"></picture><figcaption></figcaption></figure>

The AI assistant is available on the Student, Standard, and Pro plans. It's not included on the Free plan or with Commons access.

### Chatting with your document

Type a question or instruction in the chat box. For example:

* "Explain this equation"
* "Suggest a better title for this section"
* "Fix the grammar in the selected paragraph"

If you're not sure where to start, the panel shows suggested prompts you can select.

**Working with selections:** Highlight text in the editor before sending a message, and the assistant focuses its response on that selection. Suggested prompts update based on what you've selected.

The assistant is aware of your cursor position and can search other parts of your project when needed.

## Citation reviewer

The citation reviewer scans your document for claims that may be missing references and suggests relevant publications.

To use it:

1. Open the AI assistant panel and start a new chat.
2. Select **Check file for missing citations** above the chat box.
3. Review the highlighted passages. Select **View suggestions** on any passage to see relevant papers sourced from [Dimensions](https://www.dimensions.ai/).
4. To add a citation, select the paper — it's added to your document and bibliography automatically.

## AI allowance

Each message exchange counts as one use from your daily AI allowance. When the allowance is used up, a notification appears in the panel showing when it resets and the option to upgrade.

Conversation history isn't stored between sessions — each new session starts fresh.&#x20;

{% hint style="info" %}
We suggest starting a new chat for every new task.
{% endhint %}

### Data and privacy

To answer your questions, content from your project is sent to OpenAI. The assistant may also send queries to third-party search engines. Your data is never used to train AI models.

See [AI features in Overleaf — data and privacy](/accounts-and-security/overleaf-data-processors.md) for full details.


---

# 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.overleaf.com/integrations-and-add-ons/ai-features/ai-assistant.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.
