Overview

AI-powered NPC intelligence for games. Give your NPCs real knowledge, personalities, and dynamic conversations.

Choose Your Path

The Quick Start needs no code: upload lore, generate an NPC, and talk to it in the Playground in about 10 minutes. New to the concepts? How LoreMind Works is the one-page mental model.

What Is LoreMind?

LoreMind is a platform that brings your game's NPCs to life. Instead of scripted dialogue trees, NPCs can:

  • Have real conversations - Players ask anything, NPCs respond naturally
  • Know your world - Upload your lore, NPCs reference it automatically
  • Remember players - Long-term memory across play sessions
  • Stay in character - Consistent personalities and speaking styles

How It Works

1. Upload Your Lore

Upload your game's world knowledge as Lore Documents:

  • Locations and their descriptions
  • History and events
  • Factions and politics
  • Items, creatures, legends

2. Create NPC Personalities

Create Entity Minds from your lore. LoreMind generates complete personalities:

text
Name: Kaelen Oakhaven
Role: Artist and Woodcarver
Personality: A pragmatic and observant individual who finds
             inspiration in the quiet beauty of the valley.

Or create manually for full control over every detail.

3. Connect Your Game

Use a game engine SDK or call the REST API from your backend:

csharp
var npc = GetComponent<LoreMindNPC>();
var response = await npc.RespondAsync("What do you know about the dragon?");
// "The dragon? Aye, I've heard the rumors. Spotted near the old watchtower..."

4. NPCs Respond Intelligently

When players talk to NPCs, LoreMind:

  • Retrieves relevant lore
  • Applies the NPC's personality
  • Generates contextually appropriate responses
  • Optionally stores/retrieves memories

Platform Components

Dashboard

Web interface at loremind.peekgames.dev:

SectionPurpose
Lore DocumentsUpload and organize world knowledge
Entity MindsCreate and configure NPC personalities
PlaygroundTest NPC responses in browser
ProjectsManage projects and API keys
BillingManage your plan, buy top-up credits, view usage

API

REST API for server integration. Your backend calls LoreMind to generate NPC responses.

Game Engine SDKs

Client-side SDKs for game engines. Handle NPC interactions, context, and voice input. Available for Unity.

Key Features

Intelligence

AI-powered NPC responses with game-specific knowledge. Upload your lore, configure NPC personalities, and LoreMind handles the AI complexity.

Long-Term Memory

NPCs remember players across sessions. A blacksmith recalls that you helped defend their shop, a merchant remembers your past purchases, a guard recognizes a returning troublemaker.

Context Awareness

Pass situational context (location, time, weather, nearby characters) and NPCs respond appropriately:

json
{
  "location": "Blacksmith Shop",
  "timeOfDay": "evening",
  "weather": "stormy"
}

Credit System

Usage-based billing on simple subscription plans:

  • Monthly credit allotment included with your plan
  • Top-up credits available any time (they never expire)
  • Real-time cost tracking in the dashboard

Architecture

In production, your backend sits between your game and LoreMind:

flowchart LR
  client["Game Client<br/><small>your game</small>"]:::neutral <--> backend["Your Backend<br/><small>your game</small>"]:::neutral
  backend --> api["LoreMind API"]:::runtime

  classDef runtime fill:#d96a57,stroke:#a03f37,color:#2b0e0a
  classDef neutral fill:transparent,stroke-dasharray:4 3

Your backend:

  1. Authenticates players through your systems
  2. Stores the LoreMind API key securely
  3. Adds playerId to requests (enables memory)
  4. Forwards NPC requests to LoreMind
  5. Returns responses to clients

Editor Testing: During development, game engine SDKs can call LoreMind directly using a Server API Key stored locally.

Explore the Docs

Build your world

Integrate

Reference