> For the complete documentation index, see [llms.txt](https://litepaper.dormint.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://litepaper.dormint.io/architecture/templates-and-gamification.md).

# Templates & Gamification

1. **Pre-Built Agent Templates**
   * Dormint ships with templates for common wellness or productivity scenarios (e.g., Sleep Improvement, Step Competition, Focus Timer).
   * Templates reduce setup time by bundling recommended nodes, configuration defaults, and user flow designs.
2. **Gamification Elements**
   * **Challenges & Quests**: Keep users engaged with daily tasks or multi-week programs.
   * **Leaderboards**: Rank users based on performance metrics—e.g., sleep quality, step counts, or mindfulness streaks.
   * **Achievements & Rewards**: Grant badges or DOAI tokens for meeting or exceeding specific milestones.
   * **Pre-Designed Templates**: Offers a library of gamification templates including quests, challenges, and achievements that users can integrate into their AI agents.
   * **Customization Options**: Users and creators can modify these templates to suit specific wellness objectives, enhancing engagement and motivation.
   * **DOAI Rewards for Completion**: Users receive DOAI tokens for successfully completing&#x20;
3. **Customization**
   * Even if you start with a template, every node and setting is adjustable—tweak difficulty, reward frequency, or personalized content.


---

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

```
GET https://litepaper.dormint.io/architecture/templates-and-gamification.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.
