Home › AI NPC Dialogue Tools for Games

AI NPC Dialogue Tools for Games

There are two ways to use AI for NPC dialogue: generate and voice lines ahead of time, or let characters talk to players live. They need very different tools and budgets.

Last updated:

Free download · one page + PDF · updated weekly, current edition November 23, 2026

🎁 Free: The AI Game Dev Stack 2026

The best AI tool for each job in a solo or indie game (3D, sprites and pixel art, animation, audio, NPCs), MCP setups for Unity, Unreal, Godot and Roblox, and which free plans you can actually ship with.

Yours free when you join the VibeStack Weekly: new AI game-dev tools and releases every Monday, 5-minute read. Unsubscribe anytime.

As featured in Gamedev.js Weekly #672 (our Gamepad API guide).

Option 1: pre-written, AI-assisted dialogue

Use an LLM (Anthropic API, OpenAI API, or a local model with Ollama) to draft barks, branching conversations and item descriptions, edit them yourself, then voice them with ElevenLabs (try ElevenLabs ↗*). It's cheap, predictable and safe to ship, because players only see lines you approved.

Option 2: real-time conversational NPCs

Convai connects characters to speech recognition, an LLM, text to speech, memory, lip sync and in-scene actions. It has a Unity SDK and an open-source Unreal plugin, and its free plan is meant for testing, not shipping. Inworld AI offers low-latency voice models and LLMs for interactive characters.

Want live NPCs without a per-token bill? Atelico AI Engine (Early Access since October 29, 2026) runs language models with structured output, text to speech, speech to text, lip sync and guardrails on the player's own device, with native Godot, Unity and Unreal integrations. Early Access spots are limited and pricing isn't published yet, and we haven't tested it. On-device models also cut out the network round trip, but they run on the player's hardware, so test on your minimum-spec machine.

New: Tryll Engine free open beta (November 10, 2026)

Tryll Engine went into a free open beta on November 10, 2026, after a closed beta with 21 studios. It's middleware for Unity and Unreal Engine 5: the language model, speech-to-text and text-to-speech all run on the player's GPU, so there are no servers to host and no per-token fees. You download an open model into your project, connect your lore, give the character a role and a list of allowed actions, and test the first conversation in the editor's Dialog Tester. Version 0.10.0 is the first release Tryll says you can ship to players.

WhatPer Tryll's download page and docs (checked November 10, 2026)
EnginesUnity 6.3 or later (installed by Git URL in the Package Manager), or Unreal Engine 5.7 or 5.8 (prebuilt plugin zip, works in Blueprint-only projects; packaging needs Visual Studio 2022 with the C++ game workload). The UE 5.9 MegaJam Preview isn't listed.
Your dev PCWindows 10 or 11, 64-bit; NVIDIA, AMD or Intel GPU with 8 GB of VRAM recommended; 16 GB RAM; 10-20 GB of disk for models
PlayersWindows PC only for now; console and mobile are on the roadmap. Tryll says one talking agent fits in 1.6 GB of video memory with speech on the CPU, and bigger models cost more (2.9 GB for Qwen 3.5 4B, 5.7 GB for Gemma 4 E4B, its figures)
PriceFree to develop and ship until a game passes $200,000 in lifetime gross revenue, then a 1% royalty. No seat licences, no per-token fees

What's in it: characters that answer from your lore and quest data, memory that summarizes long conversations and saves with your game, in-world actions (open a door, hand out a quest, trade) that your game approves before they happen, scoring of what the player says (for example charm or pushiness) that your game turns into mechanics, voices per mood, and a visual graph editor for the character's logic. For guardrails, a RegexGuardrail node checks the player's line against your patterns and sends matches to a CannedResponse scripted reply without running the model. The Dialog Lab replays a scripted conversation across prompts, models and seeds, and can run headless in CI and fail the build below a pass rate. Both plugins ship an AGENTS.md you can hand to Claude Code, Cursor or Codex before it writes Tryll code.

Read the licence before you ship (Tryll Engine License Agreement, last updated November 6, 2026):

Tryll or Atelico? Both run on the player's machine. Tryll is a free download with published royalty terms but ships for Windows only; Atelico lists Godot plus Windows, macOS, iOS and Linux, but it's Early Access with limited spots and no published price. If you're on Godot, Atelico is the only one of the two with a Godot integration. We haven't tested either. If you plan to ship on Steam, Tryll's dialogue still counts as Live-Generated AI content, so read our Steam guardrails guide too. Want to hear it before installing? Tryll's free 20-minute showcase, Tryll Colony, is on itch.io.

Sources (checked November 10, 2026): tryllengine.com (pricing), download page and system requirements, features, Tryll docs v0.10 (First Inference in Unity and in Unreal, Use Canned Responses and Guardrails, v0.10.0 release notes, Tryll Engine License Agreement), and Tryll's November 10, 2026 press release on Games Press. Performance and memory figures are Tryll's own.

Building in Fortnite? UEFN has its own LLM conversations feature for talking NPCs, publishable since July 30, 2026: you write a persona in the Prompt Editor, pick a voice (or start from one of the Fortnite characters), and use Verse structured output to turn what players say into gameplay. Our UEFN conversations guide walks through the setup, the Verse API and Developer Rule 1.22. Epic's 2026 Epic AI MegaJam also has a $2,500 Walkie-Talkie prize for the best narrative-driven UEFN game built with it; see our Epic AI MegaJam 2026 guide.

Before you go live

Voicing lines? See best AI voice generators for games.

Get the Starter Stack ($12) Get the free weekly digest

*Some links on this page are affiliate links: if you sign up through them we may earn a commission at no extra cost to you. It never affects our picks. Disclosure

Our picks (8)

freemium

Convai

Game Dev Tools

Real-time conversational AI characters with voice, memory, actions and lip sync. Unity SDK and open-source Unreal plugin; free plan is for testing.

#npc#characters#unity#unreal
check site

Inworld AI

Game Dev Tools

Realtime voice (TTS/STT) models and LLMs for interactive apps, including game characters.

#npc#characters
check site

Atelico AI Engine

Game Dev Tools

On-device AI engine for games (Early Access opened Oct 29, 2026): language models with structured output, image generation, text-to-speech and speech-to-text, lip-sync, embeddings, guardrails and an NPC behavior system run in-process with native Godot, Unity and Unreal integrations, on Windows, macOS, iOS and Linux, so there's no per-token cost. Early Access spots are limited (request access); pricing isn't published.

#npc#on-device#godot#unity#unreal
free

Tryll Engine

Game Dev Tools

On-device AI middleware for game characters (free open beta since November 10, 2026): open language models, speech-to-text and text-to-speech run on the player's GPU inside a Unity (6.3+) or Unreal Engine (5.7/5.8) game, with lore and knowledge bases, memory, in-world actions your game approves, regex guardrails with canned replies, and an in-editor Dialog Tester and Dialog Lab. Windows PC only for now. Free to develop and ship until a game passes $200,000 in lifetime gross revenue, then a 1% royalty on all of that game's gross revenue; you must file a free Release Form before launch. We haven't tested it.

#npc#on-device#unity#unreal#voice
freemium

ElevenLabs

Audio, Music & Voice

Realistic AI voices, voice cloning, sound effects and music (Eleven Music). Free plan is non-commercial with attribution.

#voice#sfx#music

OpenAI API

LLM APIs & Models

API access to OpenAI's GPT models.

#api

Anthropic API

LLM APIs & Models

API access to Claude models.

#api
free

Ollama

LLM APIs & Models

Run open models locally on your machine.

#local#open-source

+ Your tool here

Reach builders, vibe coders & indie game devs. Featured listings from $49/mo.

Advertise →

Try: ElevenLabs ↗*

🧰 The Vibe Coder's Starter Stack: AI rules files, a prompt library and a ship-it checklist. $12.
Get the pack

🎁 NPCs talking? Get the rest of the stack free

The AI Game Dev Stack 2026 covers on-device NPCs (Tryll Engine is free until a game passes $200,000 lifetime gross), what Steam wants for live-generated content, and our free LLM NPC guardrails test sheet, then picks one AI tool each for 3D, sprites, animation, audio and coding.

Free when you join the VibeStack Weekly: new AI game-dev tools every Monday, 5-minute read. Unsubscribe anytime.

FAQ

Is Tryll Engine free?

Yes, to develop with and to ship until a game passes $200,000 in lifetime gross revenue. After that Tryll takes a 1% royalty on all of that game's gross revenue, counted from its first release. You must file a free Release Form before launch (releasing without it raises the rate to 2% for that period), and report the game's revenue once a year until it passes the threshold.

Can I run AI NPCs on the player's PC with no server?

Yes. Tryll Engine (free open beta since November 10, 2026, Unity 6.3+ and Unreal Engine 5.7/5.8, Windows only for now) and Atelico AI Engine (Early Access) both run the language model and voice on the player's own hardware, so there's no per-token bill. Test on your minimum-spec PC: Tryll recommends 8 GB of VRAM for development and says one talking agent needs about 1.6 GB of video memory.

Can AI make NPCs that talk to players?

Yes. Platforms like Convai and Inworld connect speech recognition, an LLM and text to speech so characters can respond to players in real time.

Is Convai free?

Convai has a free plan intended for testing; shipping a game needs a paid plan. Check convai.com/pricing for current limits.

What's the cheapest way to use AI for game dialogue?

Generate and edit lines ahead of time with an LLM, then voice them with ElevenLabs. You pay once at creation instead of per player conversation.

Free download · one page + PDF · updated weekly, current edition November 23, 2026

📬 Get the VibeStack Weekly + the free AI Game Dev Stack 2026

The best AI tool for each job in a solo or indie game (3D, sprites and pixel art, animation, audio, NPCs), MCP setups for Unity, Unreal, Godot and Roblox, and which free plans you can actually ship with.

Yours free when you join the VibeStack Weekly: new AI game-dev tools and releases every Monday, 5-minute read. Unsubscribe anytime.

As featured in Gamedev.js Weekly #672 (our Gamepad API guide).