#21 · Primary category: Game AI & Behavior Trees
Interactive-LLM-Powered-NPCs
Interactive LLM Powered NPCs, is an open-source project that completely transforms your interaction with non-player characters (NPCs) in any game! 🎮🤖🚀
Project last updated:03/22/24
GitHub Stars
719
Forks
76
Contributors
3
License
MIT
Why we included this project
Open-world games rarely let you talk to the random guard or shopkeeper, but this project shows how to change that. It takes your microphone input, runs it through speech-to-text, feeds the transcript along with character context to a language model, and then renders a lip-synced facial animation that gets overlaid onto the NPC's face in the running game. The system identifies which character you're addressing, gives each one a generated personality, and uses vector stores plus pre-conversation files so characters keep consistent memory and distinct speaking styles. It also reads your webcam expressions to adjust responses, and it does all this without modifying the game's source code by replacing the displayed face pixels. It's a research-style prototype rather than a polished product, but for developers experimenting with LLM-driven in-game dialogue and real-time speech-to-speech pipelines, it's a useful reference.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
recastnavigation
Industry-standard navigation-mesh toolset for games
mage
XMage - Magic Another Game Engine
lc0
Open source neural network chess engine with GPU acceleration and broad hardware support.
beehave
🐝 behavior tree AI for Godot Engine
forge
An unofficial rules engine for the world's greatest card game.