> For the complete documentation index, see [llms.txt](https://maigitbooks-organization.gitbook.io/mai-medical-chatbot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://maigitbooks-organization.gitbook.io/mai-medical-chatbot/quickstart.md).

# 2. Medical chatbot ‘MAI’

<figure><img src="/files/1KyDhxCJZi3OtPjkaXPk" alt="" width="153"><figcaption></figcaption></figure>

&#x20;Effective communication is the beginning of all medical care. Without communication, doctors can't get information from patients, and poor communication leads to incorrect diagnoses and solutions. This can lead to delayed recovery and major illnesses for patients.

&#x20;MAI, the doctor in the hand, is an AI medical chatbot. Users interact with “MAI” to check their health status and compare their personal health data with medical information. The chatbot responds to the user in a professional and easy-to-understand language.

&#x20;When a user asks MAI a question about medical information, MAI optimizes the latest medical information, articles, and search engine results to recommend hospitals, dry season diets, lifestyle changes, and more to help users feel like they have a doctor at their fingertips.

&#x20;From minor symptoms to diet, sleep, stress, skin conditions, and cosmetic advice, MAI learns personalized data to provide optimized solutions for your health.

&#x20;Users can earn MAI token rewards based on the messages they send to MAI and the data they input. Connected plastic surgeons, dermatologists, and nutrition providers can also participate in the MAI ecosystem as liquidity providers, allowing interactions to take place within MAI.

<figure><img src="/files/IT9yI6V2beEu9KTnJDY0" 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://maigitbooks-organization.gitbook.io/mai-medical-chatbot/quickstart.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.
