
Hugging Face Blog
· 2 min read
Introducing NPC-Playground, a 3D playground to interact with LLM-powered NPCs
AI-powered NPCs (Non-Playable Characters) are one of the most important breakthroughs brought about by the use of LLMs in games.
LLMs, or Large Language Models, make it possible to design "intelligent" in-game characters that can engage in realistic conversations with the player, perform complex actions and follow instructions, dramatically enhancing the player's experience. AI-powered NPCs represent a huge advancement vs rule-based and heuristics systems.
Today, we are excited to introduce NPC-Playground, a demo created by Cubzh and Gigax where you can interact with LLM-powered NPCs and see for yourself what the future holds!
You can play with the demo directly on your browser 👉 here
In this 3D demo, you can interact with the NPCs and teach them new skills with just a few lines of Lua scripting!
The Tech Stack
To create this, the teams used three main tools:
Cubzh: the cross-platform UGC (User Generated Content) game engine.
Gigax: the engine for smart NPCs.
Hugging Face Spaces: the most convenient online environment to host and iterate on game concepts in an open-source fashion.
What is Cubzh?
Cubzh is a cross-platform UGC game engine, that aims to provide an open-source alternative to Roblox.
It offers a rich gaming environment where users can create their own game experiences and play with friends.
In Cubzh, you can:
Create your own world items and avatars.
Build fast, using community-made voxel items (+25K so far in the library) and open-source Lua modules.
Code games using a simple yet powerful Lua scripting API.
Cubzh is in public Alpha. You can download and play Cubzh for free on Desktop via Steam, Epic Game Store, or on Mobile via Apple's App Store, Google Play Store or even play directly from your browser.
In this demo, Cubzh serves as the game engine running directly within a Hugging Face Space. You can easily clone it to experiment with custom scripts and NPC personas!
What is Gigax?
Gigax is the platform game developers use to run LLM-powered NPCs at scale.
--
Original source
This story was published by Hugging Face Blog. SyncAI.news shows a preview; the complete article is on the publisher's site.
Read the full story on huggingface.co


