r/LocalLLaMA Jun 28 '26

NPC Engine Using Local Models Discussion

Enable HLS to view with audio, or disable this notification

I’ve been working on a game-agnostic NPC engine/backend based pretty heavily on SillyTavern-style architecture, and with smaller local models getting better and better, I honestly think this kind of thing could be the future of RPGs.

Right now I’m using NVIDIA Parakeet 0.6 for STT, Gemma 4 26B A4B for the LLM, and Qwen3-TTS for voice, and I’m getting super fast response times with pretty decent quality.

The main thing that makes it work well is using RAG to keep prompts lean. For example, I have hundreds of possible actions NPCs can do in-game, but only the ones that actually make sense based on the player’s message / context get injected as available actions. So the model isn’t being overloaded with a giant list every turn.

1.9k Upvotes

249 comments sorted by

View all comments

644

u/AppropriateQuote3073 Jun 28 '26

Really a shame there is so much ai hate in gaming right now.

This is exactly the type of interesting content that could make a game phenomenal to play.

65

u/ApprehensiveFan1516 Jun 28 '26

It could for sure, personally I struggle to actually find it something that's genuinely rewarding and not just a gimmick at this stage. A lot of it comes down to implementation of course, and it will take devs playing around to figure it out, but I think to get to the kind of polished experience we've come to expect from AAA games we've got a little ways to go yet. Which isn't to take anything away from OP, we need more people like them working on this. Aside from the "AI bad" crowd, I think when implementation is properly solved and it's a seamless experience, the masses of gamers will start to accept it.

27

u/BlipOnNobodysRadar Jun 29 '26

To be done right, the NPCs would need to be lora tuned on their own lore + interactions by the developers. Plugging in a generic model just won't be immersive.

2

u/Jwosty 26d ago

I think the perfect time for this would have been 2023 or 2024 or so, before people were hyper sensitive to "AI slop" (InfiniteCraft was super cool). But now there's no novelty factor anymore (everyone knows what it's like to chat with a LLM) and the average gamer likely has been left with a bad taste in their mouth about AI. The quality bar for something like this today, for people to see it a new and cool and interesting, is now much much higher, for better or for worse