Best AI tools / AI NPC tools for games

AI NPC tools for games in 2026

AI NPCs answer the player in their own words instead of from a fixed dialogue tree. Hosted platforms handle the model, memory and voice for you; local plugins run a small model inside the game so there is no server bill.

Keep each NPC on a short leash: a clear role, what it knows, and what it must never say.

15 tools14 free or open sourceChecked Dec 5, 2026
Where AI NPC tools fit in making a game
  1. 1Character sheetRole, knowledge, limits
  2. 2ModelHosted or local
  3. 3MemoryWhat it remembers
  4. 4VoiceOptional TTS
What they cost15 tools
  • Open source 14
  • Free tier 1

Top picks

  1. 1
    InworldVoice + dialogue

    Voice and character AI for talking NPCs.

    Freemium, from $25/mo
  2. 2
    OllamaLocal LLM

    Run open LLMs locally with one command — easy NPC brain for prototypes.

    Open source★ 189.2k
  3. 3
    llama.cppLocal LLM

    The C/C++ engine behind most local LLM runtimes.

    Open source★ 137.4k
  4. 4
    llamafileLocal LLM

    Ship an LLM as a single executable file.

    Open source★ 26.8k
  5. 5
    LLMUnityLocal LLM

    Run LLM characters inside Unity, on the player's machine.

    Open source★ 1.7k
  6. 6
    NobodyWhoLocal LLM

    Local LLM inference for Godot and Unity games.

    Open source★ 1.7k

Every AI NPC tool compared

ToolTypePriceExportsLicense / starsAPI / MCP
InworldVoice + dialogueFreemium, from $25/moNot listedNot open sourceYes / No
OllamaLocal LLMFree (open source)Not listedMIT, ★ 189.2kNo / No
llama.cppLocal LLMFree (open source)Not listedMIT, ★ 137.4kNo / No
llamafileLocal LLMFree (open source)Not listedsee repo, ★ 26.8kNo / No
LLMUnityLocal LLMFree (open source)Not listedApache-2.0, ★ 1.7kNo / No
NobodyWhoLocal LLMFree (open source)Not listedEUPL-1.2, ★ 1.7kNo / No
Interactive-LLM-Powered-NPCsDialogueFree (open source)Not listedMIT, ★ 742No / No
MantellaModsFree (open source)Not listedAGPL-3.0, ★ 430No / No
GigaxDialogueFree (open source)Not listedsee repo, ★ 346No / No
Godot LLMLocal LLMFree (open source)Not listedMIT, ★ 252No / No
NPCTalkVoiceFree (open source)Not listedMIT, ★ 235No / No
NarrativeEngine-PDialogueFree (open source)Not listedMIT, ★ 135No / No
ChasmDialogueFree (open source)Not listedsee repo, ★ 88No / No
OpenGameAgentDialogueFree (open source)Not listedMIT, ★ 62No / No
MindcraftDialogueFree (open source)Not listedMIT, ★ 47No / No
Prices from each tool's pricing page; stars and licenses from GitHub. Open a tool for its source link and check date.
GitHub starsOpen-source tools on this page, when last checked
Ollama
189.2k
llama.cpp
137.4k

Questions

Can NPCs use AI in games?

Yes. NPCs can generate dialogue with a language model, either through a hosted service or a small local model bundled with the game.

Do AI NPCs cost money to run?

Hosted platforms charge per use. Local models cost nothing per conversation but need a capable player machine.

Related guides