# What's AI Sleep Agent?

Dormint’s AI engine examines your sleep logs to deliver personalized coaching. Dormint focuses on your **Health Rate**, **Sleep Stages**, and **Routine Consistency**:

1. **Health Rate**
   * Reflects your overall sleep quality.
   * It improves if you maintain regular bedtimes, achieve sufficient duration, or score well in PvP Sleep Battles.
   * A higher Health Rate can lead to better token rewards.
2. **Sleep Stages**
   * Dormint tracks how long you spend in light, deep, and REM sleep.
   * The AI Sleep Agent identifies patterns (like frequent interruptions) and suggests improvements (earlier bedtime, limited caffeine, etc.).
3. **Routine Consistency**
   * Sticking to a stable bedtime and wake-up schedule can earn consistent, incremental bonuses.
   * Irregular sleeping patterns may reduce your Health Rate or slow progress.

### What lies behind Sleep AI Agent architecture?

1. **Core Nodes**
   * **Sleep Data Input**: Collect bedtime, wake-up times, and self-reported sleep quality
   * **Analytics Node**: Use AI to identify patterns (e.g., correlation between late caffeine and restless nights)
   * **Gamification Node**: Award DOAI tokens for consistent improvements or maintaining a sleep schedule
2. **Community Challenges**
   * Leaderboards for best sleep quality improvements over a week or month
   * Additional tokens for top performers
3. **User Interface**
   * This sleep AI agent is made in a form of Telegram Bot and Telegram Mini App - t.me/dormint\_bot


---

# 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://litepaper.dormint.io/advanced-topics/whats-ai-sleep-agent.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.
