The document discusses the development of a game master agent for computer role-playing games (RPGs) using a Belief-Desire-Intention (BDI) framework to enhance storytelling flexibility. The prototype was implemented in Neverwinter Nights and evaluated based on user experience, showing that players had a better gaming experience when playing with the agent. The approach aims to improve RPG flexibility and decrease game development time.