Skip to Content

Quick Start

Get your first AI NPC talking in under 10 minutes.

Step 1: Create an Account

  1. Go to loremind.peekgames.dev 
  2. Sign up with email or Google
  3. You’ll receive free starter credits to experiment with

Step 2: Create a Project

Projects organize your lore, NPCs, and API keys.

  1. Go to Projects  and click Create Project
  2. Enter a project name (e.g., “My RPG”)
  3. Click Create Project

Create Project dialog

Step 3: Upload Your Lore

Before creating NPCs, add some world knowledge. NPCs are generated from your lore, so they need something to work with.

  1. Go to Documents 
  2. Click Upload and add a few Markdown files describing your world

Example lore document (millbrook-village.md):

--- title: Millbrook Village tags: [location, village, common-knowledge] --- Millbrook is a small farming village nestled in a quiet valley. The villagers are friendly but wary of outsiders after bandits raided the area last summer. Notable locations: - The Sleeping Bear Inn - run by a retired adventurer - Oakhaven's Workshop - where the local woodcarver sells his wares - The village square - hosts a market every weekend The village is known for its apple orchards and honey production.

Tips for starting out:

  • Add 2-3 documents about locations, history, or factions
  • Use tags to categorize knowledge (e.g., common-knowledge, location, history)
  • NPCs with matching tags can reference this information

Upload Lore Files dialog

See Lore Documents for more details on organizing your world knowledge.

Step 4: Create an Entity Mind

Now create an NPC personality. LoreMind can generate one based on your lore:

  1. Go to Entity Minds  and click Create Entity Mind
  2. Select a Location (e.g., “Millbrook Village”)
  3. Optionally describe your NPC (e.g., “A woodcarver who finds inspiration in nature”)
  4. Click Generate from Lore

Create Entity Mind dialog

LoreMind generates a complete personality with name, backstory, speaking style, and suggested relationships - all based on your lore.

You can also click Create Manually for full control over every field.

Entity Mind creation form

See Entity Minds for guidance on crafting compelling NPC personalities.

Step 5: Test in the Playground

Talk to your NPC directly in the browser:

  1. Go to the Playground 
  2. Select your Entity Mind from the dropdown
  3. Type a message: “Hello! Who are you?”
  4. Press Enter

Playground showing first conversation

The NPC responds in character, drawing on its personality and your lore.

Add Context

Make responses more relevant by setting the scene. Open the Game Context tab:

  • Set Location, Time, Weather
  • Add NPC Mood and Activity
  • Include Recent Events the NPC would know about

Playground with context panel

The NPC now responds aware of its environment.

See Playground for testing memory, iterating on personalities, and more.

What’s Next?

You’ve created lore, generated an NPC, and tested it. Here’s what to explore:

Expand Your World

Build Your Game

Advanced Features


Quick Reference: API Testing

For developers who prefer testing via API:

curl -X POST https://loremind.peekgames.dev/api/loremind/v1/npc/interact \ -H "Authorization: Bearer YOUR_SERVER_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "text": "Hello, what is your name?", "entityMindId": "YOUR_ENTITY_MIND_ID" }'

Create API keys in Projects  → your project → API Keys.

Last updated on