Saigely is a small project to simulate a table top role playing game using OpenAI and Replicate (stable diffusion xl). Charlie Holtz's Building AI Apps with Elixir talk and Shinstagram app source heavily inspired and helped me build Saigely. I loved the way he modeled a person as an agent that thinks and decides on its own, and that he used OpenAI to create prompts to feed into Stable Diffusion.
The idea is to model a role playing party. There's a Game Master (gm) who's in charge of the flow of the game, presenting new challenges and locations and non-player characters, and then taking the actions of the players into account. Players are characters with a name, a role in the party, goals and desires, and a vibe (loved this, so thanks Charlie).
The GM creates a post, representing the current context of the game, complete with image and the prompt used to make the image. Player characters comment on the post with their actions. Then the GM takes the context and player actions and decides what happens next. That could be the start or completion of a question, travel, an encounter, more exposition, or whatever else would make sense.
This cycle continues as long as the characters are "awake" or active. And that's pretty much a game. Of course there's more to a real game, but this is pretty good for a showing off the interactions.