I wonder how could you keep the LLM from going bonkers as the game progresses? I have a feeling it's possibly better to re-create the prompts after some time, and have the LLM work more like one of those "reasoning models" with the game as something it can interact with.

Otherwise you run into the risk of "TOTAL NUCLEAR FINANCIAL LEGAL DESTRUCTION" ;)

This is something we've been working on and are planning to release a "decision" update to the game which should allow for multi-step, configurable options to choose if the LLM actually gets to contribute to the current world / chat. There's a lot of trial and error involved and we're all ears, if you have ideas we'd love to hear them! We actively monitor our discord https://discord.com/invite/theinterface

Probably still performs more rationally than the lategame AI in Civ.