# AI Agents & NPCs

<figure><img src="/files/sn6GtW66x784DUFYVjCD" alt=""><figcaption><p>AI Agents &#x26; NPCs by MIRAI</p></figcaption></figure>

Game development is an intricate process to create an experience that blends complexity with intuitiveness, striking a balance that captivates both beginner and skilled players alike. With new innovations around Artificial Intelligence (AI), we are entering a new phase of game development that will include features such as AI Agents.&#x20;

Across the NPC (non-playable character) landscape, there is a spectrum of complexity from simple "bots" to complex and sophisticated "agents" that support gameplay. An AI Agent refers to a more advanced, generative AI-powered character that can engage in dynamic, contextual conversations, and even show awareness of its surroundings. These agents can forge relationships with players and add depth and different dynamics to gameplay.


---

# 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.mirai.build/deep-dive/ai-agents-and-npcs.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.
