Everything you need for lore-grounded NPCs

Build characters that stay true to your world.

Grounded in your documents

NPCs only say what's in your lore. Upload markdown, PDFs, or text that define your world. Every response comes from your source material.

Supports markdown, PDF, plain text
Organize by topic, character, or region
Real-time sync when you update lore

Citation-verified dialogue

See exactly which documents informed each response. Debug hallucinations before they reach players.

// Response
"text": "The war ended 200 years ago..."
"citations": [
  "lore/history.md:42",
  "lore/timeline.md:18"
]

Persistent memory

NPCs remember past conversations. They recall what players told them, track relationships, and maintain continuity across sessions.

Per-player conversation history
Configurable memory retention
Relationship tracking

Game state awareness

NPCs know about inventory, completed quests, and world state. They respond appropriately to what's happening in your game.

player.inventory: ["sword", "potion"]
quest.dragon_slayer: "completed"
npc.relationship: "friendly"

Works offline

Bundle LoreGuard with your game. No internet required, no per-player API costs. Players get the full experience without connectivity.

One-time license for offline deployment
Runs on player hardware (8GB+ RAM recommended)
No ongoing costs per player
GPU optional for faster inference

Simple integration

REST API for cloud, loreguard-cli for offline. Works with any engine — Unity, Godot, or custom.

REST API with WebSocket support
Example code in C#, Python, GDScript, JavaScript
Any engine that makes HTTP requests

Ready to try it?

Start with a free trial. No credit card required.

Join Waitlist