# MistScale MistScale is persistent world infrastructure for games. It keeps identity, relationships, and per-character state persistent across every session, and lets characters pass what players tell them to the characters they trust. AI NPCs are the first product built on it: characters with persistent memory, evolving emotion and mood, and per-player relationships, without dialogue trees or behavior scripts. An alternative to Inworld AI, Convai, and Charisma.ai with a focus on cognitive depth, grounded dialogue, and multi-engine SDK integration (Unity, Unreal, Godot, and Web). Publicly available: anyone can sign up free at https://mistscale.com/signup. ## What it does - **Persistent Memory (MNEMIS)**: NPCs remember conversations, opinions, and player history across sessions. The system stores understanding, not transcripts. An NPC met in session 1 still recognizes the player in session 47. - **Emotion & Mood**: Two layers. Emotion is volatile (per-message). Mood is a stable long-term baseline toward each player, moving one step at a time through a 10-step scale from hostile to elated. No mood whiplash. - **Per-player Relationships**: Trust, patience, mood, and emotion tracked independently for every player. One NPC can be warm with one player and hostile to another with no extra setup. - **Per-player Personality Drift**: Personality traits are a live numeric map (e.g. patience: 62, humor: 41) seeded by the studio and evolved separately for every player relationship. - **Knowledge Base (RAG)**: Upload lore files per NPC (default limit 3). NPCs answer from your canonical world facts, not hallucinations. - **NPC-to-NPC Relationships**: Directional trust (0 to 10) between any two NPCs in the same project, managed through the API. - **Information Sharing**: A per-NPC setting (Never, Cautious, Open) controls whether an NPC passes what a player tells it to the characters it trusts. Sharing follows per-character rules and trust thresholds. It is one hop only, and a shared fact reaches the receiving NPC as unverified hearsay. - **World Knowledge (project-scoped)**: A project-wide document library for shared lore (kingdom names, currency, plot twists). Uploading, audiences (NPC groups), per-NPC access rules, and draft/publish staging are available. Once published, a document is used in the conversations of every NPC allowed to read it. - **Spatial Context**: Real-time environmental injection (location, time, weather). The NPC mentions the rain unprompted. Short TTL, no persistence. - **Grounding**: Grounding checks specific claims against memory, lore documents, and the character brief. When a claim cannot be sourced, the NPC rewrites it or answers with calibrated uncertainty instead of inventing a detail. First token in roughly 2-3 seconds with grounding included. - **Voice**: Token-streamed text or sentence-level TTS over the same WebSocket. - **Cloud or Local, per project**: Each project picks where replies are generated when it is created, and can change it later. Local projects run replies on the player's device, in the Unity SDK only today (the Web, Godot, and Unreal SDKs run cloud projects). Local replies have no grounding check and no voice, and the Playground works with cloud projects only. - **Arc**: MistScale's own language model, fine-tuned for in-world characters and run on the player's device. The Unity SDK downloads it. - **Bring your own model**: A local project can ship its own GGUF model in one of five families (Qwen 3, Llama 3, Mistral, Gemma 4, Phi-4). MistScale builds each prompt in that family's format. The studio owns and licenses the model. ## How integration works One WebSocket connection per NPC. The Unity SDK ships a `MistscaleNPC` MonoBehaviour: drop it on a character, subscribe to `OnNPCResponseReceived`, call `SendChat("...")` for text and `SetSpatialContext(location, timeOfDay, weather)` for environment updates. Voice conversations use the same component. The `@mistscale/web-sdk` npm package gives browser games and chat-style experiences the same surface in TypeScript: `mistscale.connect(npcId)`, `connection.sendChat(...)`, and streamed `chatChunk`/`chatMessage` events. The `@mistscale/godot-sdk` addon (GDScript, signals) and the `@mistscale/unreal-sdk` plugin (C++/Blueprint, delegates via a GameInstanceSubsystem) give Godot and Unreal the same surface natively. Any other engine or runtime can integrate directly over the same REST + WebSocket protocol. A working NPC takes about 15 lines of game code and roughly 5 minutes from signup to first conversation. ## Who it's for Game studios, indie developers, and interactive world builders using Unity (other engines via WebSocket) who need characters that behave like minds, not menus. ## Alternative to Inworld AI, Convai, Charisma.ai, Heyo AI. Also evaluated against Mantella, a Skyrim voice-chat mod: Mantella is a conversation layer for one modded game, MistScale is a persistent memory, mood, and lore-grounding layer for NPCs in your own production game. ## Pricing Publicly available. Current plans (see https://mistscale.com/pricing for the latest): - **Free ($0, forever)**: 1 project, up to 3 AI NPCs, 150 credits per month (1 credit per text chat, 5 per voice chat), 3 knowledge docs per NPC, community support. No credit card required. - **Hobby ($10/month)**: 2 projects, up to 5 AI NPCs, 2,500 credits per month, priority support. - **Standard ($30/month)**: 5 projects, up to 15 AI NPCs, 9,000 credits per month, priority support. - **Enterprise (coming soon)**: unlimited projects, unlimited AI NPCs, unlimited credits, dedicated region, SLA and dedicated support. Live conversations are never cut mid-session at a usage cap. Customer game data is not used to train models. ## Pages - [Home](https://mistscale.com/): Persistent world infrastructure for games, with AI NPCs as the first product and an interactive NPC demo - [Product](https://mistscale.com/product): The platform: identity and relationships, persistent entity state, information flow, and canon, with MistScale AI (AI Characters) as the first product built on it, plus local inference (Arc, bring your own model, Cloud or Local per project) - [About](https://mistscale.com/about): Vision, founders, and what we believe - [Unity](https://mistscale.com/unity): Landing page for Unity developers. Why NPCs reset when a scene unloads, and how MistScale keeps memory, mood, and per-player relationships on the server instead - [Docs Hub](https://mistscale.com/docs): All documentation - [Pricing](https://mistscale.com/pricing): Plans, comparison table, and pricing FAQ - [Blog](https://mistscale.com/blog): Engineering and platform articles - [Changelog](https://mistscale.com/changelog): Dated entries for new features, improvements, and fixes as they ship - [How to Keep Doors, Coins, and NPC State Persistent Between Sessions in Unity](https://mistscale.com/blog/unity-persistent-state-and-npc-memory): Unity save-system tutorial (stable IDs, a save data model, restoring state before gameplay runs) and how persistent NPC memory and per-player relationships extend the same pattern over the WebSocket SDK - [Why Procedural Worlds Feel Empty, and How to Make NPCs Feel Alive](https://mistscale.com/blog/why-procedural-worlds-feel-empty): Why bigger maps and more generated content do not make a world feel alive, and the six systems that do: memory, per-player relationships, gradual mood, lore grounding, scene context, and returning-player testing - [How GTA-Style NPC Personality Systems Actually Fit on a Console](https://mistscale.com/blog/gta-style-npc-personality-on-console): Why living-world NPC features are feasible on fixed console hardware, broken into three layers: compact personality state that moves slowly (volatile emotion over a threshold-driven mood scale), conditional reactions to typed world context (time, weather, location), and tiered simulation where full cognition is reserved for characters the player talks to. Also covers claim-by-claim lore grounding and why patents describe methods rather than shipped systems - [How to Build a Persistent NPC Companion Without Writing 7,000 Lines of Behavioral Data](https://mistscale.com/blog/build-persistent-npc-companion): Guide for indie devs and small teams building RPG companions, social NPCs, or persistent worlds who want richer behavior without hand-authoring an enormous behavior database. Six steps: start with state (memory, mood, trust, relationship score, current goal, location context) and treat dialogue as its output, not the source of truth; separate memory into player identity, recent interactions, long-term relationship events, world facts, and quest-relevant facts, deciding what persists, decays, or gets summarized; use a limited mood range that changes gradually rather than instant whiplash; keep relationship records per player so trust, familiarity, and tone drift independently; ground responses against world lore, character backstory, recent memory, and scene context, and let the NPC say it does not know rather than invent; and test persistence across relaunches, save reloads, long gaps, and multiple players. Also covers five common mistakes and why an LLM is optional because the core design problem is state management, not sentence generation - [How to Build Brain-Like Memory for AI NPCs](https://mistscale.com/blog/brain-like-memory-for-ai-npcs): Why vector search is retrieval and not memory, and the four layers you add on top of it: structured conclusions instead of raw transcripts, decay and reinforcement so established patterns outweigh trivial one-offs, per-player relationship state with a fast emotion layer over a slow mood baseline, and claim-level grounding with a similarity floor. Also covers why an LLM should not write memories every turn and how NPC memory differs from assistant memory - [How to Make RPG NPCs Remember Players Across Sessions](https://mistscale.com/blog/rpg-npcs-that-remember-players): Why the RPG worlds players call alive are the ones with small callbacks (a shopkeeper raising an old debt, a guard's tone shifting) rather than the biggest branching plots, and the seven steps that produce that: separate factual, relationship, and world-state memory; keep relationship state per character per player and let it reach prices and what gets offered, not just greetings; move mood gradually on accumulated pressure while letting a single reply's emotional colour spike independently; ground dialogue in memory, lore, and the character brief and pass location, time, and weather in every turn; store summarised facts rather than transcripts; persist across sessions and test with return visits at minutes, a day, and a fortnight; and connect event-driven over WebSocket. Notes the boundary explicitly: persistence means what happened is still there when the player returns, not that characters live their lives while the game is closed - [How to Build Version-Aware Memory for Persistent AI NPCs](https://mistscale.com/blog/version-aware-npc-memory): Why plain similarity search lets a superseded rulebook or an unapproved design proposal answer as canon, and the seven-step architecture that fixes it: separate current lore, historical lore, experimental material, and per-player memory; tag sources with status, version, effective date, and what they supersede; rank retrieval by precedence rather than similarity alone; store distilled facts instead of transcripts; check every specific claim before it reaches a player; keep relationship state per player; and supersede documents rather than editing them in place. States plainly what MistScale provides today (per-player memory and relationships, claim checking against memory, lore, and the character brief, plus unpublished-by-default documents, pending access grants, audiences, and a Deploy action) and what it does not (no version, supersedes, or effective-date field, and no authority ranking in retrieval, which is similarity-based with a floor), then shows how to express precedence through publication and scoped access instead - [How to Build NPCs That Feel Like They've Lived a Life Before the Player Meets Them](https://mistscale.com/blog/npcs-that-lived-before-the-player): Seven practical steps for making a character feel continuous rather than freshly booted, framed against the Agentopia paper (arXiv 2606.07513, 100 agents over 10 simulated years). Author a short pre-player timeline instead of simulating one, keep memory, mood, and per-player relationship state separate, store meaningful events rather than raw transcripts, move mood one step at a time on accumulated pressure, source every specific from memory, lore, or the character brief before it ships, pass location, time, and weather in on every turn, and stream over WebSocket for live scenes. Includes the common failure modes and a note that server-side state survives quits but does not simulate NPC lives between sessions - [How to Remember NPC Voices Between Sessions: a Simple System for DMs](https://mistscale.com/blog/remember-npc-voices-between-sessions): Tabletop guide for DMs and game masters whose recurring NPCs drift between sessions. Build each voice on three anchors (one pitch note, one cadence note, one attitude note) rather than a full accent; keep a one-line voice card with name, role, voice, dominant trait, and a signature phrase; tie the voice to mood and to the party relationship so it can be recovered from behaviour rather than sound alone; write a continuity note or a ten-second audio memo right after each session; rehearse one test line for the NPCs most likely to appear; and let world events shift the character subtly over long gaps while the core voice stays stable. Includes five common mistakes and an FAQ for DMs who are not confident with voices. Closes by connecting the tabletop problem to digital NPCs: a voice card is a character brief, a continuity note is a memory record, and a game shipping thousands of conversations needs those as a system rather than as prep notes - [How to Build Persistent NPC Memory for Long-Running Games and AI Worlds](https://mistscale.com/blog/persistent-npc-memory-long-running-worlds): Seven-step guide framed around graph-style memory layers rather than chat history. Split what persists into player identity, relationship history, recent interactions, world facts, and unresolved promises; model memory as structured entities (player, NPC, location, item, quest, event, decision) linked by edges like met, owes, hostile_to, last_seen_at, and promised so retrieval pulls the right context fast; keep shared world memory separate from personal relationship memory; drift mood one step at a time on repeated pressure rather than flipping on a single line; check every claim against memory, lore documents, or the character brief and rewrite, stay vague, or refuse when nothing sources it; retrieve only what the current moment needs and keep the block compact; and test like a returning player at minutes, hours, and weeks while checking that different players get different treatment. Includes five common mistakes and an FAQ covering graph memory versus vector databases for NPCs (they solve different problems: similarity search versus structured state and event links), why per-player memory beats shared memory, how source checks prevent invented lore, and engine integration over WebSocket or SDK - [How to Build an AI RPG That Stays Consistent: Separate World State from NPC Memory](https://mistscale.com/blog/ai-rpg-world-state-vs-npc-memory): Seven-step architecture for AI RPGs, simulation tools, and persistent worlds, built on the idea that the model should narrate and propose rather than decide what is true. Keep canonical facts (location, inventory, injuries, quest state, factions, time) in a database or state engine instead of the prompt; store world state separately from NPC memory so remembering a player cannot corrupt the world model; track trust, fear, warmth, debt, suspicion, and familiarity per NPC and per player and update them gradually rather than resetting each session; move mood one step at a time on accumulated pressure while keeping it away from hard facts so an angry NPC still knows the lore; verify every factual statement against world state, lore documents, character briefs, or memory before it reaches the player and rewrite or refuse anything unsourced; let the model suggest effects but commit them through deterministic game logic after a validation pass; and summarize long interactions into compact durable memories rather than replaying transcripts. Includes five common mistakes and an FAQ covering why prompts are not persistence, how world state differs from NPC memory, keeping characters consistent without sounding scripted, and where MistScale sits (an NPC cognition layer on top of your canonical world state, over WebSocket) - [How to Build Persistent Memory for Game NPCs That Remember Players Across Sessions](https://mistscale.com/blog/persistent-memory-for-game-npcs): Six-step guide for developers building RPGs, social sims, and persistent worlds. Separate raw interaction logs, summarized memories, and stable character facts so the NPC cannot contradict its own backstory; index relationships per player because the same NPC may trust one and dislike another; promote only important events (names, promises, favors, betrayals, quest outcomes, repeated preferences) through an extraction step rather than storing transcripts; merge older memories upward and apply decay or confidence scores while keeping canon facts and relationship milestones durable; check every claim against memory, world lore, or the character brief before the NPC speaks and rewrite anything unsourced; and replay the same NPC after minutes, days, and weeks while watching for stale memory, wrong-player leakage, mood whiplash, and lore contradiction. Includes four common mistakes and an FAQ on what to store, whether a vector database is required, and how memory differs from personality - [How to Build Persistent NPC Memory That's Structured, Traceable, and Actually Useful](https://mistscale.com/blog/structured-traceable-npc-memory): Seven-step guide for developers, narrative designers, and indie teams on treating NPC memory like game state rather than a text blob. Split memory into player identity, past interactions, relationship status, world facts, and mood; store it as structured records rather than one unindexed file; make provenance part of the model by linking memory back to the dialogue, quest event, or lore document that produced it; keep facts, relationships, and mood as three separate tiers so a character does not remember a player while still speaking to them like a stranger; ground every claim before it ships and rewrite or drop what has no source; update memory from gameplay events automatically instead of manual note-taking; and expose the memory layer to the runtime over a live connection such as WebSocket. States precisely where MistScale stops short of the draft's "structured and traceable" framing: memory records carry no per-fact confidence score and no explicit provenance link back to a dialogue turn or quest event, so what ships is a real-time claim-level gate (a specific either traces to an approved source now or is rewritten or refused) rather than a queryable audit trail, which is a layer worth building on top rather than assuming it ships. Includes five common mistakes and an FAQ on vector databases versus structured memory, NPC memory versus lore, and gradual mood - [How to Stop AI NPCs From Forgetting Players: A Practical Guide to Persistent Memory, Mood, and Relationship State](https://mistscale.com/blog/stop-ai-npcs-forgetting-players): Seven-step guide for developers, narrative designers, and AI engineers on why NPCs that reset every session break immersion, and the fix: persistent memory, gradual mood, and per-player relationships designed as part of the system rather than a better prompt. Decide the narrow set of facts worth surviving a restart; separate world state from per-player relationship state so two players in the same room get different reactions; run a session-resume flow that loads a short summary before the NPC speaks and writes an update back at the end; move mood one step at a time rather than snapping between states; ground every claim in memory, lore, or the character brief and rewrite or refuse what is unsourced; pass in scene context (location, time, weather) so the character reacts without being told; and stream output over WebSocket with the same pipeline serving text and voice. States plainly where MistScale's own memory is consolidated per player rather than a literal readable handoff note, where scene context reaching the character is limited to location, time of day, and weather (an open context field is stored but not surfaced to the prompt), and that world lore is studio-uploaded rather than learned from conversation, with canonical facts and quest state remaining the game's own responsibility. Includes five common mistakes and an FAQ on what to save between sessions and how to stop invented lore - [How to Give NPCs or Bots Distinct Personalities, Short Memory, and Real Banter at Scale](https://mistscale.com/blog/npc-personalities-memory-and-banter-at-scale): Seven-step guide for game developers, MMO and private server modders, and AI builders whose bots all sound the same. The argument is that the problem is a missing identity layer rather than the model, and the fix is separating personality, memory, and relationship state. Give each character a compact identity card (role, speaking style, goals, temperament, hard boundaries) treated as structured data rather than buried in one giant prompt; store short memory as small entries covering promises, insults, gifts, favors, repeated topics, and player-specific facts, summarized into durable notes instead of kept as transcripts; track trust, familiarity, irritation, loyalty, and fear per player rather than globally; move mood one step at a time along an ordered scale with a fast per-reply emotion layer over a slow baseline; check every claim against lore documents, character notes, or memory and rewrite or decline what is unsourced; pass location, time of day, weather, faction territory, nearby events, and combat state in, but only the parts that matter; and run the loop server side (input, memory retrieval, relationship lookup, mood update, lore check, generation, stream out) over WebSocket. Includes six common mistakes and an FAQ on how much memory an NPC needs, why compact identity cards beat huge prompts, keeping thousands of bots distinct, and why resetting is the main reason NPCs feel fake. States the boundary that server-side state survives quits but does not simulate characters between sessions - [How to Build an NPC Behavior Engine with Pressure, Emotion, and Tactics](https://mistscale.com/blog/npc-behavior-engine-pressure-emotion-tactics): Six-step guide for developers, narrative designers, and AI builders whose NPCs can talk but still feel flat, on the argument that the missing piece is a behavior model rather than more dialogue. Start with the smallest state that provably changes behavior (location, time, weather, relationship, objective, a few pressure values) and let each variable move slowly; treat events as pressure that accumulates across scenes rather than as instant emotion, keeping the distinction that pressure is what happens to the character and emotion is its response; map pressure onto a stepped mood ladder moved one step at a time, with a faster per-reply emotional layer above the slow baseline and a residual left after each shift so the character stays near the edge it crossed; turn emotion into tactics (refuse, deflect, negotiate, test, reveal, warn, help) kept in a separate layer from emotion so the same feeling produces different behavior in different contexts; keep memory and relationship state per player so session 47 differs from session 1; and guard against loops like test-reveal-test by giving every tactic an exit condition and a rule for what must change before reuse, while grounding specifics against world state, memory, or the character brief. States the boundary plainly: MistScale runs the pressure and emotion halves (per-player pressure accumulation, a ten-step ordered mood baseline from hostile through neutral to elated that moves one step per shift and keeps a residual, a faster per-reply emotion, per-player memory and relationships, and claim checking) but does **not** select tactics and has no loop detector, so the tactic engine and progression rules are the studio's to build on top. Includes five common mistakes and an FAQ on pressure versus emotion, breaking behavior loops, and why a compact state model beats a large dialogue tree - [How to Build Persistent NPC Memory: Current Facts, Historical Facts, and Superseded Facts](https://mistscale.com/blog/npc-memory-current-historical-superseded-facts): Seven-step guide on treating NPC memory as correctable state rather than a pile of text, for developers, narrative designers, and AI engineers. Separate the raw transcript from structured memory carrying who the player is, what happened, what the character believes, and how certain it is; model memory as nodes joined by typed edges (caused by, contradicts, supersedes, supports, belongs to this relationship) so the character can reason about how one fact changed another; keep three tiers of truth where current facts are the only ones spoken from, historical facts stay readable so you can explain how the character got here, and superseded facts preserve the correction trail; keep relationship state per player so one bad record affects one relationship rather than everybody; record a correction edge and mark the old fact superseded instead of overwriting, because an overwrite leaves no record of what changed or why and makes contradictions undebuggable; trace every specific back to memory, lore, or the character brief before it is spoken; and keep mood on its own gradual scale so emotional swings do not rewrite the record. States two limits plainly: MistScale exposes no typed-edge graph to author or query, and memory records carry no supersedes or version field, so precedence is expressed by unpublishing or re-scoping world knowledge documents rather than by authority ranking in retrieval. Companion to the long-running-worlds post (entity and edge modelling) and the version-aware post (document-level precedence) - [How to Clean Up Long-Term AI Memory Without Making Your NPCs Forget Everything](https://mistscale.com/blog/clean-up-long-term-ai-npc-memory): Five-step guide for game developers, roleplay builders, and product teams running persistent AI NPCs or long-running chat systems whose memory has turned repetitive, bloated, or stale. The premise is that the problem is missing structure rather than too much remembering. Split memory into stable lore, current situation, history, and open items, and let the bucket decide how a record is retrieved; merge duplicates into one canonical version before they crowd out the record that mattered, and normalize formatting early because broken notes become permanent; retire superseded facts into history with timestamps, confidence, or relevance rather than erasing them, keeping the distinction between wrong and no longer true; put proposed writes through a review layer with a rollback path, or review by sampling if a full queue is too much process; and write a memory policy that captures only durable facts, current state, open loops, and meaningful relationship changes while explicitly excluding filler and single-turn detail. States what MistScale does here (distilled memory records rather than transcripts, consolidation that runs on its own, per-player relationship state kept separate from knowledge, world documents published or unpublished and scoped per character, and claim checking against memory, lore, or the character brief) and what it does not (no human approval queue in front of a memory write, and no version or supersedes field, so precedence is expressed through publication and scoped access). Includes five common mistakes and an FAQ on cleanup cadence, archiving versus deleting, and preventing clutter with a schema from day one - [How to Build Persistent NPC Memory That Survives Weeks Between Sessions](https://mistscale.com/blog/npc-memory-survives-weeks-between-sessions): Seven-step guide for solo RPG builders, game developers, narrative designers, and anyone building NPCs or AI game masters that need continuity across sessions. Decide the narrow set of facts worth persisting (relationships, active quests, inventory changes, unresolved clues, world state, consequential choices) and let throwaway chat detail stay in the transcript; split memory into short-term scene context, long-term durable facts, and structured state for rules that must stay consistent; keep relationships per player rather than a single shared "the player" record so trust, favors, and open threads differ by who is asking; ground every claim in memory, a lore document, or the character brief and rewrite or refuse what cannot be verified; move mood one step at a time on accumulated pressure instead of swinging between friendly and furious in one line; reload the important facts before generating dialogue whenever a session resumes, so the opening line already sounds like continuity; and test with long gaps, not just rapid back-to-back messages, since the real failure mode shows up after a break rather than on the 20th consecutive turn. Includes five common mistakes and an FAQ on chat history versus persistent memory, why AI game masters feel inconsistent, and whether continuity requires a full dialogue tree - [When Should NPC Memory Actually Change Behavior? A Practical Framework for Persistent Game AI](https://mistscale.com/blog/when-should-npc-memory-change-behavior): Six-step framework for developers, narrative designers, and AI tooling teams on the harder problem behind memory retrieval: deciding whether a remembered fact should actually change what an NPC says or does right now. Start every response from the live scene rather than the memory; turn retrieved history into behavior candidates (ignore, mention briefly, warn, offer help, change mood, follow up later) instead of feeding it straight into output, keeping a no-history default in the mix; score memory by relevance, timing, and fit to the NPC's role and emotional state; apply governance that can suppress, delay, or soften a memory instead of always surfacing it; let per-player trust, irritation, affection, suspicion, or familiarity shape tone and whether a memory surfaces warmly, cautiously, or not at all; and check the final line against lore and character truth before it ships, rewriting or refusing anything the memory conflicts with. Includes five common mistakes and an FAQ on memory retrieval versus governance, staying consistent without repeating yourself, and preventing invented facts - [Where Should NPC Memory Live? A Practical Guide to External Memory, Running State, and Model Weights](https://mistscale.com/blog/where-should-npc-memory-live): Guide to deciding where NPC memory should be stored: split memory into short-term conversation state, persistent relationship memory, and world/lore facts, and ask whether each detail needs to survive the chat, the session, or the whole game; keep facts and history in external storage (memory store, graph, or vector database) as small searchable units with source and timestamp metadata rather than in the prompt; put mood and relationship drift (hostility, trust, patience, greed, fear, warmth) in live per-player running state that decays or stabilizes slowly rather than resetting each turn; reserve model weights for general behavior like speaking style and tone, not player-specific memory, since live fine-tuning per interaction is expensive and hard to debug; ground every specific claim in memory, lore, or the character brief and hedge or refuse what cannot be sourced; and test the moments that actually break immersion, such as a returning player after weeks away or a fact that should only be known from an earlier conversation. Includes five common mistakes and an FAQ on external storage versus model weights, whether fine-tuning is needed for persistence, using a vector database alone, and preventing invented lore - [How to Build Long-Term NPC Memory Without Wrong Recall or Hallucinated Lore](https://mistscale.com/blog/long-term-npc-memory-without-wrong-recall): Guide for game developers, AI builders, and product teams giving NPCs long-term memory without overreach, false recall, or lore-breaking dialogue. Split memory into player identity, relationship history, preferences, promises, world facts, and temporary scene context, promoting only details that are useful later and safe to reuse; store memories as small structured facts with timestamp, source, confidence, and scope metadata instead of raw chat logs; add validity windows and mark contradicted older memories as superseded instead of letting both compete; retrieve by relevance (topic matching, entity lookup, high-priority relationship memories like promises or betrayals) rather than volume; verify every claim against memory, lore, or the character brief before it is spoken, rewriting or softening what cannot be sourced; and keep memory, mood, and personality as separate systems so a remembered player does not reset the NPC's emotional state each session. Includes five common mistakes and an FAQ on what to remember long-term, preventing invented facts, preloading versus relevance-based retrieval, and how this differs from a normal RAG system - [How to Build One Source of Truth for AI Agent Memory Across Sessions](https://mistscale.com/blog/one-source-of-truth-ai-agent-memory): Guide for game developers, AI builders, and product teams dealing with agent memory drift or NPCs that forget players between sessions. Pick one canonical durable store for facts that must survive sessions and treat prompts, chat logs, and summaries as supporting material rather than truth; separate short-term conversation from long-term memory and only promote details that matter later (name, promise, preference, quest outcome, relationship change); store memory as entities, relationships, event history, and per-player state instead of one free-text blob; route every client (Claude, a game NPC, a web app, a Discord bot) through the same memory backend so no client can invent its own version of the truth; require every claim to be backed by memory, source documents, or an approved character brief, rewriting or refusing what cannot be verified; keep per-player relationship state (mood, trust, suspicion) separate from global world lore so one does not overwrite the other; and test for drift across repeat sessions and multiple clients the same way you test for bugs. Includes five common mistakes and an FAQ on what a one-source-of-truth memory layer is, why agents end up with conflicting memories, and what an AI memory system should refuse to do - [How to Ingest Game Lore into NPC Memory Without Slow, Brittle LLM Extraction](https://mistscale.com/blog/ingest-game-lore-into-npc-memory): Guide for game developers building RPGs, sims, and narrative worlds who want NPCs to remember lore reliably without hand-authoring every dialogue branch. Start with a small schema (characters, places, factions, items, quests, promises, relationship events) and keep stable canon separate from per-player memory and mood; break lore documents into sourceable, scene-sized chunks with document IDs, section names, and timestamps attached; use non-generative extraction (entity recognition, coreference resolution, relation scoring, rule-based mapping) for the first pass instead of asking an LLM to invent a schema from scratch; normalize extracted facts into subject/relation/object/source/confidence/scope records and deduplicate aliases into canonical entities; validate before anything reaches an NPC, rejecting or flagging unsourced or canon-conflicting facts and having the NPC hedge or refuse rather than hallucinate; and connect the structured lore layer to a runtime NPC system that streams dialogue and checks claims against lore, memory, or the character brief, keeping mood and relationship history as separate systems. Includes five common mistakes and an FAQ on non-generative extraction versus LLMs, the best memory format, preventing invented lore, and where MistScale fits in the pipeline - [Why Vector Search Alone Doesn't Create Believable AI NPC Memory](https://mistscale.com/blog/vector-search-alone-doesnt-create-npc-memory): Guide for game developers, technical designers, and founders building RPGs, simulations, or narrative worlds who need NPCs that feel persistent instead of stateless. Separate retrieval (finding relevant text) from memory (structured knowledge of who said what, when, how important it was, and whether it changed the relationship); store player history as relationship state (trust, familiarity, suspicion, affection, debt, fear) with durable memory atoms for promises, insults, gifts, revealed secrets, and completed quests; use retrieval to support relationship state rather than replace it, so a returning player is greeted differently after weeks or dozens of sessions; move mood gradually on accumulated pressure and events rather than resetting per line, keeping traits like patience or greed separate from mood; ground every claim against memory, lore, or the character brief and rewrite, soften, or refuse what cannot be sourced; and test for continuity (long gaps, changed location, unfinished promises) rather than single-turn answer quality. Includes five common mistakes and an FAQ on whether retrieval alone is enough, memory versus lore, why NPCs feel inconsistent even with a memory layer, and making emotions feel natural - [How to Keep a Solo Sci-Fi Campaign Coherent With AI Game Master Memory](https://mistscale.com/blog/solo-sci-fi-campaign-ai-game-master-memory): Guide for solo players, narrative designers, and indie developers building AI game masters or persistent RPG worlds with multiple NPCs, factions, and long-running quest lines. Separate story memory from chat history by tracking NPC facts, relationship state, and quest state as distinct layers; keep a campaign ledger with one row per faction, NPC, and active quest (standing, status, last update, consequences) updated after every scene; give each NPC a relationship track separate from faction reputation, since a character can hate a faction, like the player personally, and still refuse a favor over an old grudge; limit each scene to one or two active NPCs and keep the rest in the background ledger so they return consistently; feed a short recap (location, active quests, faction standings, present NPCs, unresolved promises, last consequential choice) before generating each new scene; and add a continuity check that verifies specific claims against memory, lore, or campaign notes before they reach dialogue, rewriting or refusing what cannot be sourced. Includes five common mistakes and an FAQ on tracking faction reputation, how many NPCs an AI game master can handle well, and correcting the state when the AI contradicts an earlier session - [How to Scale Unity NPCs Without Losing Continuity: Memory, Mood, and Lore-Consistent Dialogue](https://mistscale.com/blog/scale-unity-npcs-without-losing-continuity): Guide for Unity developers building large crowds, RPG towns, simulations, or narrative worlds where NPCs need to feel consistent across sessions. Separate crowd rendering, navigation, and social behavior into different systems so only the NPCs players interact with need deeper cognition; give each NPC a stable identity (name, role, location, personality) plus a per-player relationship record, since what matters is what an NPC remembers about one specific player, not in general; replace brittle dialogue trees with memory-backed responses that draw on prior conversations, recent events, and world state; add gradual mood and trait drift (patience, suspicion, humor, greed) per relationship instead of snapping between emotional states; ground every claim in memory, lore documents, or the character brief and rewrite or refuse what cannot be sourced; and layer a dedicated cognition system such as MistScale on top of an existing crowd setup over WebSocket rather than hand-authoring every branch. Includes four common mistakes and an FAQ on whether every NPC needs AI dialogue, whether persistent memory hurts performance, preventing invented lore, and integrating with an existing Unity crowd system - [How to Track NPC Trust, Memories, and Faction Reputation in a Persistent RPG World](https://mistscale.com/blog/npc-trust-memory-faction-reputation): Eight-step guide to structured relationship state, tracking trust, rank, memories, an event log, and faction reputation as separate systems instead of one global score. Steps: separate relationship state from dialogue and scope it per player, per NPC, and per faction; decide which conversations become permanent memory (promises, gifts, threats, betrayals, favors, milestones) rather than storing everything; track trust (relationship quality) and rank (relationship stage: stranger through confidant or enemy) as distinct values; pair a single trust number with an event log so the reason behind a change is explainable; let trust, patience, suspicion, humor, greed, and loyalty drift independently per relationship so the same NPC treats different players differently; make faction reputation open or close doors, change greetings, and gate what information an NPC shares; build a memory-to-dialogue loop so remembered facts actually surface in greetings and reactions rather than sitting unused; and add GM-only vs player-visible vs party-shared permission rules before multiplayer content grows around the data. Includes five common mistakes and an FAQ distinguishing trust, reputation, and memory - [How to Build NPC Memory That Changes Behavior, Not Just Dialogue](https://mistscale.com/blog/npc-memory-behavior-not-dialogue): Six-step guide arguing that retrieval-and-inject memory is not enough, remembered state should change which behavior gets selected, not just what text gets pasted into the prompt. Steps: separate memory storage from behavior influence (current state plus candidate behaviors plus retained-state influence equals final action); pick one or two behavior axes for memory to affect (trust, suspicion, willingness to help, pricing, aggression, refusal) rather than letting it touch everything, which reads as mushy; score candidate responses against remembered state instead of injecting raw text, keeping the baseline candidate visible for debugging; let memory strength decay or drift independently of mood and personality so an NPC can stay loyal while still growing more cautious or irritated over time; add a governor layer that controls how much retained state is allowed to dominate the final outcome, useful for comparing a baseline against a governed mode; and ground any referenced lore or past events in approved sources, rewriting or refusing unsourced claims. Includes five common mistakes and an FAQ contrasting this with plain RAG and with dialogue trees - [How to Ship AI NPCs Safely: A Practical Lifecycle for Game Studios](https://mistscale.com/blog/how-to-ship-ai-npcs-safely-lifecycle-for-game-studios): Production-style workflow for game studios shipping AI NPCs: define an NPC contract for what a character can know, remember, and reveal; version prompts, lore, and memory schema like code; add an evaluation gate (lore recall, promise tracking, mood drift, refusal cases) before release; roll out behavior changes canary-style and monitor latency, refusal rate, and lore violation rate; build rollback and audit logging for claims, sources, and memory hits; and move repeatable cognition (memory, mood, lore grounding, streaming) into a dedicated layer such as MistScale over a single WebSocket. Includes five common mistakes and an FAQ on pre-launch testing, preventing invented lore, and adding persistent memory without rewriting the game - [How to Build a Living AI NPC Without Turning Your Game Into a State-Mess](https://mistscale.com/blog/living-ai-npc-without-state-mess): Eight-step guide to a practical NPC workflow that avoids a tangled prompt pile. Steps: separate persistent memory, scene state, and live conversation instead of one giant prompt, and treat player messages as untrusted input; store memory as small structured facts (name, promises, relationship status, last location) retrieved selectively rather than rereading transcripts; let mood and personality drift gradually per relationship instead of snapping between states; ground every factual statement in memory, approved lore, or the character brief and rewrite or refuse what cannot be traced to a source; pass in structured spatial context (room, zone, weather, time) instead of hoping the model infers it; add a deterministic fallback for slow, uncertain, or unsourced responses so the game never breaks; stream tokens or sentence-level TTS to hide latency behind natural delivery; and move to an orchestration layer such as MistScale once memory, lore, mood, and spatial context start interacting. Includes five common mistakes and an FAQ on the simplest way to add player memory, stopping invented lore, and whether a huge dialogue tree is still needed - [How Much Should NPCs and Factions Remember After 10 Sessions?](https://mistscale.com/blog/npc-faction-memory-how-much-to-remember): Seven-step guide for DMs, GMs, and game developers on scoping campaign memory so continuity does not become a bookkeeping job. Steps: bucket memory into personal interactions, public actions, faction-level events, and world-changing choices; track short one-line anchors (who did what, to whom, when, what changed) instead of full transcripts; decide decay per memory, trivial events fade, personal events linger, faction events persist, betrayals leave scars; make remembering change behavior (discounts, extra questions, reinforcements, quiet warnings), not just add a callback line; treat factions as having shared institutional memory tied to relationship states (neutral, suspicious, cautious, friendly, allied, hostile) independent of which members are present; let memories create delayed consequences sessions later rather than immediate payoff; and keep the system lightweight, a few tags or a short reputation note per important NPC or faction, pruned between sessions. Includes four common mistakes and an FAQ on which NPCs deserve long-term memory, faction versus individual memory, and avoiding bookkeeping overload - [How to Make AI NPCs Feel Like the Same Character Across Weeks, Sessions, and Players](https://mistscale.com/blog/ai-npc-consistent-character-across-sessions): Nine-step guide to NPC continuity: separate short-term chat from long-term identity; decide what deserves to become memory (introductions, quests, threats, gifts, promises, trust changes, lore discoveries) rather than storing everything; give each player their own relationship state (trust, patience, suspicion, humor, greed) instead of one global opinion; move mood gradually on accumulated pressure instead of snapping between states; ground every specific claim in memory, lore, or the character brief and rewrite or refuse what cannot be sourced; feed the NPC its location, weather, and time of day; build a retrieval rule (recent player memory, then relationship history, then world lore) before writing more prompts; test for continuity failures across sessions and weeks, not just single good responses; and use a dedicated layer such as MistScale for the repeatable parts (memory, mood, lore grounding) over Unity, Unreal, Godot, Web SDK, or REST. Includes six common mistakes and an FAQ on why NPCs feel inconsistent, selective vs exhaustive memory, and preventing invented lore - [How to Build AI NPC Memory That Actually Changes Behavior: A Practical Guide to Governed Continuity](https://mistscale.com/blog/ai-npc-memory-governed-continuity): Eight-step guide arguing that retrieval alone is not enough, a retrieved memory should have to earn the right to influence behavior. Steps: decide up front which memory types are allowed to affect dialogue, mood, or quest logic versus stored-only; convert raw chat into structured records (memory atoms) instead of dumping transcripts into the prompt; score retrieved memories against the current scene for recency, recurrence, and relationship relevance rather than treating retrieval as automatic truth; add a governance layer that can suppress, down-rank, or refuse a memory before it reaches generation, keeping a clean no-history candidate in the mix; verify every specific claim against memory, lore, or the character brief and rewrite or refuse what cannot be sourced; write only the final selected behavior back into history, never a rejected candidate, to keep continuity deterministic; test continuity itself (overremembering, mood whiplash, memories overriding the current scene) rather than just chat quality; and use a productized layer such as MistScale, which applies persistent memory, evolving mood, lore grounding, and claim checks so memory only changes behavior when it should. Includes five common mistakes and an FAQ on what "earning the right to influence behavior" means and how this differs from prompt stuffing - [How AI NPCs Remember Across Sessions](https://mistscale.com/blog/ai-npc-persistent-memory): How persistent NPC memory works inside MNEMIS - [MistScale vs Inworld vs Convai](https://mistscale.com/blog/mistscale-vs-inworld-vs-convai): Feature comparison of AI NPC platforms - [Compare](https://mistscale.com/compare): Index of MistScale comparison pages against other AI NPC options - [MistScale vs Inworld Dynamic Relationships](https://mistscale.com/compare/mistscale-vs-inworld): Comparison against Inworld's Dynamic Relationships feature. Inworld scores interactions across Trust, Respect, Familiarity, Attraction, and Flirtation to move players along authored Friendship (Archenemy to Close Friend) and Romance (Date to Life Partner) stages, and is the better pick for legible stage gating, romance arcs, and studio-tunable pacing. MistScale is the better pick for memory of specific past events, per-player personality drift, a 10-step gradual mood baseline, and claim-level lore grounding - [MistScale vs Convai: Persistent NPC Memory and Lore-Grounded Dialogue vs Unreal Avatar Demos](https://mistscale.com/compare/mistscale-vs-convai): Helps Unreal and cross-engine teams decide whether they need a polished AI character plugin for voice, vision, and facial animation, or a deeper cognitive layer for NPCs that remember players, evolve emotionally, and stay grounded in lore. Written against Convai's own Unreal Engine plugin documentation, which credits it with a Long-term Memory feature (per-player recall via Speaker IDs), Vision (streamed scene frames so the character perceives what the player sees), Spatial Awareness, emotion-to-blendshape mapping, and Lip Sync for MetaHuman, ARKit, and CC4, across both Unreal and Unity. MistScale is not claimed to be the only one with memory; the differentiation drawn is depth: per-player trust, patience, and suspicion that drift over many sessions rather than a stored fact log, mood that moves gradually on a hostile-to-elated scale instead of resetting, personality traits that drift independently per relationship, and claim-level verification against memory, uploaded lore, or the character brief before a line ships, none of which is part of Convai's documented feature set. Evaluate on: relationship depth across sessions vs stored recall, gradual vs static mood/trait state, claim-checked grounding vs natural-sounding generation, and Unity, Unreal, Godot, or WebSocket integration - [MistScale vs World Forge: Runtime NPC Memory vs World-Building Pipeline](https://mistscale.com/compare/mistscale-vs-world-forge): Helps buyers decide whether they need a world-building pipeline that outputs lore and NPC assets, or a live NPC cognition layer that remembers players and evolves during play. World Forge is a multi-agent pipeline that runs inside an agentic VS Code extension and compiles a world seed into SillyTavern JSON: V3 character cards, a three-tier lorebook (world rules, per-character reference, per-arc beats), a chat completion preset, and audit reports, with NPC and scene state authored as lorebook entries and an optional companion SillyTavern fork and extension for runtime enhancements such as firing several lorebook entries per scene. MistScale does not generate lore, character cards, or presets; it is the runtime layer that gives NPCs per-player memory accumulated from what actually happened, per-player relationships, gradual one-step mood shifts, and claim checking against memory, uploaded lore, or the character brief, delivered into Unity or any engine that speaks WebSocket. The two are complementary: author the world in one, run the characters in the other - [MistScale vs LLM Long-Term Memory](https://mistscale.com/compare/mistscale-vs-llm-ltm): Compares the summarization-plus-knowledge-graph memory pattern with an NPC cognition layer. Deliberately written against the approach rather than one product, because "LLM-LTM" is not a single named tool: the pattern has several open-source implementations (Mem0, Zep, Letta, MemGPT, Cognee among them) and no canonical one, and the page says so and tells the reader to check the documentation of whichever they are evaluating. The approach genuinely wins on transcript compression, accurate fact recall for assistant-style apps, a queryable graph of entities and relations (which MistScale does not expose), self-hosting and model choice (MistScale is hosted and offers neither), and serving several products from one memory layer. Where it falls short for NPCs: a summary preserves what was said without creating a relationship that changes, a graph stores facts without producing mood drift or trust that moves, and retrieval is not verification, so an unsourced specific can still reach a player. The framing question is whether you are asking how to store what the user said (memory pipeline) or how to make a character remember you next week and react differently because of it (cognition layer), with the diagnostic that recall failures point at the memory layer while characters who remember correctly and still treat everyone identically point at everything above it. Closes on keeping both, since a memory layer serving other parts of a product does not conflict with a character runtime - [MistScale vs AWS Dynamic NPC Dialogue](https://mistscale.com/compare/mistscale-vs-aws-npc-dialogue): Helps studios choose between assembling NPC dialogue themselves on AWS and using a purpose-built cognition layer. Written from the published AWS Guidance and its sample repository rather than from a sales brief, which corrected two claims: the reference implementation targets Unreal Engine 5.4 and above with a MetaHuman sample project rather than Unity, and voice is included through Amazon Polly with viseme data driving lip sync. The guidance is genuinely strong on infrastructure ownership (CDK into your own AWS accounts, multi-account CI/CD, CloudWatch tracing, data staying inside your boundary), model choice across Bedrock foundation models, and a fine-tuning path through SageMaker with a human approving a tuned model into a registry before production. What it leaves to the studio is the cognition layer: durable per-player memory is not part of the documented architecture, there is no ready-made mood or relationship model, and grounding stops at retrieval with no documented verification pass over the generated answer, so a specific no source backs can still ship. Two practical notes from its own documentation: it is published for two US regions, and its cost estimate is dominated by the standing OpenSearch vector index, a fixed monthly cost even at low volume. MistScale's side is per-player memory distilled into compact records, per-player relationships, mood that moves one step at a time, personality drift per player, claim checking against memory, uploaded lore, or the character brief, and a WebSocket plus Unity integration with no architecture to stand up first. The two are complementary: the guidance generates dialogue, MistScale holds the character state - [MistScale vs Supermemory](https://mistscale.com/compare/mistscale-vs-supermemory): Comparison against general-purpose memory infrastructure for AI agents and apps. Written from Supermemory's own documentation and engineering writing rather than from the community complaint that graph memory is really just RAG, because the docs describe more than retrieval: a memory graph with document and memory nodes, typed relations (updates, extends, derives), container and space scoping for multi-tenant separation, connectors, hybrid search with reranking, self-hosting, intelligent decay so less relevant material fades while frequently accessed content stays sharp, recency and relevance bias, continuously rewritten summaries, and hierarchical hot and deep memory layers. The line drawn is scope, not quality: a memory layer records what is known, a character runtime changes how an NPC behaves toward one specific player. MistScale's side is per-player trust and patience, mood that moves one step at a time on accumulated pressure, per-player personality drift, claim verification against memory, uploaded lore, and the character brief, scene context (location, time, weather), WebSocket streaming, voice, and a Unity SDK. Says outright that Supermemory is the better choice for productivity apps, research assistants, company brains, coding agents, connector-heavy setups, self-hosting, and one memory layer serving several products, and closes on keeping both in different roles - [MistScale vs Claude Skills](https://mistscale.com/compare/mistscale-vs-claude-skills): Comparison against worldbuilding and GM-style setups built with Anthropic's Agent Skills. States the category plainly first: Claude Skills is a packaging format (a SKILL.md folder plus optional scripts and resources, loaded on demand), the same mechanism behind Anthropic's PowerPoint, Excel, Word and PDF Skills, so worldbuilding and world-simulator Skills are community-authored rather than a product. Gives Claude Skills genuine credit for structured worldbuilding (geography, politics, factions, history, secrets), for prototyping a reactive sandbox conversationally, for costing nothing extra and taking minutes to try, and for real file-based continuity in Claude Code where a Skill has filesystem and network access. Says outright that MistScale does not generate worlds, write lore, or draft factions. The boundary drawn is per-player runtime state: Skills on the Claude API run sandboxed with no network access so they cannot call a game backend, continuity is one shared world state rather than a separate relationship per player, and gradual mood, per-player personality drift, and claim-level verification are not part of the documented feature set. MistScale is positioned as the WebSocket runtime layer with per-player memory, gradual mood, lore-grounded and claim-checked dialogue, token streaming, voice, and a Unity SDK. Closes on using both: author the world anywhere, hand the lore to the runtime layer - [MistScale vs Mantella](https://mistscale.com/compare/mistscale-vs-mantella): Comparison against the Skyrim voice-chat mod, production NPC cognition vs conversation-only. Canonical page for the shorter /blog/mistscale-vs-mantella post - [MistScale vs Character.AI](https://mistscale.com/compare/mistscale-vs-character-ai): Helps game teams decide whether they need a consumer-style roleplay chatbot or an infrastructure-grade NPC layer with memory, mood drift, and per-player relationships. Character.AI is the better pick for a ready-made general-purpose roleplay companion. MistScale is the better pick for games and persistent worlds where NPCs must remember returning players across sessions, evolve emotionally through gradual mood drift, and stay grounded in lore through claim-level verification. Evaluate on: session persistence across days or weeks, relationship depth (trust, mood, personality shifts per player), world grounding against lore or authored canon, and Unity or WebSocket integration - [MistScale vs Jenova Roleplay Game Master](https://mistscale.com/compare/mistscale-vs-jenova): Helps game teams decide between a standalone AI game master and an in-engine NPC cognition layer. Jenova's Roleplay Game Master is a persistent cross-session memory mode inside Jenova's general-purpose multi-model AI assistant app (web, iOS, Android), with mid-session switching between models such as GPT-5.4, Claude Opus, and Gemini; it is a consumer app with no documented Unity, Unreal, or Godot SDK, and continuity lives inside its own chat interface rather than as per-player state a game can read or write. MistScale is a purpose-built cognitive layer for game NPCs: per-player memory atoms for names, promises, and betrayals, mood that moves gradually on a hostile-to-elated scale instead of resetting, personality traits that drift independently per player, and claim verification against memory, uploaded lore, or the character brief before dialogue ships, delivered into Unity, Unreal, Godot, or any engine that speaks WebSocket. Frames the decision as an AI-led story app versus NPCs that must stay consistent inside a shipped game, so the branch taken in session five still matters in session fifty - [MistScale vs Lagoon AI](https://mistscale.com/compare/mistscale-vs-lagoon-ai): Helps game teams decide between an embedded NPC cognitive layer and a full AI tabletop RPG platform. Lagoon AI describes itself as a persistent AI-powered fantasy tabletop platform for solo and multiplayer campaigns, with social profiles, inventory, a shop, and account-to-account trading, played directly inside its own app rather than embedded via a game-engine SDK. MistScale is a WebSocket-based NPC intelligence layer with a Unity SDK and engine-agnostic integration for Unreal and Godot, built for NPCs that remember specific players across sessions, drift in mood and personality per relationship instead of resetting, and have every claim checked against memory, lore docs, or the character brief. Frames the decision as adopting a separate AI-run game platform versus embedding character intelligence inside a game and content pipeline the studio already owns - [MistScale vs AI RPG Platforms That Only Add Narration](https://mistscale.com/compare/mistscale-vs-ai-rpg-platforms): Compares MistScale against the broader category of AI RPG platforms that add narration on top of gameplay rather than a single named product (named platforms like Jenova and Lagoon AI have their own dedicated comparison pages, linked from this one). Argues that narration alone reads as a dialogue tree with a better voice unless it is backed by persistent per-player memory, gradual mood drift, and claims checked against lore before they ship. MistScale is positioned as a cognition layer that plugs into an existing game engine over a single WebSocket (Unity, Unreal, Godot, Web SDKs, REST) so the engine keeps owning mechanics, quests, and progression, versus broader AI RPG stacks that try to own the whole game. Evaluate on: memory across sessions vs within one conversation, per-relationship personality drift vs a single global personality, and claim verification against memory and lore vs free hallucination - [MistScale vs DIY Local-Model NPC Runtime](https://mistscale.com/compare/mistscale-vs-diy-local-npc-runtime): Compares MistScale against a self-built local-model NPC stack (LM Studio or Ollama plus a hand-built memory and orchestration layer), an approach rather than one named product. Gives the DIY path genuine credit for offline/air-gapped execution, total model freedom for modding and experimentation, and no dependency on a hosted service. States plainly what a local model alone does not give you: persistent per-player memory, relationship and mood tracking, and lore grounding to stop confident hallucinations from becoming canon, all of which becomes the team's own engineering and maintenance burden to build. MistScale's side is per-player memory across sessions, mood that shifts gradually instead of snapping, lore-grounded claim checking before dialogue ships, and one-time integration via WebSocket or Unity/Unreal/Godot/REST instead of a custom orchestration layer. Frames the decision as offline control and engineering bandwidth (DIY) versus shipping speed and built-in cognition (MistScale), and says outright that DIY is the right call for fully offline or air-gapped requirements - [MistScale vs mem0](https://mistscale.com/compare/mistscale-vs-mem0): Comparison against mem0, a managed long-term memory API for AI agents, chatbots, and apps. Written from mem0's own documentation: memory scoped by user, agent, app, and run; graph-based extraction that distills conversations into facts and links entities; relevance-ranked retrieval; and a managed platform option with audit logs and workspace governance so teams do not have to run their own vector store. Gives mem0 genuine credit as a strong choice for generic cross-session recall in chatbots and agent workflows. States plainly what it does not document: no modeling of NPC-specific relationship state (trust, patience, suspicion, greed), no mood drift, and no lore or spatial grounding for dialogue that reacts to location, weather, or time of day. MistScale's side is persistent per-player memory, mood that moves gradually on a hostile-to-elated scale, personality traits that drift independently per relationship, and claim verification against memory, uploaded lore, or the character brief before a line ships, delivered into Unity, Unreal, Godot, Web SDK, or REST over a single WebSocket connection. Frames the decision as generic agent memory versus a believable, game-native NPC character system, and cross-links to MistScale vs Supermemory for the same category of comparison - [Introduction](https://mistscale.com/docs/introduction) - [Quick Start](https://mistscale.com/docs/quick-start) - [Unreal Overview](https://mistscale.com/docs/unreal) - [Unreal Installation & Setup](https://mistscale.com/docs/unreal-installation) - [Unreal: Your First NPC](https://mistscale.com/docs/unreal-first-npc) - [Unreal: Voice](https://mistscale.com/docs/unreal-voice) - [Unreal: Spatial Context](https://mistscale.com/docs/unreal-spatial-context) - [Unity Overview](https://mistscale.com/docs/unity) - [Unity Installation & Login](https://mistscale.com/docs/unity-installation) - [Unity: Your First NPC](https://mistscale.com/docs/unity-first-npc) - [Unity: Voice Conversations](https://mistscale.com/docs/unity-voice) - [Unity: Spatial Context](https://mistscale.com/docs/unity-spatial-context) - [Godot Overview](https://mistscale.com/docs/godot) - [Godot Installation & Setup](https://mistscale.com/docs/godot-installation) - [Godot: Your First NPC](https://mistscale.com/docs/godot-first-npc) - [Godot: Voice](https://mistscale.com/docs/godot-voice) - [Godot: Spatial Context](https://mistscale.com/docs/godot-spatial-context) - [Web SDK Overview](https://mistscale.com/docs/web-sdk) - [Web SDK Installation & Setup](https://mistscale.com/docs/web-sdk-installation) - [Web SDK: Your First NPC](https://mistscale.com/docs/web-sdk-first-npc) - [Web SDK: Voice](https://mistscale.com/docs/web-sdk-voice) - [Web SDK: Spatial Context](https://mistscale.com/docs/web-sdk-spatial-context) - [REST & WebSocket API](https://mistscale.com/docs/rest-api) - [NPCs & Neural Identity](https://mistscale.com/docs/npcs-and-neural-identity) - [Emotion & Mood](https://mistscale.com/docs/emotion-and-mood) - [Relationships](https://mistscale.com/docs/relationships) - [Information Sharing](https://mistscale.com/docs/information-sharing) - [Knowledge Base (RAG)](https://mistscale.com/docs/knowledge-base) - [Spatial Context](https://mistscale.com/docs/spatial-context) - [MNEMIS Memory](https://mistscale.com/docs/mnemis-memory) - [World Knowledge Overview](https://mistscale.com/docs/world-knowledge) - [World Knowledge Documents](https://mistscale.com/docs/world-knowledge-documents) - [World Knowledge Audiences](https://mistscale.com/docs/world-knowledge-audiences) - [Creating an NPC](https://mistscale.com/docs/creating-an-npc) - [Editing & Deleting](https://mistscale.com/docs/editing-and-deleting) - [Knowledge Files](https://mistscale.com/docs/knowledge-files) - [Using the Playground](https://mistscale.com/docs/using-the-playground) - [Project Settings](https://mistscale.com/docs/project-settings) - [Invites & Team](https://mistscale.com/docs/invites-and-team) - [Account Settings](https://mistscale.com/docs/account-settings) - [Usage & Billing](https://mistscale.com/docs/usage-and-billing) - [Limits](https://mistscale.com/docs/limits) - [Changelog (docs pointer)](https://mistscale.com/docs/changelog): Short pointer page linking to the main Changelog - [Terms of Service](https://mistscale.com/terms): Terms governing use of the MistScale platform, API, and dashboard - [Privacy Policy](https://mistscale.com/privacy): What MistScale collects, why, and how it is used, shared, and protected - [Refund Policy](https://mistscale.com/refunds): How plan-change proration, cancellations, and refund requests are handled for paid plans billed through Paddle ## FAQ **Q: What is MistScale?** A: MistScale is an AI NPC platform that gives game characters persistent memory, evolving emotion, mood, and relationships, so NPCs remember, feel, learn, and grow across player sessions. **Q: Is MistScale an alternative to Inworld or Convai?** A: Yes. MistScale is an alternative AI NPC platform with deeper cognitive layers, particularly MNEMIS memory, two-layer emotion/mood, per-player relationships, and built-in hallucination prevention. **Q: Does MistScale work with Unity?** A: Yes. The Unity SDK ships a MistscaleNPC component with text chat, voice, and spatial context. Any other engine can integrate over the same WebSocket protocol. **Q: Does MistScale work in the browser, for web-based games or chat UIs?** A: Yes. The `@mistscale/web-sdk` npm package is a TypeScript-first client for browser games, interactive fiction, and chat-style experiences, with the same streaming text chat, voice, and spatial context surface as the Unity SDK, over the same WebSocket protocol. **Q: Does MistScale work with Godot or Unreal Engine?** A: Yes. `@mistscale/godot-sdk` is a Godot 4.3+ addon (GDScript, signals) and `@mistscale/unreal-sdk` is a UE5 plugin (C++ and Blueprint, via a GameInstanceSubsystem), both with the same text chat, voice, and spatial context surface as the Unity SDK, over the same REST + WebSocket protocol. Any other engine can integrate directly over that same protocol. **Q: Do MistScale NPCs keep their memory when a Unity scene unloads?** A: Yes. Memory, mood, and per-player relationships are held server side, not in the scene, so unloading a level does not touch them. When the scene reloads and the component reconnects, the NPC resumes where it left off. MistScale does not simulate NPCs in the background: a character does not act or change its mind while nobody is talking to it, it just picks up mid-relationship. You still need your own save system for doors, coins, inventory, and quest flags. **Q: How do MistScale NPCs remember conversations?** A: Through MNEMIS, MistScale's memory system. It does not store transcripts. It extracts meaningful facts and emotional signals after each interaction, consolidates them into mood shifts and updated relationships, and retrieves the right past memory at the right moment. **Q: Can NPCs treat different players differently?** A: Yes. Every NPC keeps a private record per player. Trust, patience, mood, emotion, and even personality traits are tracked independently. The same character can be warm with one player and hostile to another with no extra setup. **Q: How does MistScale prevent NPC hallucinations?** A: Through grounding. Grounding checks specific claims against MNEMIS memory, uploaded knowledge files, and the character brief. When a claim cannot be sourced, the NPC rewrites it or uses calibrated uncertainty instead of inventing a detail. **Q: Why do large procedural worlds feel empty?** A: Because scale produces variation, not consequence. Players notice whether NPCs remember them, treat them differently from other players, and stay consistent with the world's lore. Adding an LLM to a character does not fix it on its own: reactive dialogue with no state behind it is still a reset loop with better prose. Memory, per-player relationship state, gradual mood, and lore-grounded dialogue are what make a world feel inhabited. **Q: What is World Knowledge?** A: A project-wide library of shared lore. Upload documents once at the project level and control which NPCs have access: everyone, named audiences, or individual characters, with draft and publish staging. Published documents are used in the conversations of the NPCs allowed to read them. **Q: Can MistScale NPCs run on the player's device?** A: Yes, in Unity. Choose Local when you create a project, then run Arc, MistScale's own fine-tuned model, or your own GGUF in one of five families (Qwen 3, Llama 3, Mistral, Gemma 4, Phi-4). MistScale still builds each prompt; the model on the device writes the reply. Local replies have no grounding check or voice, and the Playground works with cloud projects only. **Q: Is MistScale available now?** A: Yes. MistScale is publicly available. Sign up free at https://mistscale.com/signup, no credit card required. **Q: How much does MistScale cost?** A: The Free plan is $0 forever (up to 3 NPCs, 150 credits per month). Hobby is $10/month (up to 5 NPCs, 2,500 credits). Standard is $30/month (up to 15 NPCs, 9,000 credits). Enterprise is coming soon. Details at https://mistscale.com/pricing. **Q: How is MNEMIS different from regular RAG?** A: RAG retrieves chunks from documents. MNEMIS extracts meaning from live conversations, consolidates emotional signals into mood shifts, and tracks per-player relationship state. It is a full memory and emotion architecture, not just retrieval. ## Contact - X (Twitter): https://x.com/mistscaleAI - LinkedIn: https://www.linkedin.com/company/mistscale/ - Discord: https://discord.gg/9Xtm9KUw5q © 2026 MistScale Inc.