Juan Uys

LLM inside Godot game

2023-10-09

I put an LLM inside a Godot game.

(source code, Reddit thread)

As I don’t know SCons (the build tool used by Godot for GDExtension), I got a lot of help from ChatGPT with it. There are a few open issues to clean things up and add Windows support.

Here’s an experiment showing two agents having an eternal conversation. The use-case for this is to have NPCs do interesting background chatter in a game, like when entering a town square and seeing all these little interesting speech bubbles pop up above the heads of the NPCs.

Copyright © 2002-2024 Juan Uys, (source code for this website). Updates via RSS, Mastodon or newsletter 💌.