LoreMind
NPCs That Stay In Character
Most AI NPCs make things up. LoreMind NPCs draw from your lore, and remember who the player is.
...|
Real-time state from your game
Retrieved from your documents
...
Why LoreMind?
Stop wrestling with dialogue trees. Give your NPCs the intelligence to respond naturally to any player input.
Context-Aware NPCs
NPCs draw from your lore and react to situational context you pass from your game. Location, time, weather, nearby characters, player state, and more.
Long-Term Memory
NPCs remember who the player is and what they've discussed, across sessions. Memories are automatically extracted and consolidated.
Managed Security
No API keys in your build. We handle authentication, rate limiting, and abuse prevention so you can focus on your game.
Cross-Platform
Engine-agnostic API works with any game client. Unity SDK available now, with more engines on the roadmap.
Lore Management
Upload your game's world knowledge. History, locations, factions, items. Tag documents to control what knowledge each NPC can access.
Entity Minds
Define each NPC's personality, speaking style, role, knowledge scope, and relationships with other NPCs.
Multi-Turn Conversations
NPCs remember conversation context for natural, coherent dialogue that builds on what was said before.
What LoreMind Is NOT
LoreMind NPCs are fully intelligent. They just stay in character.
NPCs draw from your lore for world knowledge. When they don't know something, they deflect naturally, staying in character.
How It Works
Upload Your Lore
Add your game's world knowledge to the LoreMind dashboard - world history, location descriptions, faction backstories, item lore, and more. Tag documents to organize and control access.
Create Entity Minds
Define each NPC in your game. Set their personality, speaking style, role, and what lore they have access to via tags. Configure relationships with other NPCs and set behavioral guidelines.
Pass RuntimeContext
Tell NPCs what's happening in your game right now. All fields are optional - pass only what's relevant. Update context as often as you like for truly immersive, situationally-aware NPCs.
// All fields are optional - use what's relevant
npc.Context = new RuntimeContext {
// Location
location = "The Rusty Tankard tavern",
locationDetails = "Crowded, smoky, dim lighting",
// Environment
timeOfDay = "evening",
weather = "stormy",
atmosphere = "tense",
// Surroundings
nearbyCharacters = new[] { "Town guard", "Hooded stranger" },
nearbyObjects = new[] { "Wanted poster", "Roaring fireplace" },
// Situation
situation = "The player just entered",
recentEvents = new[] { "Brawl broke out earlier" },
// NPC State
npcMood = "nervous",
npcActivity = "polishing a mug",
// Player
playerAppearance = "Muddy traveling clothes",
playerReputation = "Unknown to this NPC",
playerVisibleItems = new[] { "Sword", "Guild insignia" },
// Custom (anything else)
custom = "The player completed the mine quest"
};Get Intelligent Responses
Call Respond() and get back dialogue that's grounded in your lore, shaped by the NPC's personality, and aware of what's happening in your game. No dialogue trees required.
// It's this simple
var npc = GetComponent<LoreMindNPC>();
npc.OnResponseReceived.AddListener(response => {
dialogueUI.ShowText(response);
});
npc.Respond("Have you seen Marcus Ashford?");
// NPC responds based on:
// - Their personality and speaking style
// - What lore they have access to
// - The current RuntimeContext
// - Their relationships with other NPCsFrequently Asked Questions
What is LoreMind?
LoreMind is an AI-powered NPC intelligence platform for games. It gives your NPCs real knowledge about your game world, unique personalities, and the ability to have dynamic conversations with players. Unlike scripted dialogue trees, LoreMind NPCs respond intelligently to any player input while staying true to their character and your game's established lore. Unity SDK available now, with more engines coming soon.
How does lore-based NPC intelligence work?
You upload your game's lore documents to the LoreMind dashboard. World history, location descriptions, faction backstories, item descriptions, whatever makes up your world. When a player talks to an NPC, LoreMind searches through your lore to find relevant context, then generates an in-character response based on that NPC's personality, knowledge scope, and the current game situation.
What platforms does LoreMind support?
LoreMind is engine-agnostic at its core. Any game client that can make HTTPS requests can integrate with the API. The Unity SDK (available now) supports all Unity platforms: Windows, macOS, Linux, iOS, Android, WebGL, and consoles. SDKs for other engines are on the roadmap.
How much does LoreMind cost?
LoreMind uses a prepaid credits system with no monthly subscriptions. You buy credits when you need them and they never expire. We offer volume discounts for larger purchases.
Is my game's lore data secure?
Yes. Your lore documents are stored securely and only used to generate responses for your game. We handle authentication, rate limiting, and abuse prevention so you don't have to. Your lore is never shared with other projects or used for training.
Can NPCs have multi-turn conversations?
Yes. LoreMind supports conversation history, so NPCs remember what was said earlier in the conversation. NPCs can reference earlier topics, follow up on questions, and maintain coherent multi-turn interactions.
Do NPCs remember players across sessions?
Yes. With Server Mediated mode, LoreMind automatically extracts key facts from conversations and stores them per-player. NPCs will remember the player's name, past conversations, and important events, even across game sessions.
Can NPCs have relationships with other NPCs?
Yes. Entity Minds can be configured with relationships to other NPCs in your game. A barkeep might know the local blacksmith, distrust the town guard captain, and have heard rumors about the mysterious stranger who arrived last week. These relationships affect how NPCs talk about each other.
How do I integrate LoreMind into my game?
For Unity: Import the LoreMind package, add the LoreMindNPC component to your NPC GameObject, set the EntityMindId in the inspector, and call Respond() when the player interacts. The SDK handles everything else. Most developers are up and running within minutes. For other engines: Use the REST API directly. Any client that can make HTTPS requests can integrate.