WebLLM extension

Over a year ago I relased PuterJS extension which can add LLM (like ChatGPT) chat(s) to your games. I made a game around it (Zombie Next Door), but it required that everyone who wants to play has to log in to Puter which caused a lot of people not to even try playing.

Recently I found out WebLLM and the idea was born: Embed WebLLM into GDevelop games! No 3rd party logins, no AI subscriptions, no data collection by big AI corporations - everything happens in your game client (browser). And it’s completely free.

It’s not good as ChatGPT/Claude/Gemini and other top tier models, but I think for the price you’re paying for using the model ($0) - it’s more than good! It also support multiple models, I’ve put a 1B parameter model as a default because of the size - to load faster (the model is around 600 MB), but sometimes it’s dumb and hallucinates. Using a 8B parameter models (~4GB in size) is better but also requires your players to have better GPU cards.

Demo and download: https://avram.itch.io/webllm-gdevelop-extension

1 Like