> ## Documentation Index
> Fetch the complete documentation index at: https://docs.helpalive.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> HelpAlive is an AI agent inside a company's web app. It answers the app's signed-in users from the company's docs, and does tasks for them in the app or shows them how.
> It reads the page as text and never takes screenshots. It does only what that user could do. It hands back steps only the user should take, such as uploads, codes and passwords it wasn't given.
> When it can't solve something, it writes a request with the user. The company's team answers on Issues, and the answer comes back in the chat.
> A company installs it with one script tag and one identify() call, on any web app in the browser. There are no elements to tag, tours to write or APIs to build.
> In the HelpAlive dashboard, the company trains it on its docs and chooses who gets it, whether it does the steps or shows how, and how much it may be used.
> Pages to start from: Quickstart https://docs.helpalive.com/quickstart.md, Install the script https://docs.helpalive.com/installation.md, Will it work with my app? https://docs.helpalive.com/sdk/compatibility.md, and Security https://docs.helpalive.com/trust/security.md.
> All the facts in one place: https://docs.helpalive.com/product/facts.md. Plans and prices, kept current: https://docs.helpalive.com/dashboard/plans.md. Support: support@helpalive.com.

# How HelpAlive's AI agent answers and does tasks

> HelpAlive's AI agent reads the page, answers from your docs, and does tasks in your app or shows users how, handing back what only they can do.

HelpAlive is an AI agent that works inside your web app. It answers your users' questions from your docs, and it does tasks for them or shows them how, one step at a time. It appears only for the signed-in people you choose on **Controls**.

Here is an overview of the five stages, from the moment a user asks. [Examples](https://docs.helpalive.com/product/examples.md) shows them on everyday tasks.

![The five stages: the agent reads the page, answers from your docs and offers to do the task. Then it does the steps or shows how, and hands back what only the user can do. A request goes to your team when it is needed.](https://mintcdn.com/helpalive/vBx1ZN8BaOSgliRS/images/product/how-it-works-light.webp?fit=max\&auto=format\&n=vBx1ZN8BaOSgliRS\&q=85\&s=a3ad08ce0233a801b20cddc4be108fc8)

## 1. It reads the page

When a user opens the chat or starts an [assist](https://docs.helpalive.com/product/assists.md), the agent reads the page they are on. It never takes screenshots or records the screen. See [Data we collect](https://docs.helpalive.com/trust/data.md).

The agent also knows what the user just did in your app, such as an error they hit. It knows the role and plan you send with `identify()` too, so its answers fit the person asking.

Because the agent reads the page itself, it works on any web app, and you don't tag elements or describe your screens. Clear labels on your controls help it, as they help screen readers. See [Make your app agent-ready](https://docs.helpalive.com/sdk/agent-ready.md).

## 2. It answers from your docs

The agent answers from the help site and files you publish on **Train**, never from drafts. When your docs don't cover a question, it uses general knowledge of your product. Where the two disagree, your docs take priority.

By default, answers are short and plain, in the user's language. You can change their length and language on **Train**. A user can send a picture or a file with their question. When your app can't do something, the agent says so, then helps with the parts it can. Like any AI, it can make mistakes, and the chat tells users so. See [Chat](https://docs.helpalive.com/product/chat.md).

## 3. It offers to do the task

When a user wants a task done, not only explained, and your app can do it, an offer card appears under the answer. Nothing starts until the user presses **Let's do it** or **Show me how**.

## 4. It does the steps, or shows how

The mode you set on **Controls** decides which:

* **Does the steps**: the agent clicks, types, picks, drags and scrolls for the user, including Save, Submit and Delete.
* **Shows how**: the agent highlights each control and says what to do. The user makes every click.

The agent moves on only after a step has worked. If it isn't sure a step worked, it hands the step back to the user instead of repeating it. At any point, the user can ask a question, change direction, pause or take over. See [Assists](https://docs.helpalive.com/product/assists.md).

## 5. It hands back what only the user can do

Some steps belong to the user. They include uploading a file, entering a code sent to their phone or email, and typing a password the agent wasn't given. The agent asks for anything only the user can give, such as a message's wording. Before it deletes records chosen by a rule, such as "delete all drafts", it lists them and asks once. See [Safety and hand-backs](https://docs.helpalive.com/product/what-it-wont-do.md).

Some problems need your team, such as a missing permission or an error from your app. For these, the agent offers to send a request with what happened. Your team answers on **Issues**, and the answer comes back in the chat. See [Requests to your team](https://docs.helpalive.com/product/requests.md).

## Next

> [card] [Chat](https://docs.helpalive.com/product/chat.md)
>
> What users see when they open the chat.

> [card] [Assists](https://docs.helpalive.com/product/assists.md)
>
> The offer, the bar, and the recap.

> [card] [Safety and hand-backs](https://docs.helpalive.com/product/what-it-wont-do.md)
>
> Every hand-back, in one place.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.