# AI Agent NPC's

{% embed url="<https://www.youtube.com/watch?v=EBbINuVZFmQ>" %}

We have built template use-cases for our AI Agent NPC's so that any Roblox developer can quickly integrate them into their game:

* [#smart-npcs](#smart-npcs "mention")
* [#tutorial-npcs](#tutorial-npcs "mention")
* [#recommender-npcs](#recommender-npcs "mention")
* [#quest-giver-npcs](#quest-giver-npcs "mention")

***

### Smart NPC's

AI powered NPC for conversational experiences

Features

* Chat
* Customizable for your game world (ie: Provides tickets/rewards)
* Static or roaming
* Tracks metrics of player engagement

Example use-cases (see video above)

* Superhero
* Clown
* Cotton Candy Guy
* Fortune Teller

***

### Tutorial NPC's

Interactive tutorial NPC to teach gameplay

<figure><img src="https://lh7-rt.googleusercontent.com/slidesz/AGV_vUe1q9jEfkemL6YuEFzGFqSO5HZygU1KfPVCxl-_aaH9N2laeCG-vq19LNsNt0A1gxuTJM_1OH-LKqvDZSCesSMXMMa3RvY7Budlegai1FGQ6fNmAxagAtavdngem3lkccxoXjjfLg=s2048?key=WOAoL6PaG1XXQZ1nS_eXjnKz" alt=""><figcaption><p>Tutorial NPC's</p></figcaption></figure>

Features

* AI agent that conversationally responds to player to guide them for initial game play onboarding
* Can be static, triggered by player spawning or roam in a fixed area
* Tracks metrics of player bounce rate in your game

Example use-cases (see video)

* NPC stands near the of the game world for the player to talk to if needed. Walks up to the player when he first visits the game world. Walks up to the player when he first plays a mini game.

***

### Recommender NPC's

Semi-autonomous agent to help with game item sales

Features

* Walks up to the player from time to time depending on conditions and recommends either:
  * Buy something using premium currency
    * Game pass
    * Consumables
    * Or more
* Recommends to try out a game activity if idle for a time
* Recommends to purchase something and/or gives tips if the player repeatedly fails a game activity
* Tracks metrics of player conversion rates, sales information

Example use-cases

* Premium item salesman
* Upsell agent

***

### Quest-giver NPC's

Integrates with quests to ensure player completes objectives

Features

* Gives a quest depending on player state (play time, active/unfinished quests, finished quests)
* Sample quests (game specific):
  * Jump X Times
  * Interact with NPC
  * Go to Object
  * Play Minigame
* NPC, Object, and Minigame are not repeated if it has been previously given

Example use-cases

* NPC integrated into your games story who are required to be conversationally interacted with to unlock quests.


---

# 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.sovrun.org/build-with-sovrun/readygamer/roblox-integration/ai-agent-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.
