LoreMind
Add Intelligent NPCs to Your Games
NPCs that know your lore and react to real-time situational context from your game.
...|
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.
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
Works on any platform Unity supports. Windows, macOS, Linux, iOS, Android, WebGL, and consoles.
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.
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 Unity 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.
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 supports any platform Unity supports. Windows, macOS, Linux, iOS, Android, WebGL, and consoles. The Unity SDK provides a simple drop-in component (LoreMindNPC) that handles all communication with the LoreMind service.
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.
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 Unity project?
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.